rosetta-sdk-typescript
Version:
Typescript SDK to create and interact with Rosetta API implementations.
35 lines (34 loc) • 874 B
TypeScript
/**
* 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 { Amount, CoinIdentifier } from './';
/**
* Coin contains its unique identifier and the amount it represents.
* @export
* @interface Coin
*/
export interface Coin {
/**
*
* @type {CoinIdentifier}
* @memberof Coin
*/
coin_identifier: CoinIdentifier;
/**
*
* @type {Amount}
* @memberof Coin
*/
amount: Amount;
}
export declare function CoinFromJSON(json: any): Coin;
export declare function CoinFromJSONTyped(json: any, ignoreDiscriminator: boolean): Coin;
export declare function CoinToJSON(value?: Coin | null): any;