Skip to main content

FeeProofVerifier

@totemsdk/liquidity-bond


@totemsdk/liquidity-bond / FeeProofVerifier

Interface: FeeProofVerifier

Verifier for a fee's earn-proof. "Verified" means a checked payment proof.

Methods​

verifyFeeProof()​

verifyFeeProof(params): Promise<{ reason?: string; valid: boolean; }>

Parameters​

params​
grossAmount​

bigint

poolId​

string

positionId​

string

proof​

unknown

source​

EarnableFeeSource

Returns​

Promise<{ reason?: string; valid: boolean; }>