Get Block Transactions

get

Get tx history by block height.

Authorizations
Path parameters
heightintegerRequired

Block height

Example: 800000
Query parameters
cursorintegerRequired

Start offset

Example: 0
sizeintegerRequired

Number of items returned

Example: 16
Responses
200
Successful operation
application/json
get
GET /v1/indexer/block/{height}/txs HTTP/1.1
Host: open-api.unisat.io
Authorization: Bearer JWT
Accept: */*
{
  "code": 0,
  "msg": "OK",
  "data": {
    "detail": {
      "txid": "text",
      "nIn": 1,
      "nOut": 1,
      "inSatoshi": 1,
      "outSatoshi": 1,
      "locktime": 1,
      "size": 1,
      "witOffset": 1,
      "height": 1,
      "idx": 1,
      "blkid": "text",
      "confirmations": 1,
      "timestamp": 1
    },
    "start": 1,
    "total": 1
  }
}

Last updated