Contract: Aptos PegBridge Burn Token Submission
Submit burn transaction from Aptos chain
Implementation
const burnTransactionPayload = {
arguments: [
amount, /// Burn token amount with decimal
destinationChainId.toString(), /// Destination chain id
Array.from(ethers.utils.arrayify(RECEIVER_ADDRESS)), /// Destination receiver address bytes
nonce /// timestamp
],
function: `0x${PEGGED_BRIDGE_CONTRACT_ADDRESS}::peg_bridge::burn`,
type: 'entry_function_payload',
type_arguments: [BURN_TOKEN_ADDRESS], /// burn token address
};Request Parameters
Name
Type
Description
TransferId Generation
Response
Last updated