Calculate Funding Fees
Calculate the fee for a funding method and amount. For withdrawals, the response also includes a unique
withdrawal_fee_token that pins the quoted fee rate for later use with
Create Funding Withdrawal. The token expires after
5 minutes and can be used on multiple withdrawals.
API Key Permissions Required: Funds permissions - Query
Authorizations
The "API-Key" header should contain your API key.
Authenticated requests should be signed with the "API-Sign" header, using a signature generated with your private key, nonce, encoded payload, and URI path.
The "API-Nonce" header should contain an always-increasing 64-bit integer, most commonly a Unix timestamp in milliseconds. Each request must use a nonce greater than the nonce of the previous request signed with the same API key.
Path Parameters
Funding method to calculate fees for.
^[0-9a-fA-F]{8}-?(?:[0-9a-fA-F]{4}-?){3}[0-9a-fA-F]{12}$Query Parameters
Amount to calculate fees for.
^[+-]?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))$Whether the amount includes the fee.
Token identifying a previously calculated withdrawal fee quote. Expires after 5 minutes and can be used on multiple withdrawals.
1For tokenized assets, controls whether amounts (eg fees, minimums, maximums) use rebased or base units.
rebased, base Account ID
Response
Calculated funding fee.
Amount including the fee.
Amount excluding the fee.
Components of the calculated fee.
Token identifying the calculated withdrawal fee quote for a later request. Expires after 5 minutes and can be used on multiple withdrawals.
1