model.proto
path sdk/model/model.proto
package m10.sdk.model
Messages
AccountInfo
Name | Type | Description |
---|---|---|
account_id | bytes | Unique identifier for the account. |
parent_account_id | bytes | Identifier of the parent account, if any. |
public_name | string | Public name of the account. |
profile_image_url | string | URL of the account's profile image. |
code | string | Account code (e.g., currency code). |
decimal_places | uint32 | Number of decimal places for the account's value. |
AccountMetadata
Name | Type | Description |
---|---|---|
owner | bytes | The owner of the AccountMetadata |
profile_image_url | string | URL of the profile image associated with the account. |
name | string | Name of the AccountMetadata. |
public_name | string | Public name of the AccountMetadata. |
id | bytes | Unique identifier (e.g. UUID) for the AccountMetadata. |
AccountSet
Name | Type | Description |
---|---|---|
owner | bytes | The owner of the AccountSet. |
accounts | repeated bytes | List of account references within the AccountSet. |
id | bytes | Unique identifier (e.g. UUID) for the AccountSet. |
Bank
Name | Type | Description |
---|---|---|
id | bytes | Unique identifier for the bank. |
owner | bytes | Owner of the bank collection record. |
short_name | string | Short name of the bank. |
display_name | string | Display name of the bank. |
accounts | repeated BankAccountRef | List of BankAccountRef's. |
BankAccountRef
Name | Type | Description |
---|---|---|
account_id | bytes | Unique identifier for the bank account. |
account_type | BankAccountRef.BankAccountType | Bank account type. |
Enums
BankAccountRef.BankAccountType
Bank account type.
Name | Number | Description |
---|---|---|
CBDC | 0 | Central Bank Digital Currency. |
DRM | 1 | Digital Regulated Money. |