cURL
curl --request POST \ --url https://api.walletsuite.io/api/fees/quote \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "chain": "<string>", "from": "<string>", "to": "<string>", "amountWei": 123, "fiat": "<string>", "tokenContract": "<string>", "memo": "<string>" } '
{ "ok": true, "code": "<string>", "message": "<string>", "data": { "chain": "<string>", "feeSymbol": "<string>", "feeAmount": 123, "fiatCurrency": "<string>", "fiatValue": 123 } }
Returns a fee estimate for a transaction. For token transfers pass tokenContract and amountWei as token smallest units.
API key provided by WalletSuite team
OK
Show child attributes
Was this page helpful?