UNPKG

rosetta-sdk-typescript

Version:

Typescript SDK to create and interact with Rosetta API implementations.

47 lines (46 loc) 1.78 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 { AccountIdentifier, Currency, NetworkIdentifier, PartialBlockIdentifier } from './'; /** * An AccountBalanceRequest is utilized to make a balance request on the /account/balance endpoint. If the block_identifier is populated, a historical balance query should be performed. * @export * @interface AccountBalanceRequest */ export interface AccountBalanceRequest { /** * * @type {NetworkIdentifier} * @memberof AccountBalanceRequest */ network_identifier: NetworkIdentifier; /** * * @type {AccountIdentifier} * @memberof AccountBalanceRequest */ account_identifier: AccountIdentifier; /** * * @type {PartialBlockIdentifier} * @memberof AccountBalanceRequest */ block_identifier?: PartialBlockIdentifier; /** * In some cases, the caller may not want to retrieve all available balances for an AccountIdentifier. If the currencies field is populated, only balances for the specified currencies will be returned. If not populated, all available balances will be returned. * @type {Array<Currency>} * @memberof AccountBalanceRequest */ currencies?: Array<Currency>; } export declare function AccountBalanceRequestFromJSON(json: any): AccountBalanceRequest; export declare function AccountBalanceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountBalanceRequest; export declare function AccountBalanceRequestToJSON(value?: AccountBalanceRequest | null): any;