UNPKG

rosetta-sdk-typescript

Version:

Typescript SDK to create and interact with Rosetta API implementations.

41 lines (40 loc) 1.52 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. */ import { SubAccountIdentifier } from './'; /** * The account_identifier uniquely identifies an account within a network. All fields in the account_identifier are utilized to determine this uniqueness (including the metadata field, if populated). * @export * @interface AccountIdentifier */ export interface AccountIdentifier { /** * The address may be a cryptographic public key (or some encoding of it) or a provided username. * @type {string} * @memberof AccountIdentifier */ address: string; /** * * @type {SubAccountIdentifier} * @memberof AccountIdentifier */ sub_account?: SubAccountIdentifier; /** * Blockchains that utilize a username model (where the address is not a derivative of a cryptographic public key) should specify the public key(s) owned by the address in metadata. * @type {object} * @memberof AccountIdentifier */ metadata?: object; } export declare function AccountIdentifierFromJSON(json: any): AccountIdentifier; export declare function AccountIdentifierFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountIdentifier; export declare function AccountIdentifierToJSON(value?: AccountIdentifier | null): any;