UNPKG

rosetta-sdk-typescript

Version:

Typescript SDK to create and interact with Rosetta API implementations.

34 lines (33 loc) 1.08 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. */ /** * In blockchains with sharded state, the SubNetworkIdentifier is required to query some object on a specific shard. This identifier is optional for all non-sharded blockchains. * @export * @interface SubNetworkIdentifier */ export interface SubNetworkIdentifier { /** * * @type {string} * @memberof SubNetworkIdentifier */ network: string; /** * * @type {object} * @memberof SubNetworkIdentifier */ metadata?: object; } export declare function SubNetworkIdentifierFromJSON(json: any): SubNetworkIdentifier; export declare function SubNetworkIdentifierFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubNetworkIdentifier; export declare function SubNetworkIdentifierToJSON(value?: SubNetworkIdentifier | null): any;