UNPKG

rosetta-sdk-typescript

Version:

Typescript SDK to create and interact with Rosetta API implementations.

34 lines (33 loc) 1.51 kB
/** * Rosetta * Build Once. Integrate Your Blockchain Everywhere. * * The version of the OpenAPI document: 1.4.10 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * 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 SubAccountIdentifier */ export interface SubAccountIdentifier { /** * The SubAccount address may be a cryptographic value or some other identifier (ex: bonded) that uniquely specifies a SubAccount. * @type {string} * @memberof SubAccountIdentifier */ address: string; /** * 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. * @type {object} * @memberof SubAccountIdentifier */ metadata?: object; } export declare function SubAccountIdentifierFromJSON(json: any): SubAccountIdentifier; export declare function SubAccountIdentifierFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubAccountIdentifier; export declare function SubAccountIdentifierToJSON(value?: SubAccountIdentifier | null): any;