Endpoint
Request Body
| Parameter | Type | Description |
|---|---|---|
type* | string | Must be "blockByNumber" |
blockNumber* | number | Block number to retrieve, e.g., 12345 |
Response
Response Fields
| Field | Type | Description |
|---|---|---|
blockNumber | number | Block number |
timestamp | number | Block timestamp (ms) |
parentHash | string | Parent block hash |
blockHash | string | Block hash |
transactions | array | Ordered transactions for the block |
transactions[].transactionId | string | Transaction hash |
transactions[].type | string | Transaction type (event type) |
transactions[].timestamp | number | Transaction timestamp |
transactions[].blockNumber | number | Block number |
transactions[].txIndex | number | Transaction index within the block |
transactions[].orderId | string | Related order ID (if applicable) |
transactions[].data | object | JSON-safe transaction payload |
Example Request
Error Responses
Notes
- Block numbers start at 1 (no block 0) - Transactions are ordered by position in the block
