curl --request POST \
--url https://api.walletsuite.io/api/swaps/build \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"chain": "<string>",
"fromAddress": "<string>",
"quoteId": "<string>",
"nonce": 123,
"maxPriorityFeePerGasWei": 123,
"priorityFeeMultiplier": 123
}
'{
"ok": true,
"code": "<string>",
"message": "<string>",
"data": {
"chain": "<string>",
"from": "<string>",
"to": "<string>",
"valueWei": 123,
"data": "<string>",
"fee": {
"mode": "<string>",
"gasLimit": 123,
"maxPriorityFeePerGas": 123,
"maxFeePerGas": 123,
"gasPrice": 123
},
"chainId": 123,
"nonce": 123
}
}curl --request POST \
--url https://api.walletsuite.io/api/swaps/build \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"chain": "<string>",
"fromAddress": "<string>",
"quoteId": "<string>",
"nonce": 123,
"maxPriorityFeePerGasWei": 123,
"priorityFeeMultiplier": 123
}
'{
"ok": true,
"code": "<string>",
"message": "<string>",
"data": {
"chain": "<string>",
"from": "<string>",
"to": "<string>",
"valueWei": 123,
"data": "<string>",
"fee": {
"mode": "<string>",
"gasLimit": 123,
"maxPriorityFeePerGas": 123,
"maxFeePerGas": 123,
"gasPrice": 123
},
"chainId": 123,
"nonce": 123
}
}API key provided by WalletSuite team
Was this page helpful?