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) |
transactionCount | number | Number of transactions |
blockHash | string | Block hash |
transactions | array | List of transactions in block |
transactions[].transactionId | string | Transaction hash |
| transactions[].type | string | Transaction type (event type) |
| transactions[].timestamp | number | Transaction timestamp |
| transactions[].orderId | string | Related order ID (if applicable) |
Example Request
Error Responses
Notes
- Block numbers start at 1 (no block 0)
- Transactions ordered by position in block