cardano-wallet-js
Version:
javascript/typescript client for the official cardano-wallet api
67 lines (62 loc) • 1.68 kB
text/typescript
/* tslint:disable */
/* eslint-disable */
/**
* Cardano Wallet Backend API
* <p align=\"right\"><img style=\"position: relative; top: -10em; margin-bottom: -12em;\" width=\"20%\" src=\"https://cardanodocs.com/img/cardano.png\"></img></p>
*
* OpenAPI spec version: 2021.3.4
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { ApiNetworkInformationNetworkTip, ApiNetworkInformationNodeTip, ApiNetworkInformationSyncProgress, WalletsDelegationChangesAt } from ".";
/**
*
* @export
* @interface ApiNetworkInformation
*/
export interface ApiNetworkInformation {
/**
*
* @type {ApiNetworkInformationSyncProgress}
* @memberof ApiNetworkInformation
*/
sync_progress: ApiNetworkInformationSyncProgress;
/**
*
* @type {ApiNetworkInformationNodeTip}
* @memberof ApiNetworkInformation
*/
node_tip: ApiNetworkInformationNodeTip;
/**
*
* @type {ApiNetworkInformationNetworkTip}
* @memberof ApiNetworkInformation
*/
network_tip?: ApiNetworkInformationNetworkTip;
/**
*
* @type {WalletsDelegationChangesAt}
* @memberof ApiNetworkInformation
*/
next_epoch?: WalletsDelegationChangesAt;
/**
*
* @type {string}
* @memberof ApiNetworkInformation
*/
node_era: ApiNetworkInformationNodeEraEnum;
}
/**
* @export
* @enum {string}
*/
export enum ApiNetworkInformationNodeEraEnum {
Byron = 'byron',
Shelley = 'shelley',
Allegra = 'allegra',
Mary = 'mary',
Alonzo = 'alonzo'
}