Live: Get Extrinsics for Block Range
Endpoint
Section titled “Endpoint”GET /api/v1/live/blocksDescription
Section titled “Description”Lists all extrinsics for block range selected
Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
block_start | query | integer | ✅ | block number for start of range |
block_end | query | integer | ✅ | block number for end of range |
Responses
Section titled “Responses”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": "{}" }}Try it
Section titled “Try it”Interactive request console coming soon. In the meantime you can use the OpenAPI spec with any client (Insomnia, Bruno, Scalar, curl).
Authentication
Section titled “Authentication”All Taostats API requests require an Authorization header containing your API key. See Getting Started.