Skip to content

getUnconfirmedTransactionHashes

AxVultis edited this page Nov 12, 2022 · 2 revisions

The getUnconfirmedTransactionHashes method returns information about the current unconfirmed transaction pool or for a specified addresses. Transaction consists of transfers. Transfer is an amount-address pair. There could be several transfers in a single transaction.

Request Format

JSON-RPC

 {
  "jsonrpc": "2.0",
  "id": 14,
  "method": "getUnconfirmedTransactionHashes",
  "params": {
    "addresses": [
      "ccx7dehAGh837bfSfo18wJ1WzeCUWnzv3D23hvR8npyhHxoa6E3WXqNgTfHaWbAYRPdUhEXXEeKeEG7okKGHA8CZ3onHHofFDJ",
      "ccx7Sh1w3q9jmrzw3XkKPRBa4ZB8mxp5rH4Rm4cWJgDYNNahMKoEuYxgTfHaWbAYRPdUhEXXEeKeEG7okKGHA8CZ3onHF7W6gc"
    ]
  }
}

Request Details:

Argument Mandatory Description Format
addresses No Addresses to check for unconfirmed transactions. If addresses is empty, all addresses of the container will be checked array of string

Response Format

JSON-RPC

 {
  "jsonrpc": "2.0",
  "id": 14,
  "result": {
    "transactionHashes": [
      "4e4b178cd83fc4fcddabedff6207c7ddf57a397347cefb8da1426237ed00602a",
      "c708b908f043eabe185b7802b8377a56b9df2d2cafd0765481e826b3887b15a3",
      "5436d960e7a6d63b05e98157b4bb7574a368759d217c59dee2bcd9dd0943d4fd"
    ]
  }
}

Response Details:

Argument Description Format
transactionHashes Hashes of each unconfirmed transaction array of strings
Clone this wiki locally