> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.chainstack.com/feedback

```json
{
  "path": "/reference/bitcoin-estimatesmartfee",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# 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.

<Check>
  **Get your own node endpoint today**

  [Start for free](https://console.chainstack.com/) and get your app to production levels immediately. No credit card required.

  You can sign up with your GitHub, X, Google, or Microsoft account.
</Check>

## 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.


## OpenAPI

````yaml /openapi/bitcoin_node_api/estimatesmartfee.json POST /788f110831fe13808302bd79796d55e8
openapi: 3.0.0
info:
  title: estimatesmartfee example
  version: 1.0.0
  description: >-
    This is an API example for estimatesmartfee, a method to estimate the fee
    per kilobyte needed for a  transaction to begin confirmation within a
    certain number of blocks.
servers:
  - url: https://nd-202-842-353.p2pify.com
security: []
paths:
  /788f110831fe13808302bd79796d55e8:
    post:
      tags:
        - Blockchain Operations
      summary: estimatesmartfee
      operationId: estimateSmartFee
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  default: '1.0'
                method:
                  type: string
                  default: estimatesmartfee
                params:
                  type: array
                  items:
                    type: integer
                    description: >-
                      The number of blocks within which the transaction is
                      expected to be confirmed.
                  default:
                    - 6
                id:
                  type: integer
                  default: 1
      responses:
        '200':
          description: >-
            The estimated fee per kilobyte for a transaction to be confirmed
            within the specified number of  blocks.
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: object
                    properties:
                      feerate:
                        type: number
                        description: The estimated fee per kilobyte.
                      blocks:
                        type: integer
                        description: >-
                          The number of blocks within which the transaction is
                          expected to be confirmed.
                    description: Contains the estimated fee rate and the number of blocks.
                  error:
                    type: object
                  id:
                    type: integer

````