Skip to main content
GET
/
crypto
/
fees
/
estimate
curl "https://secureapi.gridlog.io/api/v1/crypto/fees/estimate?chain=polygon&token=usdc&amount=100.50" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "chain": "polygon",
  "token": "usdc",
  "amount": "100.50",
  "fee": {
    "gasPrice": "20000000000",
    "totalFee": "0.00042"
  }
}
chain
string
required
The blockchain network. E.g. polygon, ethereum, solana
token
string
required
Token type: native, usdc, or usdt
amount
string
required
Amount to transfer (human-readable string, e.g. "100.50")
curl "https://secureapi.gridlog.io/api/v1/crypto/fees/estimate?chain=polygon&token=usdc&amount=100.50" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "chain": "polygon",
  "token": "usdc",
  "amount": "100.50",
  "fee": {
    "gasPrice": "20000000000",
    "totalFee": "0.00042"
  }
}
chain
string
The blockchain network
token
string
Token type queried
amount
string
Transfer amount provided
fee
object
Fee breakdown
Call this before a transfer to confirm the sender’s wallet has enough native balance to cover the fee.