Body
application/json
Swap order request
Order type
Available options:
swap
Address to receive the destination tokens
Example:
"0x58241893EF1f86C9fBd8109Cd44Ea961fDb474e1"
Source chain ID
Example:
1
Destination chain ID
Example:
8453
Source token contract address
Example:
"0xA0b86a33E6441E8A91DEF8f5663ACb4C9B4a1234"
Destination token contract address
Example:
"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
Amount of source tokens to swap
Example:
"1000000"
Swap-specific payload
Swap metadata for display purposes
Optional partner identifier
Optional onramp configuration
Optional address of the order creator
Example:
"0x58241893EF1f86C9fBd8109Cd44Ea961fDb474e1"