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

> Propagates a hex-encoded transaction to a globally distributed network of peers using Maestro's Global Mempool (MGM) system.

# Transaction Propagator



## OpenAPI

````yaml bitcoin/mempool-monitoring-api/openapi.json post /mempool/transactions/send
openapi: 3.0.3
info:
  title: Bitcoin - Mempool Monitoring API
  description: >-
    Maestro's Bitcoin Mempool Monitoring API offers core indexer endpoints with
    mempool awareness, providing real-time visibility into unconfirmed
    transactions, enabling developers to build responsive, fee-optimized, and
    mempool-aware applications without managing their own node infrastructure.


    #### Key Features:

    - **Real-Time Transaction Monitoring:** Track unconfirmed transactions
    instantly as they enter the mempool, providing immediate insights for
    enhanced user experience.

    - **Optimal Fee Estimation:** Analyze current mempool conditions to help
    users set appropriate transaction fees, ensuring timely confirmations and
    cost efficiency.

    - **Network Health Analysis:** Monitor mempool size and state to detect
    network congestion and anomalies, aiding in informed decision-making
    regarding transaction timing.

    - **Custom Transaction Selection for Miners:** Utilize mempool data to
    prioritize transactions with higher fees, maximizing profits during block
    construction.


    #### Key Benefits for Developers:

    Developers can enhance their applications and improve user experience
    through real-time blockchain insights and optimized transaction processing.
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.txt
  version: v0.1.0
servers:
  - url: https://xbt-mainnet.gomaestro-api.org/v0
    description: Bitcoin Mainnet
  - url: https://xbt-testnet.gomaestro-api.org/v0
    description: Bitcoin Testnet
security:
  - api-key: []
paths:
  /mempool/transactions/send:
    post:
      tags:
        - Transactions
      summary: Transaction Propagator
      description: >-
        Propagates a hex-encoded transaction to a globally distributed network
        of peers using Maestro's Global Mempool (MGM) system.

        Read more about
        [MGM](https://docs.gomaestro.org/bitcoin/mempool-monitoring-api/overview#global-mempool-infrastructure).
      operationId: send_transaction
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendTransactionRequest'
        required: true
      responses:
        '200':
          description: Transaction sent successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendTransactionResponse'
        '400':
          description: Malformed query parameters
        '500':
          description: Internal server error
components:
  schemas:
    SendTransactionRequest:
      type: object
      required:
        - tx_hex
      properties:
        tx_hex:
          type: string
          description: Hex-encoded raw transaction bytes
    SendTransactionResponse:
      type: object
      properties:
        txid:
          type: string
          description: Transaction hash (present if success is true)
          nullable: true
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: api-key
      description: Project API Key

````