Skip to main content

model.proto

path sdk/model/model.proto

package m10.sdk.model


Messages

AccountInfo

NameTypeDescription
account_idbytesUnique identifier for the account.
parent_account_idbytesIdentifier of the parent account, if any.
public_namestringPublic name of the account.
profile_image_urlstringURL of the account's profile image.
codestringAccount code (e.g., currency code).
decimal_placesuint32Number of decimal places for the account's value.

AccountMetadata

NameTypeDescription
ownerbytesThe owner of the AccountMetadata
profile_image_urlstringURL of the profile image associated with the account.
namestringName of the AccountMetadata.
public_namestringPublic name of the AccountMetadata.
idbytesUnique identifier (e.g. UUID) for the AccountMetadata.

AccountSet

NameTypeDescription
ownerbytesThe owner of the AccountSet.
accountsrepeated bytesList of account references within the AccountSet.
idbytesUnique identifier (e.g. UUID) for the AccountSet.

Bank

NameTypeDescription
idbytesUnique identifier for the bank.
ownerbytesOwner of the bank collection record.
short_namestringShort name of the bank.
display_namestringDisplay name of the bank.
accountsrepeated BankAccountRefList of BankAccountRef's.

BankAccountRef

NameTypeDescription
account_idbytesUnique identifier for the bank account.
account_typeBankAccountRef.BankAccountTypeBank account type.

Enums

BankAccountRef.BankAccountType

Bank account type.

NameNumberDescription
CBDC0Central Bank Digital Currency.
DRM1Digital Regulated Money.