Get network fee estimate
Returns a withdrawal estimation for a given asset.
Request
- Base URLhttps://api.cert.zerohash.com
- AuthAPI key in header X-SCX-API-KEY and API key in header X-SCX-PASSPHRASE
Query parameters
the underlying asset
the underlying asset for the quote
the quoted asset
the quoted asset for the quote
the amount of the underlying currency
The destination_address is the receiving address for the withdrawal request
In a future release, this field will denote if the destination address is a smart contract address. False is the only acceptable value for now.
Headers
HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.
Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.
Response
Successfully retrieved network fee estimate. including gas price, network fees, and quoted amounts.
Example response
{
"message": {
"underlying": "BTC",
"quoted_currency": "USD",
"network_fee_asset": "BTC",
"network_fee_quantity": "0.00012345",
"total_notional": "2.867469544894346440"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.