@@ -7887,6 +7887,26 @@ export interface paths {
78877887 patch?: never;
78887888 trace?: never;
78897889 };
7890+ "/trx/transaction/status": {
7891+ parameters: {
7892+ query?: never;
7893+ header?: never;
7894+ path?: never;
7895+ cookie?: never;
7896+ };
7897+ /**
7898+ * Transaction Status
7899+ * @description Get the status of a transaction by tx hash
7900+ */
7901+ get: operations["getTrxTxStatus"];
7902+ put?: never;
7903+ post?: never;
7904+ delete?: never;
7905+ options?: never;
7906+ head?: never;
7907+ patch?: never;
7908+ trace?: never;
7909+ };
78907910 "/trx/transaction/decode": {
78917911 parameters: {
78927912 query?: never;
@@ -9931,17 +9951,26 @@ export interface components {
99319951 * @example 0x8Cfe45475955606A9586d11360eFE0172BBC51B6
99329952 */
99339953 wallet: string;
9954+ /**
9955+ * @description Target validator public key
9956+ * @example 0x8457a1bc8e54bced96a3ba40858f2d4769ad3672524250c62594f5c862704c638bf1c8519b18269259c9b0d2c13276b3
9957+ */
9958+ target_pubkey: string;
9959+ } & ({
99349960 /**
99359961 * @description Source validator public key
99369962 * @example 0x8457a1bc8e54bced96a3ba40858f2d4769ad3672524250c62594f5c862704c638bf1c8519b18269259c9b0d2c13276b3
99379963 */
99389964 source_pubkey: string;
9965+ } | {
99399966 /**
9940- * @description Target validator public key
9941- * @example 0x8457a1bc8e54bced96a3ba40858f2d4769ad3672524250c62594f5c862704c638bf1c8519b18269259c9b0d2c13276b3
9967+ * @description Source validator public keys
9968+ * @example [
9969+ * "0x8457a1bc8e54bced96a3ba40858f2d4769ad3672524250c62594f5c862704c638bf1c8519b18269259c9b0d2c13276b3"
9970+ * ]
99429971 */
9943- target_pubkey : string;
9944- };
9972+ source_pubkeys : string[] ;
9973+ }) ;
99459974 ETHCraftEnableCompoundingTxPayload: {
99469975 /**
99479976 * @description Wallet address that request the enable compounding
@@ -19229,6 +19258,16 @@ export interface components {
1922919258 * @example 800000
1923019259 */
1923119260 start_height: number;
19261+ /**
19262+ * @description The hex representation of the staking transaction
19263+ * @example 0200000001d88b002ba8b868d5065d8363ebbf77c186733b787f69dd327212e20000000000ffffffff02a086010000000000160014d21aac5179517528f2f158769086c50ea90c73db00000000
19264+ */
19265+ staking_tx_hex: string;
19266+ /**
19267+ * @description The hex representation of the unstaking transaction
19268+ * @example 0200000001d88b002ba8b868d5065d8363ebbf77c186733b787f69dd327212e20000000000ffffffff02a086010000000000160014d21aac5179517528f2f158769086c50ea90c73db00000000
19269+ */
19270+ unstaking_tx_hex: string;
1923219271 };
1923319272 BTCBABYReward: {
1923419273 /**
@@ -36954,6 +36993,37 @@ export interface components {
3695436993 */
3695536994 rewards: string;
3695636995 };
36996+ /** @example {
36997+ * "ret": [
36998+ * {
36999+ * "contractRet": "SUCCESS"
37000+ * }
37001+ * ],
37002+ * "signature": [
37003+ * "350952b9523d7e61838eaac8157a2737cdf92f913fc51b6735f974818d08b90908ffe5bd7463ea3d9661cc3c5fe0efd82160fe01a3069cef3e2a84070258062b1b"
37004+ * ],
37005+ * "txID": "130751638ddd8b8e642718dc02da9b7f6115bb2297a7e37312b21848b199eee4",
37006+ * "raw_data": {
37007+ * "contract": [
37008+ * {
37009+ * "parameter": {
37010+ * "value": {
37011+ * "owner_address": "41c0dc1d58fdad3bb6a19c1bce1856d0e1e02bda91",
37012+ * "unfreeze_balance": 4000000
37013+ * },
37014+ * "type_url": "type.googleapis.com/protocol.UnfreezeBalanceV2Contract"
37015+ * },
37016+ * "type": "UnfreezeBalanceV2Contract"
37017+ * }
37018+ * ],
37019+ * "ref_block_bytes": "5600",
37020+ * "ref_block_hash": "fdcbad92d379f7f7",
37021+ * "expiration": 1745416992000,
37022+ * "timestamp": 1745416932000
37023+ * },
37024+ * "raw_data_hex": "0a0256002208fdcbad92d379f7f74080ead697e6325a5a083712560a36747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e556e667265657a6542616c616e63655632436f6e7472616374121c0a1541c0dc1d58fdad3bb6a19c1bce1856d0e1e02bda91108092f40170a095d397e632"
37025+ * } */
37026+ TRXTxStatus: Record<string, never>;
3695737027 TRXReward: {
3695837028 /**
3695937029 * Format: date
@@ -36992,7 +37062,7 @@ export interface components {
3699237062 */
3699337063 rewards_usd?: number;
3699437064 };
36995- TRXOperations : {
37065+ TRXOperation : {
3699637066 /**
3699737067 * @description Transaction id
3699837068 * @example 2e2127d3697df687b73367c1877fbb3e336d85d5068b822ba9c78a020b00bd88
@@ -37030,18 +37100,23 @@ export interface components {
3703037100 * @description Frozen TRX in sun
3703137101 * @example 1000000
3703237102 */
37033- frozen_balance: string;
37103+ frozen_balance? : string;
3703437104 /**
3703537105 * @description Unfreeze TRX in sun
3703637106 * @example 1000000
3703737107 */
37038- unfreeze_balance: string;
37108+ unfreeze_balance?: string;
37109+ /**
37110+ * @description TRX rewards withdrawn in sun
37111+ * @example 1000000
37112+ */
37113+ withdraw_rewards_amount?: string;
3703937114 /**
3704037115 * @description Resource type
3704137116 * @example BANDWIDTH
3704237117 * @enum {string}
3704337118 */
37044- resource: "BANDWIDTH" | "ENERGY";
37119+ resource? : "BANDWIDTH" | "ENERGY";
3704537120 /**
3704637121 * @description Operation timestamp (RFC3339 format)
3704737122 * @example 2025-05-30T11:59:01+00:00
@@ -38591,7 +38666,7 @@ export interface operations {
3859138666 };
3859238667 content: {
3859338668 "application/json; charset=utf-8": {
38594- data: components["schemas"]["ETHUnsignedTx"];
38669+ data: components["schemas"]["ETHUnsignedTx"] | components["schemas"]["ETHUnsignedTx"][] ;
3859538670 };
3859638671 };
3859738672 };
@@ -57302,7 +57377,7 @@ export interface operations {
5730257377 };
5730357378 content: {
5730457379 "application/json; charset=utf-8": {
57305- data: components["schemas"]["TRXOperations "][];
57380+ data: components["schemas"]["TRXOperation "][];
5730657381 };
5730757382 };
5730857383 };
@@ -57713,6 +57788,52 @@ export interface operations {
5771357788 };
5771457789 };
5771557790 };
57791+ getTrxTxStatus: {
57792+ parameters: {
57793+ query: {
57794+ /** @description Hash of the transaction */
57795+ tx_hash: string;
57796+ };
57797+ header?: never;
57798+ path?: never;
57799+ cookie?: never;
57800+ };
57801+ requestBody?: never;
57802+ responses: {
57803+ /** @description Successful operation */
57804+ 200: {
57805+ headers: {
57806+ [name: string]: unknown;
57807+ };
57808+ content: {
57809+ "application/json; charset=utf-8": {
57810+ data: components["schemas"]["TRXTxStatus"];
57811+ };
57812+ };
57813+ };
57814+ /** @description Invalid parameters */
57815+ 400: {
57816+ headers: {
57817+ [name: string]: unknown;
57818+ };
57819+ content?: never;
57820+ };
57821+ /** @description Unauthorized */
57822+ 401: {
57823+ headers: {
57824+ [name: string]: unknown;
57825+ };
57826+ content?: never;
57827+ };
57828+ /** @description Internal server error */
57829+ 500: {
57830+ headers: {
57831+ [name: string]: unknown;
57832+ };
57833+ content?: never;
57834+ };
57835+ };
57836+ };
5771657837 getTrxTxDecoding: {
5771757838 parameters: {
5771857839 query: {
0 commit comments