Get withdrawal fee quote
Generates a fee quote for a hypothetical withdrawal from the specified vault. Callers supply the asset and amount they intend to withdraw and receive back a quote_id along with a set of fee tiers, each describing the fee charged at a given priority level. The returned quote_id can then be passed to POST /v0/insto/custody/vaults/{vault_id}/withdrawals together with the chosen fee tier to submit the actual withdrawal. Quotes are advisory and expire after a short window.
Rate limit: 200 requests per 30 seconds per IP.
Authorizations
Path Parameters
Vault identifier the withdrawal would be debited from. A V-prefixed 14-char base32 string with a final check character.
"VABCDEF234567A"
Body
Asset code to be withdrawn (e.g. BTC, ETH, USD). Determines the asset the fee tiers are denominated in.
"BTC"
Asset class of the withdrawn asset. Currently only currency is supported.
"currency"
Withdrawal amount as a fixed-precision decimal string. Must be positive.
"0.5"
Whether the fee should be deducted from amount (true) or charged on top (false). Defaults to false when omitted.
false
Optional name of a previously whitelisted destination address. When supplied, the quote is scoped to that address; some networks vary the fee by destination.
"My BTC Wallet"
Response
Fee quote generated successfully. The returned quote_id can be passed to POST /v0/insto/custody/vaults/{vault_id}/withdrawals to submit the withdrawal with one of the listed fee tiers.
Identifier of the generated fee quote. Pass this value as quote_id when submitting the matching withdrawal. A Q-prefixed 14-char base32 string.
"QABCDEF234567A"
Asset code the quote was generated for. Mirrors the asset supplied in the request.
"BTC"
Asset class of the quoted asset. Currently always currency.
"currency"
Available fee tiers for the quoted withdrawal. Each entry is a self-contained option the caller can pick when submitting the withdrawal.