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

> Get Replace-by-Fee (RBF) timeline and history for a Bitcoin transaction including fee bumps and replacements.

# Transaction RBF Timeline



## OpenAPI

````yaml bitcoin/esplora-api/openapi.json get /tx/{txid}/rbf
openapi: 3.0.3
info:
  title: Bitcoin - Esplora API
  version: 1.0.0
  description: >
    OpenAPI spec for core Esplora endpoints: blocks, transactions, addresses,
    mempool, fees, UTXO data and more.
servers:
  - url: https://xbt-mainnet.gomaestro-api.org/v0/esplora
  - url: https://xbt-testnet.gomaestro-api.org/v0/esplora
security:
  - api-key: []
paths:
  /tx/{txid}/rbf:
    get:
      tags:
        - Transactions
      summary: Transaction RBF Timeline
      description: Returns the RBF tree timeline of a transaction.
      parameters:
        - name: txid
          in: path
          required: true
          schema:
            type: string
            example: d78b1139140848e646cfd7eb95868d2e01c600c3922de88038c591d2fb55cf96
          description: The transaction ID to trace RBF replacements for.
      responses:
        '200':
          description: RBF replacement timeline for the transaction.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RbfReplacementRoot'
              examples:
                example:
                  value:
                    replacements:
                      tx:
                        txid: >-
                          2e95ff9094df9f3650e3f2abc189250760162be89a88f9f2f23301c7cb14b8b4
                        fee: 1668
                        vsize: 276.75
                        value: 14849
                        rate: 4.8242
                        rbf: false
                        fullRbf: true
                      time: 1703240261
                      fullRbf: true
                      replaces: []
                    replaces:
                      - >-
                        3f4670463daadffed07d7a1060071b07f7e81a2566eca21d78bb513cbf21c82a
                      - >-
                        92f9b4f719d0ffc9035d3a9767d80c940cecbc656df2243bafd33f52b583ee92
        '404':
          description: Transaction not found or no RBF history available
components:
  schemas:
    RbfReplacementRoot:
      type: object
      properties:
        replacements:
          type: object
          properties:
            tx:
              $ref: '#/components/schemas/RbfTransaction'
            time:
              type: integer
            fullRbf:
              type: boolean
            replaces:
              type: array
              items:
                $ref: '#/components/schemas/RbfReplacedTx'
          required:
            - tx
            - time
            - fullRbf
            - replaces
        replaces:
          type: array
          items:
            type: string
      required:
        - replacements
        - replaces
    RbfTransaction:
      type: object
      properties:
        txid:
          type: string
        fee:
          type: integer
        vsize:
          type: number
        value:
          type: integer
        rate:
          type: number
        rbf:
          type: boolean
        fullRbf:
          type: boolean
      required:
        - txid
        - fee
        - vsize
        - value
        - rate
        - rbf
    RbfReplacedTx:
      type: object
      properties:
        tx:
          $ref: '#/components/schemas/RbfTransaction'
        time:
          type: integer
        interval:
          type: integer
        fullRbf:
          type: boolean
        replaces:
          type: array
          items:
            $ref: '#/components/schemas/RbfReplacedTx'
      required:
        - tx
        - time
        - fullRbf
        - replaces
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: api-key
      description: Project API Key

````