sarga-cardano-wallet-js-dist/models/wallets-delegation-next.d.ts

46 lines
1.3 KiB
TypeScript
Raw Permalink Normal View History

2023-08-07 23:20:23 +00:00
/**
* 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 { WalletsDelegationChangesAt } from '.';
/**
* Next delegation status becomes active at the start of the second epoch after the corresponding delegation certificate was discovered. The exact moment is specified by changes_at
* @export
* @interface WalletsDelegationNext
*/
export interface WalletsDelegationNext {
/**
*
* @type {string}
* @memberof WalletsDelegationNext
*/
status: WalletsDelegationNextStatusEnum;
/**
* A unique Stake-Pool identifier (present only if status = `delegating`)
* @type {string}
* @memberof WalletsDelegationNext
*/
target?: any;
/**
*
* @type {WalletsDelegationChangesAt}
* @memberof WalletsDelegationNext
*/
changes_at: WalletsDelegationChangesAt;
}
/**
* @export
* @enum {string}
*/
export declare enum WalletsDelegationNextStatusEnum {
NotDelegating = "not_delegating",
Delegating = "delegating"
}