Search

Search For Transactions

post

Search for transactions by transaction_ids or blue_score

Query parameters
fieldsstringOptionalDefault: ""
resolve_previous_outpointsall ofOptional

Use this parameter if you want to fetch the TransactionInput previous outpoint details. Light fetches only the address and amount. Full fetches the whole TransactionOutput and adds it into each TxInput.

Default: no

An enumeration.

Body
transactionIdsstring[]Optional
acceptingBlueScoreGteintegerOptional
acceptingBlueScoreLtintegerOptional
Responses
application/json
object[]Optional
post
POST /transactions/search HTTP/1.1
Host: kas.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 78

{
  "transactionIds": [
    "text"
  ],
  "acceptingBlueScoreGte": 1,
  "acceptingBlueScoreLt": 1
}
[
  {
    "subnetwork_id": "text",
    "transaction_id": "text",
    "hash": "text",
    "mass": "text",
    "payload": "text",
    "block_hash": [
      "text"
    ],
    "block_time": 1,
    "is_accepted": true,
    "accepting_block_hash": "text",
    "accepting_block_blue_score": 1,
    "accepting_block_time": 1,
    "inputs": [
      {
        "transaction_id": "text",
        "index": 1,
        "previous_outpoint_hash": "text",
        "previous_outpoint_index": "text",
        "previous_outpoint_resolved": {
          "transaction_id": "text",
          "index": 1,
          "amount": 1,
          "script_public_key": "text",
          "script_public_key_address": "text",
          "script_public_key_type": "text",
          "accepting_block_hash": "text"
        },
        "previous_outpoint_address": "text",
        "previous_outpoint_amount": 1,
        "signature_script": "text",
        "sig_op_count": "text"
      }
    ],
    "outputs": [
      {
        "transaction_id": "text",
        "index": 1,
        "amount": 1,
        "script_public_key": "text",
        "script_public_key_address": "text",
        "script_public_key_type": "text",
        "accepting_block_hash": "text"
      }
    ]
  }
]