UNPKG

rosetta-sdk-typescript

Version:

Typescript SDK to create and interact with Rosetta API implementations.

34 lines (33 loc) 1.12 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. */ /** * When fetching data by BlockIdentifier, it may be possible to only specify the index or hash. If neither property is specified, it is assumed that the client is making a request at the current block. * @export * @interface PartialBlockIdentifier */ export interface PartialBlockIdentifier { /** * * @type {number} * @memberof PartialBlockIdentifier */ index?: number; /** * * @type {string} * @memberof PartialBlockIdentifier */ hash?: string; } export declare function PartialBlockIdentifierFromJSON(json: any): PartialBlockIdentifier; export declare function PartialBlockIdentifierFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartialBlockIdentifier; export declare function PartialBlockIdentifierToJSON(value?: PartialBlockIdentifier | null): any;