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.

Export

Interface

RosettaSubAccount

Hierarchy

  • RosettaSubAccount

Properties

Properties

address: string

The address may be a cryptographic public key (or some encoding of it) or a provided username.

Memberof

RosettaSubAccount

metadata?: object

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.

Memberof

RosettaSubAccount

Generated using TypeDoc