@avalabs/glacier-sdk 3.1.0-canary.efe2f7b.0 → 3.1.0-canary.f0743b0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/dist/index.d.ts +1372 -602
  2. package/dist/index.js +1 -1
  3. package/esm/generated/Glacier.d.ts +4 -4
  4. package/esm/generated/Glacier.js +1 -1
  5. package/esm/generated/models/AddressesChangeRequest.d.ts +1 -1
  6. package/esm/generated/models/ApiFeature.d.ts +7 -0
  7. package/esm/generated/models/ApiFeature.js +1 -0
  8. package/esm/generated/models/BadGateway.d.ts +16 -0
  9. package/esm/generated/models/BadRequest.d.ts +16 -0
  10. package/esm/generated/models/BalanceOwner.d.ts +6 -0
  11. package/esm/generated/models/BlockchainId.d.ts +2 -0
  12. package/esm/generated/models/BlockchainId.js +1 -1
  13. package/esm/generated/models/BlockchainIds.d.ts +3 -1
  14. package/esm/generated/models/BlockchainIds.js +1 -1
  15. package/esm/generated/models/ChainInfo.d.ts +1 -1
  16. package/esm/generated/models/CompletedValidatorDetails.d.ts +1 -0
  17. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +4 -4
  18. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +4 -4
  19. package/esm/generated/models/CreateWebhookRequest.d.ts +1 -1
  20. package/esm/generated/models/DataListChainsResponse.d.ts +7 -0
  21. package/esm/generated/models/Erc20TokenBalance.d.ts +11 -0
  22. package/esm/generated/models/Erc20TokenBalance.js +1 -1
  23. package/esm/generated/models/EvmBlock.d.ts +4 -0
  24. package/esm/generated/models/Forbidden.d.ts +16 -0
  25. package/esm/generated/models/FullNativeTransactionDetails.d.ts +4 -0
  26. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  27. package/esm/generated/models/GetEvmBlockResponse.d.ts +4 -0
  28. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +2 -0
  29. package/esm/generated/models/GetTransactionResponse.d.ts +5 -0
  30. package/esm/generated/models/InternalServerError.d.ts +16 -0
  31. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +33 -0
  32. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +23 -0
  33. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +6 -0
  34. package/esm/generated/models/ListAddressChainsResponse.d.ts +8 -0
  35. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +5 -0
  36. package/esm/generated/models/ListErc20BalancesResponse.d.ts +5 -0
  37. package/esm/generated/models/ListErc721BalancesResponse.d.ts +5 -0
  38. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +14 -0
  39. package/esm/generated/models/LogsFormat.d.ts +1 -1
  40. package/esm/generated/models/Metric.d.ts +14 -0
  41. package/esm/generated/models/NativeTransaction.d.ts +4 -0
  42. package/esm/generated/models/Network.d.ts +3 -1
  43. package/esm/generated/models/Network.js +1 -1
  44. package/esm/generated/models/NotFound.d.ts +16 -0
  45. package/esm/generated/models/PChainTransaction.d.ts +14 -0
  46. package/esm/generated/models/PChainTransactionType.d.ts +5 -0
  47. package/esm/generated/models/PChainTransactionType.js +1 -1
  48. package/esm/generated/models/PrimaryNetworkBlock.d.ts +2 -0
  49. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +2 -2
  50. package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
  51. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +9 -0
  52. package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -0
  53. package/esm/generated/models/PrimaryNetworkTxType.d.ts +5 -0
  54. package/esm/generated/models/PrimaryNetworkTxType.js +1 -1
  55. package/esm/generated/models/RequestType.d.ts +2 -2
  56. package/esm/generated/models/RequestType.js +1 -1
  57. package/esm/generated/models/RpcMetrics.d.ts +14 -0
  58. package/esm/generated/models/RpcUsageMetricsGroupByEnum.d.ts +7 -0
  59. package/esm/generated/models/RpcUsageMetricsGroupByEnum.js +1 -0
  60. package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +51 -0
  61. package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -0
  62. package/esm/generated/models/ServiceUnavailable.d.ts +16 -0
  63. package/esm/generated/models/SignatureAggregationResponse.d.ts +5 -0
  64. package/esm/generated/models/SignatureAggregatorRequest.d.ts +8 -0
  65. package/esm/generated/models/Subnet.d.ts +13 -0
  66. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.d.ts +8 -0
  67. package/esm/generated/models/SubnetRpcTimeIntervalGranularity.js +1 -0
  68. package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +18 -0
  69. package/esm/generated/models/TeleporterMessageInfo.d.ts +16 -0
  70. package/esm/generated/models/TooManyRequests.d.ts +16 -0
  71. package/esm/generated/models/TransactionDirectionType.d.ts +6 -0
  72. package/esm/generated/models/TransactionDirectionType.js +1 -0
  73. package/esm/generated/models/Unauthorized.d.ts +16 -0
  74. package/esm/generated/models/UpdateWebhookRequest.d.ts +3 -0
  75. package/esm/generated/models/UsageMetricsGroupByEnum.d.ts +2 -1
  76. package/esm/generated/models/UsageMetricsGroupByEnum.js +1 -1
  77. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +3 -1
  78. package/esm/generated/models/UsageMetricsValueDTO.d.ts +53 -0
  79. package/esm/generated/models/UsageMetricsValueDTO.js +1 -0
  80. package/esm/generated/models/XChainId.d.ts +1 -0
  81. package/esm/generated/models/XChainId.js +1 -1
  82. package/esm/generated/services/DataApiUsageMetricsService.d.ts +204 -0
  83. package/esm/generated/services/DataApiUsageMetricsService.js +1 -0
  84. package/esm/generated/services/EvmBalancesService.d.ts +10 -10
  85. package/esm/generated/services/EvmBalancesService.js +1 -1
  86. package/esm/generated/services/EvmBlocksService.d.ts +25 -4
  87. package/esm/generated/services/EvmBlocksService.js +1 -1
  88. package/esm/generated/services/EvmChainsService.d.ts +86 -8
  89. package/esm/generated/services/EvmChainsService.js +1 -1
  90. package/esm/generated/services/EvmContractsService.d.ts +4 -4
  91. package/esm/generated/services/EvmContractsService.js +1 -1
  92. package/esm/generated/services/EvmTransactionsService.d.ts +58 -25
  93. package/esm/generated/services/EvmTransactionsService.js +1 -1
  94. package/esm/generated/services/HealthCheckService.d.ts +1 -1
  95. package/esm/generated/services/HealthCheckService.js +1 -1
  96. package/esm/generated/services/NfTsService.d.ts +6 -6
  97. package/esm/generated/services/NfTsService.js +1 -1
  98. package/esm/generated/services/OperationsService.d.ts +2 -2
  99. package/esm/generated/services/OperationsService.js +1 -1
  100. package/esm/generated/services/PrimaryNetworkBalancesService.d.ts +2 -2
  101. package/esm/generated/services/PrimaryNetworkBalancesService.js +1 -1
  102. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +24 -8
  103. package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
  104. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +4 -4
  105. package/esm/generated/services/PrimaryNetworkRewardsService.js +1 -1
  106. package/esm/generated/services/PrimaryNetworkService.d.ts +52 -18
  107. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  108. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +13 -10
  109. package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
  110. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +2 -2
  111. package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
  112. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +6 -6
  113. package/esm/generated/services/PrimaryNetworkVerticesService.js +1 -1
  114. package/esm/generated/services/SignatureAggregatorService.d.ts +25 -0
  115. package/esm/generated/services/SignatureAggregatorService.js +1 -0
  116. package/esm/generated/services/TeleporterService.d.ts +34 -6
  117. package/esm/generated/services/TeleporterService.js +1 -1
  118. package/esm/generated/services/WebhooksService.d.ts +10 -10
  119. package/esm/generated/services/WebhooksService.js +1 -1
  120. package/esm/index.d.ts +30 -9
  121. package/esm/index.js +1 -1
  122. package/package.json +2 -2
  123. package/esm/generated/models/GlacierApiFeature.d.ts +0 -6
  124. package/esm/generated/models/GlacierApiFeature.js +0 -1
  125. package/esm/generated/models/NetworkType.d.ts +0 -6
  126. package/esm/generated/models/NetworkType.js +0 -1
  127. package/esm/generated/models/PrimaryNetwork.d.ts +0 -6
  128. package/esm/generated/models/PrimaryNetwork.js +0 -1
  129. package/esm/generated/models/RpcErrorDto.d.ts +0 -7
  130. package/esm/generated/models/RpcErrorResponseDto.d.ts +0 -9
  131. package/esm/generated/models/RpcRequestBodyDto.d.ts +0 -8
  132. package/esm/generated/models/RpcSuccessResponseDto.d.ts +0 -7
  133. package/esm/generated/services/GlacierApiUsageMetricsService.d.ts +0 -85
  134. package/esm/generated/services/GlacierApiUsageMetricsService.js +0 -1
  135. package/esm/generated/services/RpcService.d.ts +0 -25
  136. package/esm/generated/services/RpcService.js +0 -1
