Transaction

Fetch transaction from mempool by hash

Retrieves a transaction from the mempool given its hash using the Nimiq RPC.

GET
/getTransactionFromMempool/{hash}
/getTransactionFromMempool/{hash}

Path Parameters

hash
Required
string

The hash of the transaction.

curl -X GET "https://test.nimiqhub.com/getTransactionFromMempool/string"

Transaction data retrieved successfully

{
  "data": {
    "hash": "string",
    "blockNumber": 0,
    "timestamp": 0,
    "confirmations": 0,
    "size": 0,
    "relatedAddresses": [
      "string"
    ],
    "from": "string",
    "fromType": 0,
    "to": "string",
    "toType": 0,
    "value": 0,
    "fee": 0,
    "senderData": "string",
    "recipientData": "string",
    "flags": 0,
    "validityStartHeight": 0,
    "proof": "string",
    "networkId": 0,
    "executionResult": true
  },
  "metadata": null
}