Swing Points Program is Live 🚀 Learn More →

Approve Token

get
/v0/transfer/approve

Approve a bridge's contract for a specific token.

projectId
string

Optioanl Project Identifier for Transaction

Example:
example-org
bridge
required

Bridge/Aggregator slug

fromAddress
string
required

User's wallet address from source chain.

fromChain
string
required

Source chain slug

Example:
ethereum
toChain
string
required

Dest chain slug. Only required in Across bridge. Optional in Nxtp bridge

Example:
ethereum
toTokenAddress
string
required

Token address on destination chain.

toTokenSymbol
string
required

Token symbol on the destination chain.

tokenAddress
string
required

Token address on source chain.

tokenAmount
string
required

Token amount in minimal divisible unit (Wei)

tokenSymbol
string
required

Token symbol on the source chain.

contractCall
boolean

Optionally set to true or false to identify contract call

Parameters
:
:
:
:
:
:
:
:
:
:
: