Mempool

Get All Mempool Transactions

Changed on

Get all Transaction Identifiers in the mempool

post/mempool

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

NetworkRequest required

A NetworkRequest is utilized to retrieve some data specific exclusively to a NetworkIdentifier.

network_identifier, NetworkIdentifier required

The network_identifier specifies which network a particular object is associated with.

metadata, object

Example request

{
  "network_identifier": {
    "blockchain": "bitcoin",
    "network": "mainnet",
    "sub_network_identifier": {
      "network": "shard 1",
      "metadata": {
        "producer": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5"
      }
    }
  }
}

Response

Expected response to a valid request

MempoolResponse required

A MempoolResponse contains all transaction identifiers in the mempool for a particular network_identifier.

transaction_identifiers, TransactionIdentifier[] required

Example response

{
  "transaction_identifiers": [
    {
      "hash": "0x2f23fd8cca835af21f3ac375bac601f97ead75f2e79143bdf71fe2c4be043e8f"
    }
  ]
}

Changes

    • breaking

      added the new required request property network_identifier/blockchain

    • breaking

      added the new required request property network_identifier/network

    • breaking

      the network_identifier request property type changed from no type to object

    3 more changes in this revision