added
New endpoint to retrieve estimated network fees for Withdrawals
July 1st, 2022
Zero Hash New On-Chain Transaction Estimate Endpoint
Zero Hash has launched a new endpoint designed to provide an estimate for on-chain transactions. These transactions are deemed a 'withdrawal' by Zero Hash as the asset is leaving our ecosystem and transferred on the network. By integrating with this endpoint, you will be able to offer expanded functionality to your end customers such as displaying an estimated fee for sending assets to a non-custodian wallet.
Example Response
{
"message": {
"underlying": "BTC",
"quoted_currency": "USD",
"network_fee_asset": "BTC",
"network_fee_quantity": "0.000172825",
"total_notional": "3.3733791241663290125"
}
}
Query Parameters
Required
underlying
quoted_currency
Optional
amount
(The amount of the underlying currency),destination_address
(The receiving address for the withdrawal request),contract_call
(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.)
Please visit our API documentation to begin using this feature today!