Skip to main content

verifyPoolFundTx

@totemsdk/tx-builder


@totemsdk/tx-builder / verifyPoolFundTx

Function: verifyPoolFundTx()

verifyPoolFundTx(tx, proof, expectedPoolAddress?): PoolFundVerification

Verify a deep funding proof. expectedPoolAddress (the pool/channel script address) is required to prove the spend target — without it the proof only proves the LP signed some tx, which is why acceptance must pass it.

Parameters

tx

PoolFundTx

proof

DeepFundingProof

expectedPoolAddress?

string

Returns

PoolFundVerification