Skip to content

Live: Get Extrinsics for Block Range

GET /api/v1/live/blocks

Lists all extrinsics for block range selected

NameInTypeRequiredDescription
block_startqueryintegerblock number for start of range
block_endqueryintegerblock number for end of range

Media: application/json

Schema
{
"type": "array",
"items": {
"type": "object",
"required": [
"extrinsics",
"finalized",
"hash",
"logs",
"number",
"onFinalize",
"onInitialize",
"parentHash",
"stateRoot"
],
"properties": {
"authorId": {
"type": "string",
"nullable": true
},
"extrinsicRoot": {
"type": "string",
"nullable": true
},
"extrinsics": {
"type": "array",
"items": {
"type": "object",
"required": [
"args",
"era",
"events",
"hash",
"info",
"method",
"paysFee",
"success"
],
"properties": {
"args": {},
"era": {},
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"data",
"method"
],
"properties": {
"data": {},
"method": {}
}
}
},
"hash": {
"type": "string"
},
"info": {},
"method": {
"type": "object",
"required": [
"method",
"pallet"
],
"properties": {
"method": {},
"pallet": {
"type": "string"
}
}
},
"nonce": {
"type": "string",
"nullable": true
},
"paysFee": {
"type": "boolean"
},
"signature": {
"allOf": [
{
"type": "object",
"required": [
"signature",
"signer"
],
"properties": {
"signature": {
"type": "string"
},
"signer": {}
}
}
],
"nullable": true
},
"success": {
"type": "boolean"
},
"tip": {
"type": "string",
"nullable": true
}
}
}
},
"finalized": {
"type": "boolean"
},
"hash": {
"type": "string"
},
"logs": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"type",
"value"
],
"properties": {
"index": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"number": {
"type": "string"
},
"onFinalize": {
"type": "object",
"required": [
"events"
],
"properties": {
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"data",
"method"
],
"properties": {
"data": {},
"method": {}
}
}
}
}
},
"onInitialize": {
"type": "object",
"required": [
"events"
],
"properties": {
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"data",
"method"
],
"properties": {
"data": {},
"method": {}
}
}
}
}
},
"parentHash": {
"type": "string"
},
"stateRoot": {
"type": "string"
}
}
}
}
Examples
{
"Result": {
"value": "{}"
}
}

Interactive request console coming soon. In the meantime you can use the OpenAPI spec with any client (Insomnia, Bruno, Scalar, curl).

All Taostats API requests require an Authorization header containing your API key. See Getting Started.