estimatesmartfee | Bitcoin

The estimatesmartfee method estimates the fee per kilobyte required for a transaction to be confirmed within a certain number of blocks. This is useful for dynamically adjusting transaction fees based on current network conditions.

👍

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • conf_target (required): The number of blocks within which the transaction should be confirmed.

Response

  • result — an object containing the estimated fee rate (feerate) in BTC per kilobyte and the target number of blocks (blocks) for confirmation.
  • error — an object containing an error message if an error occurred, otherwise null.
  • id — an integer representing the ID of the request.

Use case

The estimatesmartfee method is crucial for wallet applications and services that need to adjust transaction fees dynamically. It helps ensure transactions are confirmed in a timely manner without overpaying.

Try the estimatesmartfee RPC method yourself

Language
Click Try It! to start a request and see the response here!