Blockchain

Estimate fee rate

Estimates the fee rate required for a transaction to be confirmed within a certain number of blocks.

get/v1/cryptos/{cryptoCode}/fees/{blockCount}

Path parameters

cryptoCodestring required

The cryptocurrency code to track (e.g., 'BTC' for Bitcoin, 'LTC' for Litecoin).

blockCountinteger required

The target number of blocks for confirmation.

Response

Fee rate estimated successfully.

feeRatenumber

The estimated fee rate in satoshis per vByte.

blockCountinteger

The target number of blocks for confirmation.

Example response

{
  "feeRate": 25,
  "blockCount": 2
}

Changes

Changed in 4 of the 40 revisions of this API.36

  • cfaf4efd4ea823See the full diff
    • the code response's property type/format changed from integer/ to string/ for status 400

      response-property-type-changed

    • removed the required property error from the response with the 400 status

      response-required-property-removed

    • added the optional property httpCode to the response with the 400 status

      response-optional-property-added

    • added the optional property message to the response with the 400 status

      response-optional-property-added

    • added the optional property reason to the response with the 400 status

      response-optional-property-added

    • api tag Blockchain added

      api-tag-added

    • api tag Fees removed

      api-tag-removed

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog