Get Block Transactions
get
Get tx history by block height.
Authorizations
Path parameters
heightintegerRequiredExample:
Block height
800000
Query parameters
cursorintegerRequiredExample:
Start offset
0
sizeintegerRequiredExample:
Number of items returned
16
Responses
200
Successful operation
application/json
401
Invalid API Key
get
GET /v1/indexer/block/{height}/txs HTTP/1.1
Host: open-api-fractal.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