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
subaccountidentifier.md•5.81 kB
# SubAccountIdentifier
An account may have state specific to a contract address (ERC-20 token) and/or a stake (delegated balance). The sub_account_identifier should specify which state (if applicable) an account instantiation refers to.
## Example Usage
```typescript
import { SubAccountIdentifier } from "icpmcp-rosetta-api";
let value: SubAccountIdentifier = {
address: "0x6b175474e89094c44da98b954eedeac495271d0f",
};
```
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `address` | *string* | :heavy_check_mark: | The SubAccount address may be a cryptographic value or some other identifier (ex: bonded) that uniquely specifies a SubAccount. | 0x6b175474e89094c44da98b954eedeac495271d0f |
| `metadata` | [models.SubAccountIdentifierMetadata](../models/subaccountidentifiermetadata.md) | :heavy_minus_sign: | If the SubAccount address is not sufficient to uniquely specify a SubAccount, any other identifying information can be stored here. It is important to note that two SubAccounts with identical addresses but differing metadata will not be considered equal by clients. | |