Skip to content

Live: Get Extrinsics for Specific Block

GET /api/v1/live/blocks/{height}
NameInTypeRequiredDescription
heightpathinteger

Media: application/json

Schema
{
"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.