added

Estimating transaction fees on Palisade

Today, we're introducing the new Transaction Fee Estimation API, allowing you to preview network fees before executing transfers.

Why

Palisade's Transfer API makes it easy to specify an intent to move assets securely across blockchains. However, before executing a transaction, users need to understand the associated network fees to make informed decisions about transaction timing and cost optimization.

Until now, there was no way to estimate these fees before creating a transfer. This meant users couldn't properly budget for transaction costs or choose the optimal fee level based on urgency.

Estimate Transfer Fee

Use this new endpoint to get accurate fee estimates for transactions across supported blockchains:

POST /v2/transactions/transfer/estimate-fee

Example Request Body:

{
    "blockchain": "ETHEREUM",
    "symbol": "USDT",
    "contract": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
    "originAddress": "0x55502b9d5a68b0F8a48384352295BeD968aD8AA4"
}

Example Response:

{
    "evm": {
        "gasPrice": "300000000",
        "baseFee": "100000000",
        "priorityFee": "200000000",
        "gasLimit": "65156"
    },
    "networkFees": {
        "average": "0.0000195468",
        "fast": "0.0001042496",
        "fastest": "0.0001694056",
        "slow": "0.0000195468",
        "slowest": "0.0000065156"
    }
}

Key Features

  • Multiple Fee Options: Choose from five speed tiers (slowest to fastest) to balance cost versus confirmation time
  • EVM-Specific Details: For Ethereum and compatible chains, get detailed gas information including:
    • Gas price (in wei)
    • Base fee (in wei)
    • Priority fee (in wei)
    • Estimated gas limit

How to Use

  1. Determine which blockchain and asset you need a fee estimate for
  2. Call the estimation endpoint with required parameters
  3. Review the various fee options returned
  4. Use this information to select the appropriate fee level when creating your transfer

This feature helps you make cost-effective decisions when executing transactions on the Palisade platform.