@@ -3484,6 +3484,26 @@ export interface paths {
34843484 patch?: never;
34853485 trace?: never;
34863486 };
3487+ "/near/epochs-info": {
3488+ parameters: {
3489+ query?: never;
3490+ header?: never;
3491+ path?: never;
3492+ cookie?: never;
3493+ };
3494+ /**
3495+ * Get epochs info
3496+ * @description Get current and next epochs info
3497+ */
3498+ get: operations["getNEAREpochsInfo"];
3499+ put?: never;
3500+ post?: never;
3501+ delete?: never;
3502+ options?: never;
3503+ head?: never;
3504+ patch?: never;
3505+ trace?: never;
3506+ };
34873507 "/near/network-stats": {
34883508 parameters: {
34893509 query?: never;
@@ -20887,6 +20907,38 @@ export interface components {
2088720907 */
2088820908 tx: Record<string, never>;
2088920909 };
20910+ NEAREpochsInfo: {
20911+ /**
20912+ * @description Current epoch number
20913+ * @example 3043
20914+ */
20915+ current_epoch: number;
20916+ /**
20917+ * @description Current epoch start timestamp
20918+ * @example 2025-03-07T02:31:59.394Z
20919+ */
20920+ current_epoch_start_ts: string;
20921+ /**
20922+ * @description Current epoch start height
20923+ * @example 141277911
20924+ */
20925+ current_epoch_start_height: number;
20926+ /**
20927+ * @description Next epoch number
20928+ * @example 3044
20929+ */
20930+ next_epoch: number;
20931+ /**
20932+ * @description Next epoch estimated start timestamp
20933+ * @example 2025-03-07T16:10:26.255Z
20934+ */
20935+ next_epoch_estimated_start_ts: string;
20936+ /**
20937+ * @description Next epoch estimated start height
20938+ * @example 141321111
20939+ */
20940+ next_epoch_estimated_start_height: number;
20941+ };
2089020942 OSMOStake: {
2089120943 /**
2089220944 * @description Public key of the validator
@@ -35021,6 +35073,50 @@ export interface components {
3502135073 */
3502235074 updated_at: string;
3502335075 };
35076+ TONWalletInfo: {
35077+ /**
35078+ * @description Indicates if the address is a wallet
35079+ * @example true
35080+ */
35081+ wallet: boolean;
35082+ /**
35083+ * @description Balance of the wallet in nanoton
35084+ * @example 1000000
35085+ */
35086+ balance: string;
35087+ /**
35088+ * @description Current state of the wallet
35089+ * @example active
35090+ * @enum {string}
35091+ */
35092+ account_state: "uninitialized" | "active";
35093+ last_transaction_id: {
35094+ /** @example internal.transactionId */
35095+ "@type": string;
35096+ /** @example 54784142000001 */
35097+ lt: string;
35098+ /**
35099+ * @description Base64-encoded hash of the last transaction
35100+ * @example LO4ZcnQf4CGvlI9f9pqR9sAhf5fXGbJbTHXvpxBnArY=
35101+ */
35102+ hash: string;
35103+ };
35104+ /**
35105+ * @description Type of wallet (only present if wallet=true)
35106+ * @example wallet v4 r2
35107+ */
35108+ wallet_type?: string;
35109+ /**
35110+ * @description Sequence number of the wallet (only present if wallet=true)
35111+ * @example 82
35112+ */
35113+ seqno?: number;
35114+ /**
35115+ * @description Unique wallet ID (only present if wallet=true)
35116+ * @example 698983191
35117+ */
35118+ wallet_id?: number;
35119+ };
3502435120 TONPrepareTxPayload: {
3502535121 /**
3502635122 * @description Hex encoded unsigned transaction
@@ -45021,6 +45117,42 @@ export interface operations {
4502145117 };
4502245118 };
4502345119 };
45120+ getNEAREpochsInfo: {
45121+ parameters: {
45122+ query?: never;
45123+ header?: never;
45124+ path?: never;
45125+ cookie?: never;
45126+ };
45127+ requestBody?: never;
45128+ responses: {
45129+ /** @description Successful operation */
45130+ 200: {
45131+ headers: {
45132+ [name: string]: unknown;
45133+ };
45134+ content: {
45135+ "application/json; charset=utf-8": {
45136+ data: components["schemas"]["NEAREpochsInfo"];
45137+ };
45138+ };
45139+ };
45140+ /** @description Unauthorized */
45141+ 401: {
45142+ headers: {
45143+ [name: string]: unknown;
45144+ };
45145+ content?: never;
45146+ };
45147+ /** @description Internal server error */
45148+ 500: {
45149+ headers: {
45150+ [name: string]: unknown;
45151+ };
45152+ content?: never;
45153+ };
45154+ };
45155+ };
4502445156 getNEARNetworkStats: {
4502545157 parameters: {
4502645158 query?: never;
@@ -53791,13 +53923,7 @@ export interface operations {
5379153923 };
5379253924 content: {
5379353925 "application/json; charset=utf-8": {
53794- data: {
53795- /**
53796- * @description Status of the wallet
53797- * @example active
53798- */
53799- status: string;
53800- };
53926+ data: components["schemas"]["TONWalletInfo"];
5380153927 };
5380253928 };
5380353929 };
0 commit comments