redeemOnAlgorand()

Creates a grouped transaction to receive tokens from the contract on Algorand

Method Parameters

client: Algodv2

Algodv2 from algosdk

tokenBridgeId: bigint

Algorand bridge contract id

bridgeId: bigint

Algorand core contract id

vaa: Uint8Array

Parsed signed VAA

senderAddr: string

Sender address

Returns

This method returns a Promise which resolves with a TransactionSignerPair[] object:

Success: Returns non-empty TransactionSignerPair[] object

Fail: Returns empty TransactionSignerPair[] object

Usage

Last updated