---
title: "Get fee estimate"
method: GET
path: "/api/v2/{coin}/tx/fee"
tags: ["Transfer"]
---

# Get fee estimate

`GET /api/v2/{coin}/tx/fee`

Returns the estimated fee for a transaction. UTXO coins will return a fee per kB, while Account-based coins will return a flat fee estimate.

The fee estimate provided by BitGo is higher than the usual network fee. This additional fee is not charged by BitGo but is used to ensure that the transactions are processed faster and do not fail on the blockchain network.

## Path parameters

- `coin` string, required — A cryptocurrency or token ticker symbol.

## Query parameters

- `numBlocks` integer
- `recipient` string
- `data` string
- `amount` string
- `hop` boolean

## Response `200`

OK

- union
  - EstimateTransactionFees
    - `feePerKb` integer, required — (BTC only) The fee (in base units) per kilobyte (or virtual kilobyte) required to confirm a transaction on 2 or more blocks.
    - `cpfpFeePerKb` integer — (BTC only) Child-Pays-For-Parent (CPFP) fee (in base units) per kilobyte (or virtual kilobyte). Includes the fees for all unconfirmed transactions dependent on the CPFP transaction.
    - `numBlocks` integer, required — (BTC only) The number of blocks required to confirm a transaction. You can use `numBlocks` to estimate the fee rate by targeting confirmation within a given number of blocks. If both `feeRate` and `numBlocks` are absent, the transaction defaults to 2 blocks for confirmation. Note: The `maxFeeRate` limits the fee rate generated by `numBlocks`.
    - `confidence` integer — (BTC only) The confidence (as a percentage) in the accuracy of the fee estimate.
    - `feeByBlockTarget` object — (UTXO only) Custom multiplier to the `feeRate`. The resulting fee rate is limited by the `maxFeeRate`. For replace-by-fee (RBF) transactions (that include `rbfTxIds`), the `feeMultiplier` must be greater than 1, since it's an absolute fee multiplier to the transaction being replaced. Note: The `maxFeeRate` limits the fee rate generated by `feeMultiplier`.
  - EstimateTransactionFeesAccountCoin
    - `feeEstimate` string, required
  - EstimateTransactionFeesAlgo
    - `feeRate` integer, required — Calculated by transaction size. Fee rate is in microAlgo (base unit).
    - `minimumFee` integer, required — Always 1000.
  - EstimateTransactionFeesEth
    - `feeEstimate` string, required
    - `gasLimitEstimate` string
    - `minGasPrice` string, required
    - `minGasLimit` string, required
    - `maxGasLimit` string, required
    - `minGasIncreaseBy` string, required
    - `eip1559` EstimateTransactionFeesEthEip1559
      - `baseFee` string, required
      - `gasUsedRatio` string, required — Block gas used ratio. Calculated as the ratio of gasUsed and gasLimit
      - `safeLowMinerTip` string
      - `normalMinerTip` string
      - `standardMinerTip` string
      - `fastestMinerTip` string
      - `ludicrousMinerTip` string
  - EstimateTransactionFeesTrx
    - `fee` integer, required — Maximum fee for a payment transaction, denominated in base units (i.e. sun). It varies for TRX and TRC20 Token based on the coin parameter
    - `newAccountFee` integer, required — Fee for wallet initialization
    - `netFee` integer, required — Fee rate per unit of tx size. Not used currently (`fee` is a maximum limit, the network charges the cost of the transaction)

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/bitgo/apis/bitgo-api.md) · [All operations](https://skmtc.net/bitgo/apis/bitgo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitgo/bitgo-api/revisions/e445c15e5bee/schema)
