Get Gas Fee Estimation
API users will not be aware of the transfer fees before starting the withdrawal process. This endpoint allows you to find out the estimated gas fees before you start a withdrawal. It requires specifying the blockchain network and ticker, which is useful for tokens that exist on multiple networks (e.g. USDC on Ethereum vs Solana).
Roles
The API key you use to access this endpoint can have the Trader, Fund Manager, Auditor, WealthManager or Administrator role assigned. See Roles for more information.
Request
- Base URLhttps://api.gemini.com
- URLhttps://api.gemini.com/v2/withdraw/{network}/{ticker}/feeEstimate
- AuthAPI key in header X-GEMINI-APIKEY and API key in header X-GEMINI-SIGNATURE and API key in header X-GEMINI-PAYLOAD
Path parameters
The blockchain network for the withdrawal (e.g. ethereum, bitcoin, solana)
The currency code for the withdrawal (e.g. eth, btc, sol, usdc)
Headers
Your API key
HEX-encoded HMAC-SHA384 of payload signed with API secret
Base64-encoded JSON payload
Request body
Example request
{
"request": "/v2/withdraw/ethereum/eth/feeEstimate",
"nonce": "1495127793000",
"address": "0x31c2105b8dea834167f32f7ea7d877812e059230",
"amount": "0.01",
"account": "primary"
}Response
Successful fee estimation response
Example response
{
"currency": "ETH",
"fee": 0.001,
"monthlyLimit": 1,
"monthlyRemaining": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.