The blockchain network. E.g. polygon, ethereum, solana
Token type: native, usdc, or usdt
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"
}
}
Fee breakdown
Gas price in wei (EVM chains)
Total estimated fee in native token units
Call this before a transfer to confirm the sender’s wallet has enough native balance to cover the fee.