We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ai-api-booster/mcp-rosetta-icp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
eventsblocksresponse.md•5.23 kB
# EventsBlocksResponse
EventsBlocksResponse contains an ordered collection of BlockEvents and the max retrievable sequence.
## Example Usage
```typescript
import { EventsBlocksResponse } from "icpmcp-rosetta-api";
let value: EventsBlocksResponse = {
maxSequence: 5,
events: [],
};
```
## Fields
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `maxSequence` | *number* | :heavy_check_mark: | max_sequence is the maximum available sequence number to fetch. | 5 |
| `events` | [models.BlockEvent](../models/blockevent.md)[] | :heavy_check_mark: | events is an array of BlockEvents indicating the order to add and remove blocks to maintain a canonical view of blockchain state. Lightweight clients can use this event stream to update state without implementing their own block syncing logic. | |