@@ -0,0 +1,16 @@
1
+ type BadRequest = {
2
+ /**
3
+ * The error message describing the reason for the exception
4
+ */
5
+ message: (string | Array<string>);
6
+ /**
7
+ * The HTTP status code of the response
8
+ */
9
+ statusCode: number;
10
+ /**
11
+ * The type of error
12
+ */
13
+ error: string;
14
+ };
15
+
16
+ export { BadRequest };
@@ -0,0 +1,6 @@
1
+ type BalanceOwner = {
2
+ addresses: Array<string>;
3
+ threshold: number;
4
+ };
5
+
6
+ export { BalanceOwner };
@@ -2,8 +2,10 @@ declare enum BlockchainId {
2
2
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3
3
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
4
4
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
5
+ _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
5
6
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
6
7
  Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
8
+ V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
7
9
  P_CHAIN = "p-chain",
8
10
  X_CHAIN = "x-chain",
9
11
  C_CHAIN = "c-chain"
@@ -1 +1 @@
1
- var _=(_=>(_._11111111111111111111111111111111LPO_YY="11111111111111111111111111111111LpoYY",_._2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M="2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",_._2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM="2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",_._2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5="2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",_.Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP="yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",_.P_CHAIN="p-chain",_.X_CHAIN="x-chain",_.C_CHAIN="c-chain",_))(_||{});export{_ as BlockchainId};
1
+ var _=(_=>(_._11111111111111111111111111111111LPO_YY="11111111111111111111111111111111LpoYY",_._2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M="2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",_._2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM="2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",_._2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V="2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",_._2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5="2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",_.Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP="yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",_.V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU="vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",_.P_CHAIN="p-chain",_.X_CHAIN="x-chain",_.C_CHAIN="c-chain",_))(_||{});export{_ as BlockchainId};
@@ -2,8 +2,10 @@ declare enum BlockchainIds {
2
2
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3
3
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
4
4
  _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
5
+ _2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
5
6
  _2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
6
- Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
7
+ Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
8
+ V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
7
9
  }
8
10
 
9
11
  export { BlockchainIds };
@@ -1 +1 @@
1
- var _=(_=>(_._11111111111111111111111111111111LPO_YY="11111111111111111111111111111111LpoYY",_._2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M="2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",_._2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM="2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",_._2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5="2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",_.Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP="yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",_))(_||{});export{_ as BlockchainIds};
1
+ var _=(_=>(_._11111111111111111111111111111111LPO_YY="11111111111111111111111111111111LpoYY",_._2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M="2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",_._2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM="2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",_._2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V="2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",_._2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5="2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",_.Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP="yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",_.V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU="vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",_))(_||{});export{_ as BlockchainIds};
@@ -20,7 +20,7 @@ type ChainInfo = {
20
20
  networkToken: NetworkToken;
21
21
  chainLogoUri?: string;
22
22
  private?: boolean;
23
- enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
23
+ enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
24
24
  };
25
25
 
26
26
  export { ChainInfo };
@@ -14,6 +14,7 @@ type CompletedValidatorDetails = {
14
14
  */
15
15
  blsCredentials?: BlsCredentials;
16
16
  delegatorCount: number;
17
+ amountDelegated?: string;
17
18
  rewards: Rewards;
18
19
  validationStatus: CompletedValidatorDetails.validationStatus;
19
20
  };
@@ -3,16 +3,16 @@ import { EVMOperationType } from './EVMOperationType.js';
3
3
 
4
4
  type CreateEvmTransactionExportRequest = {
5
5
  type: EVMOperationType;
6
- firstDate: string;
7
- lastDate: string;
6
+ firstDate?: string;
7
+ lastDate?: string;
8
8
  /**
9
9
  * @deprecated
10
10
  */
11
- startDate: string;
11
+ startDate?: string;
12
12
  /**
13
13
  * @deprecated
14
14
  */
15
- endDate: string;
15
+ endDate?: string;
16
16
  options: EvmNetworkOptions;
17
17
  };
18
18
 
@@ -3,16 +3,16 @@ import { PrimaryNetworkOptions } from './PrimaryNetworkOptions.js';
3
3
 
4
4
  type CreatePrimaryNetworkTransactionExportRequest = {
5
5
  type: PrimaryNetworkOperationType;
6
- firstDate: string;
7
- lastDate: string;
6
+ firstDate?: string;
7
+ lastDate?: string;
8
8
  /**
9
9
  * @deprecated
10
10
  */
11
- startDate: string;
11
+ startDate?: string;
12
12
  /**
13
13
  * @deprecated
14
14
  */
15
- endDate: string;
15
+ endDate?: string;
16
16
  options: PrimaryNetworkOptions;
17
17
  };
18
18
 
@@ -9,7 +9,7 @@ type CreateWebhookRequest = {
9
9
  name?: string;
10
10
  description?: string;
11
11
  /**
12
- * Whether to include traces in the webhook payload.
12
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
13
13
  */
14
14
  includeInternalTxs?: boolean;
15
15
  /**
@@ -0,0 +1,7 @@
1
+ import { ChainInfo } from './ChainInfo.js';
2
+
3
+ type DataListChainsResponse = {
4
+ chains: Array<ChainInfo>;
5
+ };
6
+
7
+ export { DataListChainsResponse };
@@ -38,11 +38,22 @@ type Erc20TokenBalance = {
38
38
  * The monetary value of the balance, if a price is available for the token.
39
39
  */
40
40
  balanceValue?: Money;
41
+ /**
42
+ * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
43
+ */
44
+ tokenReputation: Erc20TokenBalance.tokenReputation | null;
41
45
  };
42
46
  declare namespace Erc20TokenBalance {
43
47
  enum ercType {
44
48
  ERC_20 = "ERC-20"
45
49
  }
50
+ /**
51
+ * Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
52
+ */
53
+ enum tokenReputation {
54
+ MALICIOUS = "Malicious",
55
+ BENIGN = "Benign"
56
+ }
46
57
  }
47
58
 
48
59
  export { Erc20TokenBalance };
@@ -1 +1 @@
1
- var e,r;((r=e||(e={})).ercType||(r.ercType={})).ERC_20="ERC-20";export{e as Erc20TokenBalance};
1
+ var e,t,n;((t=e||(e={})).ercType||(t.ercType={})).ERC_20="ERC-20",(n=t.tokenReputation||(t.tokenReputation={})).MALICIOUS="Malicious",n.BENIGN="Benign";export{e as Erc20TokenBalance};
@@ -1,4 +1,8 @@
1
1
  type EvmBlock = {
2
+ /**
3
+ * The EVM chain ID on which the block was created.
4
+ */
5
+ chainId: string;
2
6
  /**
3
7
  * The block number on the chain.
4
8
  */
@@ -0,0 +1,16 @@
1
+ type Forbidden = {
2
+ /**
3
+ * The error message describing the reason for the exception
4
+ */
5
+ message: (string | Array<string>);
6
+ /**
7
+ * The HTTP status code of the response
8
+ */
9
+ statusCode: number;
10
+ /**
11
+ * The type of error
12
+ */
13
+ error: string;
14
+ };
15
+
16
+ export { Forbidden };
@@ -14,6 +14,10 @@ type FullNativeTransactionDetails = {
14
14
  * The block hash identifier.
15
15
  */
16
16
  blockHash: string;
17
+ /**
18
+ * The EVM chain ID on which the transaction occured.
19
+ */
20
+ chainId: string;
17
21
  /**
18
22
  * The index at which the transaction occured in the block (0-indexed).
19
23
  */
@@ -20,7 +20,7 @@ type GetChainResponse = {
20
20
  networkToken: NetworkToken;
21
21
  chainLogoUri?: string;
22
22
  private?: boolean;
23
- enabledFeatures?: Array<'nftIndexing' | 'webhooks'>;
23
+ enabledFeatures?: Array<'nftIndexing' | 'webhooks' | 'teleporter'>;
24
24
  };
25
25
 
26
26
  export { GetChainResponse };
@@ -1,4 +1,8 @@
1
1
  type GetEvmBlockResponse = {
2
+ /**
3
+ * The EVM chain ID on which the block was created.
4
+ */
5
+ chainId: string;
2
6
  /**
3
7
  * The block number on the chain.
4
8
  */
@@ -9,6 +9,8 @@ type GetPrimaryNetworkBlockResponse = {
9
9
  txCount: number;
10
10
  transactions: Array<string>;
11
11
  blockSizeBytes: number;
12
+ l1ValidatorsAccruedFees?: number;
13
+ activeL1Validators?: number;
12
14
  currentSupply?: string;
13
15
  proposerDetails?: ProposerDetails;
14
16
  };
@@ -4,6 +4,7 @@ import { Erc721TransferDetails } from './Erc721TransferDetails.js';
4
4
  import { FullNativeTransactionDetails } from './FullNativeTransactionDetails.js';
5
5
  import { InternalTransactionDetails } from './InternalTransactionDetails.js';
6
6
  import { NetworkTokenDetails } from './NetworkTokenDetails.js';
7
+ import { TeleporterMessageInfo } from './TeleporterMessageInfo.js';
7
8
 
8
9
  type GetTransactionResponse = {
9
10
  /**
@@ -24,6 +25,10 @@ type GetTransactionResponse = {
24
25
  internalTransactions?: Array<InternalTransactionDetails>;
25
26
  networkTokenDetails: NetworkTokenDetails;
26
27
  nativeTransaction: FullNativeTransactionDetails;
28
+ /**
29
+ * Corresponding teleporter message info if available.
30
+ */
31
+ teleporterMessageInfo?: TeleporterMessageInfo;
27
32
  };
28
33
 
29
34
  export { GetTransactionResponse };
@@ -0,0 +1,16 @@
1
+ type InternalServerError = {
2
+ /**
3
+ * The error message describing the reason for the exception
4
+ */
5
+ message: (string | Array<string>);
6
+ /**
7
+ * The HTTP status code of the response
8
+ */
9
+ statusCode: number;
10
+ /**
11
+ * The type of error
12
+ */
13
+ error: string;
14
+ };
15
+
16
+ export { InternalServerError };
@@ -0,0 +1,33 @@
1
+ import { BalanceOwner } from './BalanceOwner.js';
2
+
3
+ type L1ValidatorDetailsFull = {
4
+ /**
5
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
6
+ */
7
+ validationId: string;
8
+ nodeId: string;
9
+ subnetId: string;
10
+ /**
11
+ * Weight of the L1 validator used while sampling validators within the L1. A zero-weight L1 validator means it has been removed from the L1, and the validationID is no longer valid
12
+ */
13
+ weight: number;
14
+ /**
15
+ * Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
16
+ */
17
+ remainingBalance: number;
18
+ /**
19
+ * The timestamp of the transaction which created this L1 validator
20
+ */
21
+ creationTimestamp: number;
22
+ blsCredentials: Record<string, any>;
23
+ /**
24
+ * The L1 validator owner's balance, returned after it's disabled or removed
25
+ */
26
+ remainingBalanceOwner: BalanceOwner;
27
+ /**
28
+ * Owner ddresses details which can disable or remove the L1 validator
29
+ */
30
+ deactivationOwner: BalanceOwner;
31
+ };
32
+
33
+ export { L1ValidatorDetailsFull };
@@ -0,0 +1,23 @@
1
+ type L1ValidatorDetailsTransaction = {
2
+ /**
3
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4
+ */
5
+ validationId: string;
6
+ nodeId: string;
7
+ subnetId: string;
8
+ /**
9
+ * Weight of the L1 validator used while sampling validators within the L1. A zero-weight L1 validator means it has been removed from the L1, and the validationID is no longer valid
10
+ */
11
+ weight: number;
12
+ /**
13
+ * Remaining L1 validator balance in nAVAX until inactive. It can rejoin L1 sampling by increasing balance with IncreaseL1ValidatorBalanceTx
14
+ */
15
+ remainingBalance: number;
16
+ /**
17
+ * The increase in L1 validator balance in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
18
+ */
19
+ balanceChange?: number;
20
+ blsCredentials?: Record<string, any>;
21
+ };
22
+
23
+ export { L1ValidatorDetailsTransaction };
@@ -0,0 +1,6 @@
1
+ type L1ValidatorManagerDetails = {
2
+ blockchainId: string;
3
+ contractAddress: string;
4
+ };
5
+
6
+ export { L1ValidatorManagerDetails };
@@ -0,0 +1,8 @@
1
+ import { ChainInfo } from './ChainInfo.js';
2
+
3
+ type ListAddressChainsResponse = {
4
+ indexedChains?: Array<ChainInfo>;
5
+ unindexedChains?: Array<string>;
6
+ };
7
+
8
+ export { ListAddressChainsResponse };
@@ -1,10 +1,15 @@
1
1
  import { Erc1155TokenBalance } from './Erc1155TokenBalance.js';
2
+ import { NativeTokenBalance } from './NativeTokenBalance.js';
2
3
 
3
4
  type ListErc1155BalancesResponse = {
4
5
  /**
5
6
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
6
7
  */
7
8
  nextPageToken?: string;
9
+ /**
10
+ * The native token balance for the address.
11
+ */
12
+ nativeTokenBalance: NativeTokenBalance;
8
13
  /**
9
14
  * The list of ERC-1155 token balances for the address.
10
15
  */
@@ -1,10 +1,15 @@
1
1
  import { Erc20TokenBalance } from './Erc20TokenBalance.js';
2
+ import { NativeTokenBalance } from './NativeTokenBalance.js';
2
3
 
3
4
  type ListErc20BalancesResponse = {
4
5
  /**
5
6
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
6
7
  */
7
8
  nextPageToken?: string;
9
+ /**
10
+ * The native token balance for the address.
11
+ */
12
+ nativeTokenBalance: NativeTokenBalance;
8
13
  /**
9
14
  * The list of ERC-20 token balances for the address.
10
15
  */
@@ -1,10 +1,15 @@
1
1
  import { Erc721TokenBalance } from './Erc721TokenBalance.js';
2
+ import { NativeTokenBalance } from './NativeTokenBalance.js';
2
3
 
3
4
  type ListErc721BalancesResponse = {
4
5
  /**
5
6
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
6
7
  */
7
8
  nextPageToken?: string;
9
+ /**
10
+ * The native token balance for the address.
11
+ */
12
+ nativeTokenBalance: NativeTokenBalance;
8
13
  /**
9
14
  * The list of ERC-721 token balances for the address.
10
15
  */
@@ -0,0 +1,14 @@
1
+ import { L1ValidatorDetailsFull } from './L1ValidatorDetailsFull.js';
2
+
3
+ type ListL1ValidatorsResponse = {
4
+ /**
5
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
6
+ */
7
+ nextPageToken?: string;
8
+ /**
9
+ * The list of L1 validations for the given Subnet ID, NodeId or validationId
10
+ */
11
+ validators: Array<L1ValidatorDetailsFull>;
12
+ };
13
+
14
+ export { ListL1ValidatorsResponse };
@@ -46,7 +46,7 @@ type LogsFormat = {
46
46
  /**
47
47
  * The chain id of the request.
48
48
  */
49
- chainId?: number;
49
+ chainId?: string;
50
50
  /**
51
51
  * The rpc method of the request.
52
52
  */
@@ -0,0 +1,14 @@
1
+ import { UsageMetricsValueDTO } from './UsageMetricsValueDTO.js';
2
+
3
+ type Metric = {
4
+ /**
5
+ * The timestamp of the metrics value
6
+ */
7
+ timestamp: number;
8
+ /**
9
+ * The metrics values for the timestamp
10
+ */
11
+ values: Array<UsageMetricsValueDTO>;
12
+ };
13
+
14
+ export { Metric };
@@ -14,6 +14,10 @@ type NativeTransaction = {
14
14
  * The block hash identifier.
15
15
  */
16
16
  blockHash: string;
17
+ /**
18
+ * The EVM chain ID on which the transaction occured.
19
+ */
20
+ chainId: string;
17
21
  /**
18
22
  * The index at which the transaction occured in the block (0-indexed).
19
23
  */
@@ -1,6 +1,8 @@
1
1
  declare enum Network {
2
2
  MAINNET = "mainnet",
3
- FUJI = "fuji"
3
+ FUJI = "fuji",
4
+ TESTNET = "testnet",
5
+ DEVNET = "devnet"
4
6
  }
5
7
 
6
8
  export { Network };
@@ -1 +1 @@
1
- var a=(a=>(a.MAINNET="mainnet",a.FUJI="fuji",a))(a||{});export{a as Network};
1
+ var e=(e=>(e.MAINNET="mainnet",e.FUJI="fuji",e.TESTNET="testnet",e.DEVNET="devnet",e))(e||{});export{e as Network};
@@ -0,0 +1,16 @@
1
+ type NotFound = {
2
+ /**
3
+ * The error message describing the reason for the exception
4
+ */
5
+ message: (string | Array<string>);
6
+ /**
7
+ * The HTTP status code of the response
8
+ */
9
+ statusCode: number;
10
+ /**
11
+ * The type of error
12
+ */
13
+ error: string;
14
+ };
15
+
16
+ export { NotFound };
@@ -1,5 +1,7 @@
1
1
  import { AssetAmount } from './AssetAmount.js';
2
2
  import { BlsCredentials } from './BlsCredentials.js';
3
+ import { L1ValidatorDetailsTransaction } from './L1ValidatorDetailsTransaction.js';
4
+ import { L1ValidatorManagerDetails } from './L1ValidatorManagerDetails.js';
3
5
  import { PChainTransactionType } from './PChainTransactionType.js';
4
6
  import { PChainUtxo } from './PChainUtxo.js';
5
7
  import { SubnetOwnershipInfo } from './SubnetOwnershipInfo.js';
@@ -38,6 +40,10 @@ type PChainTransaction = {
38
40
  * A list of objects containing P-chain Asset basic info and the amount of that Asset ID. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
39
41
  */
40
42
  amountStaked: Array<AssetAmount>;
43
+ /**
44
+ * A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
45
+ */
46
+ amountL1ValidatorBalanceBurned: Array<AssetAmount>;
41
47
  /**
42
48
  * Present for AddValidatorTx, AddSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
43
49
  */
@@ -58,6 +64,14 @@ type PChainTransaction = {
58
64
  * Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx, CreateChainTx, CreateSubnetTx
59
65
  */
60
66
  subnetId?: string;
67
+ /**
68
+ * Details of the L1's validator manager contract and blockchain. Present for the ConvertSubnetToL1Tx which transforms a subnet into L1
69
+ */
70
+ l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
71
+ /**
72
+ * Details of L1 validators registered or changed in the current transaction. The details reflect the state at the time of the transaction, not in real-time
73
+ */
74
+ l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
61
75
  /**
62
76
  * Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
63
77
  */
@@ -14,6 +14,11 @@ declare enum PChainTransactionType {
14
14
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
15
15
  BASE_TX = "BaseTx",
16
16
  TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
17
+ CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
18
+ REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
19
+ SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
20
+ DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
21
+ INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
17
22
  UNKNOWN = "UNKNOWN"
18
23
  }
19
24
 
@@ -1 +1 @@
1
- var T=(T=>(T.ADD_VALIDATOR_TX="AddValidatorTx",T.ADD_SUBNET_VALIDATOR_TX="AddSubnetValidatorTx",T.ADD_DELEGATOR_TX="AddDelegatorTx",T.CREATE_CHAIN_TX="CreateChainTx",T.CREATE_SUBNET_TX="CreateSubnetTx",T.IMPORT_TX="ImportTx",T.EXPORT_TX="ExportTx",T.ADVANCE_TIME_TX="AdvanceTimeTx",T.REWARD_VALIDATOR_TX="RewardValidatorTx",T.REMOVE_SUBNET_VALIDATOR_TX="RemoveSubnetValidatorTx",T.TRANSFORM_SUBNET_TX="TransformSubnetTx",T.ADD_PERMISSIONLESS_VALIDATOR_TX="AddPermissionlessValidatorTx",T.ADD_PERMISSIONLESS_DELEGATOR_TX="AddPermissionlessDelegatorTx",T.BASE_TX="BaseTx",T.TRANSFER_SUBNET_OWNERSHIP_TX="TransferSubnetOwnershipTx",T.UNKNOWN="UNKNOWN",T))(T||{});export{T as PChainTransactionType};
1
+ var T=(T=>(T.ADD_VALIDATOR_TX="AddValidatorTx",T.ADD_SUBNET_VALIDATOR_TX="AddSubnetValidatorTx",T.ADD_DELEGATOR_TX="AddDelegatorTx",T.CREATE_CHAIN_TX="CreateChainTx",T.CREATE_SUBNET_TX="CreateSubnetTx",T.IMPORT_TX="ImportTx",T.EXPORT_TX="ExportTx",T.ADVANCE_TIME_TX="AdvanceTimeTx",T.REWARD_VALIDATOR_TX="RewardValidatorTx",T.REMOVE_SUBNET_VALIDATOR_TX="RemoveSubnetValidatorTx",T.TRANSFORM_SUBNET_TX="TransformSubnetTx",T.ADD_PERMISSIONLESS_VALIDATOR_TX="AddPermissionlessValidatorTx",T.ADD_PERMISSIONLESS_DELEGATOR_TX="AddPermissionlessDelegatorTx",T.BASE_TX="BaseTx",T.TRANSFER_SUBNET_OWNERSHIP_TX="TransferSubnetOwnershipTx",T.CONVERT_SUBNET_TO_L1TX="ConvertSubnetToL1Tx",T.REGISTER_L1VALIDATOR_TX="RegisterL1ValidatorTx",T.SET_L1VALIDATOR_WEIGHT_TX="SetL1ValidatorWeightTx",T.DISABLE_L1VALIDATOR_TX="DisableL1ValidatorTx",T.INCREASE_L1VALIDATOR_BALANCE_TX="IncreaseL1ValidatorBalanceTx",T.UNKNOWN="UNKNOWN",T))(T||{});export{T as PChainTransactionType};
@@ -9,6 +9,8 @@ type PrimaryNetworkBlock = {
9
9
  txCount: number;
10
10
  transactions: Array<string>;
11
11
  blockSizeBytes: number;
12
+ l1ValidatorsAccruedFees?: number;
13
+ activeL1Validators?: number;
12
14
  currentSupply?: string;
13
15
  proposerDetails?: ProposerDetails;
14
16
  };
@@ -1,9 +1,9 @@
1
- import { PrimaryNetwork } from './PrimaryNetwork.js';
1
+ import { Network } from './Network.js';
2
2
  import { PrimaryNetworkChainName } from './PrimaryNetworkChainName.js';
3
3
 
4
4
  type PrimaryNetworkChainInfo = {
5
5
  chainName: PrimaryNetworkChainName;
6
- network: PrimaryNetwork;
6
+ network: Network;
7
7
  };
8
8
 
9
9
  export { PrimaryNetworkChainInfo };
@@ -1,7 +1,7 @@
1
1
  type PrimaryNetworkOptions = {
2
2
  addresses?: Array<string>;
3
3
  cChainEvmAddresses?: Array<string>;
4
- includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
4
+ includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu' | 'p-chain' | 'x-chain' | 'c-chain'>;
5
5
  };
6
6
 
7
7
  export { PrimaryNetworkOptions };
@@ -0,0 +1,9 @@
1
+ declare enum PrimaryNetworkRpcMetricsGroupByEnum {
2
+ REQUEST_PATH = "requestPath",
3
+ RESPONSE_CODE = "responseCode",
4
+ COUNTRY = "country",
5
+ CONTINENT = "continent",
6
+ USER_AGENT = "userAgent"
7
+ }
8
+
9
+ export { PrimaryNetworkRpcMetricsGroupByEnum };
@@ -0,0 +1 @@
1
+ var e=(e=>(e.REQUEST_PATH="requestPath",e.RESPONSE_CODE="responseCode",e.COUNTRY="country",e.CONTINENT="continent",e.USER_AGENT="userAgent",e))(e||{});export{e as PrimaryNetworkRpcMetricsGroupByEnum};
@@ -14,6 +14,11 @@ declare enum PrimaryNetworkTxType {
14
14
  ADD_PERMISSIONLESS_DELEGATOR_TX = "AddPermissionlessDelegatorTx",
15
15
  BASE_TX = "BaseTx",
16
16
  TRANSFER_SUBNET_OWNERSHIP_TX = "TransferSubnetOwnershipTx",
17
+ CONVERT_SUBNET_TO_L1TX = "ConvertSubnetToL1Tx",
18
+ REGISTER_L1VALIDATOR_TX = "RegisterL1ValidatorTx",
19
+ SET_L1VALIDATOR_WEIGHT_TX = "SetL1ValidatorWeightTx",
20
+ DISABLE_L1VALIDATOR_TX = "DisableL1ValidatorTx",
21
+ INCREASE_L1VALIDATOR_BALANCE_TX = "IncreaseL1ValidatorBalanceTx",
17
22
  UNKNOWN = "UNKNOWN",
18
23
  CREATE_ASSET_TX = "CreateAssetTx",
19
24
  OPERATION_TX = "OperationTx"
@@ -1 +1 @@
1
- var T=(T=>(T.ADD_VALIDATOR_TX="AddValidatorTx",T.ADD_SUBNET_VALIDATOR_TX="AddSubnetValidatorTx",T.ADD_DELEGATOR_TX="AddDelegatorTx",T.CREATE_CHAIN_TX="CreateChainTx",T.CREATE_SUBNET_TX="CreateSubnetTx",T.IMPORT_TX="ImportTx",T.EXPORT_TX="ExportTx",T.ADVANCE_TIME_TX="AdvanceTimeTx",T.REWARD_VALIDATOR_TX="RewardValidatorTx",T.REMOVE_SUBNET_VALIDATOR_TX="RemoveSubnetValidatorTx",T.TRANSFORM_SUBNET_TX="TransformSubnetTx",T.ADD_PERMISSIONLESS_VALIDATOR_TX="AddPermissionlessValidatorTx",T.ADD_PERMISSIONLESS_DELEGATOR_TX="AddPermissionlessDelegatorTx",T.BASE_TX="BaseTx",T.TRANSFER_SUBNET_OWNERSHIP_TX="TransferSubnetOwnershipTx",T.UNKNOWN="UNKNOWN",T.CREATE_ASSET_TX="CreateAssetTx",T.OPERATION_TX="OperationTx",T))(T||{});export{T as PrimaryNetworkTxType};
1
+ var T=(T=>(T.ADD_VALIDATOR_TX="AddValidatorTx",T.ADD_SUBNET_VALIDATOR_TX="AddSubnetValidatorTx",T.ADD_DELEGATOR_TX="AddDelegatorTx",T.CREATE_CHAIN_TX="CreateChainTx",T.CREATE_SUBNET_TX="CreateSubnetTx",T.IMPORT_TX="ImportTx",T.EXPORT_TX="ExportTx",T.ADVANCE_TIME_TX="AdvanceTimeTx",T.REWARD_VALIDATOR_TX="RewardValidatorTx",T.REMOVE_SUBNET_VALIDATOR_TX="RemoveSubnetValidatorTx",T.TRANSFORM_SUBNET_TX="TransformSubnetTx",T.ADD_PERMISSIONLESS_VALIDATOR_TX="AddPermissionlessValidatorTx",T.ADD_PERMISSIONLESS_DELEGATOR_TX="AddPermissionlessDelegatorTx",T.BASE_TX="BaseTx",T.TRANSFER_SUBNET_OWNERSHIP_TX="TransferSubnetOwnershipTx",T.CONVERT_SUBNET_TO_L1TX="ConvertSubnetToL1Tx",T.REGISTER_L1VALIDATOR_TX="RegisterL1ValidatorTx",T.SET_L1VALIDATOR_WEIGHT_TX="SetL1ValidatorWeightTx",T.DISABLE_L1VALIDATOR_TX="DisableL1ValidatorTx",T.INCREASE_L1VALIDATOR_BALANCE_TX="IncreaseL1ValidatorBalanceTx",T.UNKNOWN="UNKNOWN",T.CREATE_ASSET_TX="CreateAssetTx",T.OPERATION_TX="OperationTx",T))(T||{});export{T as PrimaryNetworkTxType};
@@ -2,8 +2,8 @@
2
2
  * The type of request made by the client.
3
3
  */
4
4
  declare enum RequestType {
5
- GLACIER_API_REQUEST = "Glacier API Request",
6
- GLACIER_RPC_REQUEST = "Glacier RPC Request"
5
+ DATA = "data",
6
+ RPC = "rpc"
7
7
  }
8
8
 
9
9
  export { RequestType };
@@ -1 +1 @@
1
- var R=(R=>(R.GLACIER_API_REQUEST="Glacier API Request",R.GLACIER_RPC_REQUEST="Glacier RPC Request",R))(R||{});export{R as RequestType};
1
+ var a=(a=>(a.DATA="data",a.RPC="rpc",a))(a||{});export{a as RequestType};