Initiates an exchange transaction, including sender and receiver information, transaction status, quoted amounts, and token details. This information is useful for tracking and managing token exchange
Endpoint:POST/exchange
Request Body: A JSON object containing Exchangedetails.
Request Body Fields:
Field
Type
Description
amount
number
Amount to be exchanged (example:1)
from
string
Symbol of the input token
(example: ETH)
to
string
Symbol of the output token
(example: BNB)
receiverTag (optional)
string
Optional receiver tag (example: 123)
anonymous
boolean
Indicates if the transaction is anonymous (example: false)
addressTo
string
Destination address
walletId (optional)
string
User's wallet identifier
ip
string
User IP address. Used for fraud prevention only
userAgent
string
User userAgent browser string
timezone
string
User browser timezone
(example: UTC)
useXmr (optional)
string
Use XMR if it is true or if it is false use another token for the anonymous transaction for the quote or exchange.
Example Request:
POST/exchangeContent-Type: application/json{"amount":1,"from":"ETH","to":"BNB","receiverTag":"","addressTo":"0x000000000000000000000000000000000000dead","anonymous":false,"ip":"0.0.0.0","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64)","timezone":"UTC","useXmr":false}