Quote withdrawable amount
appIdbearerAuthx-app-id<token>Your application ID. Required on app-tier and user-tier routes. Omitted on routes that authenticate with x-app-api-key only.
AuthorizationBearer <JWT>JWT access token from POST /auth/verify. Required with x-app-id on user routes. On the smart-route quote it is optional and turns a preview into an executable quote.
application/json- body
tokenSymbol*stringStable-coin symbol the withdrawal is denominated in.
"USDC""USDC.e""USDT"destinationChainId*integerChain ID where the recipient would receive funds.
1 <= valuesigningAddress?stringSelf-custody: quote the Max of this linked EVM wallet (the amount it can debit). Omit for managed custody.
42 <= length <= 42approveMode?stringSelf-custody only (ignored without signingAddress): what the signing wallet can sign. Send the same value to the quote, preview and withdraw. sponsored (default): the wallet can sign an EIP-7702 authorization and Calibur batch, so every source is available. user_broadcast: it cannot (e.g. MetaMask). The withdrawal still never asks it to send a transaction or hold gas; sources that would need a batch (an approve, a same-chain swap, or a same-chain transfer of anything but native Circle USDC; decided by token) are left out of Max, preview and selection. A same-chain native USDC transfer is then two EIP-3009 signatures (amount less the network fee, and the fee).
"sponsored""user_broadcast"200
application/json- response
tokenSymbol*stringStable-coin symbol the withdrawal is denominated in.
"USDC""USDC.e""USDT"destinationChainId*integerEcho of the request.
1 <= valuemaxDeliverableRaw*stringMost the user can receive on the destination, after estimated fees and excluding balances too small to move. Integer string in the destination token's atomic units (6 decimals, so 1000000 = 1 USDC; 18 decimals on BNB Chain).
^[0-9]+$rawBalanceRaw*stringTotal eligible balance before those deductions. Integer string in the destination token's atomic units (6 decimals, so 1000000 = 1 USDC; 18 decimals on BNB Chain).
^[0-9]+$decimals*integerDecimals of the destination token; scales the *Raw fields.
0 <= value <= 36curl -X POST 'https://api.t.sufwankhalid.com/execution/withdrawable/quote' \ -H 'Content-Type: application/json' \ -d '{ "tokenSymbol": "USDC", "destinationChainId": 8453}'{ "tokenSymbol": "USDC", "destinationChainId": 8453, "maxDeliverableRaw": "124880000", "rawBalanceRaw": "125000000", "decimals": 6}