API Reference

Get Chains

get
Responses
200Success
application/json
get
/chains
200Success

Get a Quote

post
Body
sourceChainIdstringRequired

Source chain ID, represents the blockchain network ID where the transaction originates

destChainIdstringRequired

Destination chain ID, represents the blockchain network ID where the transaction targets

sourceTokenstringRequired

Source token address, represents the token contract address where the transaction originates

destTokenstringRequired

Destination token address, represents the token contract address where the transaction targets

amountstringRequired

Transaction amount, represents the token quantity in string format

userAddressstringRequired

User wallet address, represents the blockchain address of the transaction initiator

targetRecipientstringRequired

Target recipient address, represents the blockchain address of the final transaction recipient

slippagenumberOptional

Slippage tolerance, represents the acceptable price fluctuation percentage for the user

channelstringOptional

Your dapp name or commission wallet address

Responses
200Success
application/json
post
/quote
200Success

Query Transaction

get
Path parameters
hashstringRequired

Transaction hash, represents the hash value of the transaction to be queried

Example: 0x791ff2e09d2190bd215e1e0160807e14979ded20de510a43f39640ee462155d9
Body
objectOptional
Responses
200Success
application/json
get
/transaction/{hash}
200Success

Query Transaction History

get
Path parameters
addressstringRequired
Responses
200Success
application/json
get
/transaction/address/{address}
200Success

Last updated

Was this helpful?