Approve Token
get
/v0/transfer/approve
Approve a bridge's contract for a specific token.
projectId
stringOptioanl Project Identifier for Transaction
Example:
example-org
bridge
Bridge/Aggregator slug
fromAddress
stringUser's wallet address from source chain.
fromChain
stringSource chain slug
Example:
ethereum
toChain
stringDest chain slug. Only required in Across bridge. Optional in Nxtp bridge
Example:
ethereum
toTokenAddress
stringToken address on destination chain.
toTokenSymbol
stringToken symbol on the destination chain.
tokenAddress
stringToken address on source chain.
tokenAmount
stringToken amount in minimal divisible unit (Wei)
tokenSymbol
stringToken symbol on the source chain.
contractCall
booleanOptionally set to true or false to identify contract call
:::::::::::