Skip to content

Estimate the fee for a transfer transaction

Request

Estimate the fee for a transfer transaction

Security
TokenAuth
Bodyapplication/jsonrequired
blockchainstring(v2Blockchain)required
Enum:"AVALANCHE""ETHEREUM""XRP_LEDGER""POLYGON""BNBCHAIN""BASE""HEDERA""ARBITRUM""ONE_MONEY""SOLANA"
Example:"ETHEREUM"
contractstring

The contract/issuing address

Example:"0xdAC17F958D2ee523a2206206994597C13D831ec7"
symbolstringrequired

The asset symbol

Example:"USD"
originAddressstringrequired

The origin address

Example:"0x55502b9d5a68b0F8a48384352295BeD968aD8AA4"
destinationAddressstring

Optional destination address. When provided, allows for more accurate fee estimation on chains where transfer costs vary based on recipient state (e.g., TRON, Solana).

Example:"TLsV52sRDL79HXGGm9yzwKibb6BeruhUzy"
curl -i -X POST \
  https://docs.ripple.com/_mock/products/wallet/api-docs/palisade-api/palisade-api/v2/transactions/transfer/estimate-fee \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "blockchain": "ETHEREUM",
    "contract": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
    "symbol": "USD",
    "originAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4",
    "destinationAddress": "TLsV52sRDL79HXGGm9yzwKibb6BeruhUzy"
  }'

Responses

Bodyapplication/json
evmobject(v2EvmFeeEstimate)

EVM specific fee estimates

Example:
{ "gas_price": "0.007", "base_fee": "155.672", "priority_fee": "0.001", "gas_limit": 21000 }
networkFeesobjectrequired

Map of fee options where keys are fee types (slowest, slow, medium, fast, fastest) and values are the fee amounts in base asset units

Example:
{ "slowest": "0.00001", "slow": "0.00005", "medium": "0.00010", "fast": "0.00015", "fastest": "0.0002" }
Response
{ "evm": { "gasPrice": "155", "baseFee": "155", "priorityFee": "155", "gasLimit": "21000", "gas_price": "0.007", "base_fee": "155.672", "priority_fee": "0.001", "gas_limit": 21000 }, "networkFees": { "slowest": "0.00001", "slow": "0.00005", "medium": "0.00010", "fast": "0.00015", "fastest": "0.0002" } }