# Estimate the fee for a transfer transaction

Estimate the fee for a transfer transaction

Endpoint: POST /v2/transactions/transfer/estimate-fee
Version: 2.0
Security: TokenAuth

## Security:

  - `TokenAuth` (unknown)
    apiKey in header Authorization

## Request fields (application/json):

  - `blockchain` (string, required)
    Must be one of the defined enum values.

Some enum values are not accepted. The server checks which values are allowed.
    Enum: "AVALANCHE", "ETHEREUM", "XRP_LEDGER", "POLYGON", "BNBCHAIN", "BASE", "HEDERA", "ARBITRUM", "ONE_MONEY", "SOLANA", "TRON", "BITCOIN", "OPTIMISM"

  - `contract` (string)
    The contract/issuing address
    Example: 0xdAC17F958D2ee523a2206206994597C13D831ec7

  - `symbol` (string, required)
    The asset symbol
    Example: USD

  - `originAddress` (string, required)
    The origin address

This field must be provided.
    Example: 0x55502b9d5a68b0F8a48384352295BeD968aD8AA4

  - `destinationAddress` (string)
    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

## Response 200 fields (application/json):

  - `evm` (object)
    EVM specific fee estimates
    Example: {"gas_price":"0.007","base_fee":"155.672","priority_fee":"0.001","gas_limit":21000}

  - `evm.gasPrice` (string, required)
    Gas price in wei (base_fee + priority_fee)
The server checks additional validation requirements for this field.
    Example: 155

  - `evm.baseFee` (string, required)
    Base Fee in wei

The server checks additional validation requirements for this field.
    Example: 155

  - `evm.priorityFee` (string, required)
    Average priority Fee in wei

The server checks additional validation requirements for this field.
    Example: 155

  - `evm.gasLimit` (string, required)
    Gas limit

The server checks additional validation requirements for this field.
    Example: 21000

  - `networkFees` (object, required)
    Map of fee options keyed by speed tier (slowest, slow, average, fast, fastest), with values as fee amounts in base asset units. Some blockchains return only average.

The server checks additional validation requirements for this field.
    Example: {"slowest":"0.00001","slow":"0.00005","average":"0.00010","fast":"0.00015","fastest":"0.0002"}

## Response 400:

  - `400` (unknown)
    Returned when the request is malformed or invalid.

## Response 400 fields (application/json):

  - `code` (integer)

  - `message` (string)

  - `details` (array)

  - `details.@type` (string)

## Response 401:

  - `401` (unknown)
    Returned when the request was unauthorized.

## Response 401 fields (application/json):

  - `code` (integer)

  - `message` (string)

  - `details` (array)

  - `details.@type` (string)

## Response 403:

  - `403` (unknown)
    Returned when the request was forbidden.

## Response 403 fields (application/json):

  - `code` (integer)

  - `message` (string)

  - `details` (array)

  - `details.@type` (string)

## Response 404:

  - `404` (unknown)
    Returned when the resource does not exist.

## Response 404 fields (application/json):

  - `code` (integer)

  - `message` (string)

  - `details` (array)

  - `details.@type` (string)

## Response default:

  - `default` (unknown)
    An unexpected error response.

## Response default fields (application/json):

  - `code` (integer)

  - `message` (string)

  - `details` (array)

  - `details.@type` (string)

## Response 400 examples:

  - `response` (unknown)

## Response 401 examples:

  - `response` (unknown)

## Response 403 examples:

  - `response` (unknown)

## Response 404 examples:

  - `response` (unknown)

