@avalabs/glacier-sdk 3.1.0-canary.c4f6e67.0 → 3.1.0-canary.c5d5718.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 (210) hide show
  1. package/dist/{index.js → index.cjs} +1 -1
  2. package/dist/index.d.ts +587 -80
  3. package/esm/generated/Glacier.js +1 -1
  4. package/esm/generated/core/ApiRequestOptions.d.ts +1 -1
  5. package/esm/generated/core/ApiResult.d.ts +1 -1
  6. package/esm/generated/core/CancelablePromise.d.ts +2 -1
  7. package/esm/generated/core/FetchHttpRequest.d.ts +17 -0
  8. package/esm/generated/core/OpenAPI.d.ts +2 -1
  9. package/esm/generated/core/OpenAPI.js +1 -1
  10. package/esm/generated/models/AccessListData.d.ts +12 -0
  11. package/esm/generated/models/AccessRequest.d.ts +1 -1
  12. package/esm/generated/models/ActiveValidatorDetails.d.ts +5 -0
  13. package/esm/generated/models/AddressActivityMetadata.d.ts +1 -1
  14. package/esm/generated/models/AddressesChangeRequest.d.ts +1 -1
  15. package/esm/generated/models/AggregatedAssetAmount.d.ts +1 -1
  16. package/esm/generated/models/AssetAmount.d.ts +1 -1
  17. package/esm/generated/models/AssetWithPriceInfo.d.ts +1 -1
  18. package/esm/generated/models/BadGateway.d.ts +1 -1
  19. package/esm/generated/models/BadRequest.d.ts +1 -1
  20. package/esm/generated/models/BalanceOwner.d.ts +1 -1
  21. package/esm/generated/models/Blockchain.d.ts +5 -1
  22. package/esm/generated/models/BlsCredentials.d.ts +1 -1
  23. package/esm/generated/models/CChainAtomicBalances.d.ts +1 -1
  24. package/esm/generated/models/CChainSharedAssetBalance.d.ts +1 -1
  25. package/esm/generated/models/ChainAddressChainIdMap.d.ts +1 -1
  26. package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +1 -1
  27. package/esm/generated/models/ChainInfo.d.ts +1 -1
  28. package/esm/generated/models/CommonBalanceType.d.ts +17 -0
  29. package/esm/generated/models/CommonBalanceType.js +1 -0
  30. package/esm/generated/models/ContractDeploymentDetails.d.ts +1 -1
  31. package/esm/generated/models/ContractSubmissionBody.d.ts +1 -1
  32. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +1 -1
  33. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +1 -1
  34. package/esm/generated/models/DataListChainsResponse.d.ts +1 -1
  35. package/esm/generated/models/DelegatorsDetails.d.ts +1 -1
  36. package/esm/generated/models/ERCToken.d.ts +24 -0
  37. package/esm/generated/models/ERCTransfer.d.ts +50 -0
  38. package/esm/generated/models/{CreateWebhookRequest.d.ts → EVMAddressActivityRequest.d.ts} +11 -5
  39. package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
  40. package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +8 -8
  41. package/esm/generated/models/EVMInput.d.ts +1 -1
  42. package/esm/generated/models/EVMOutput.d.ts +1 -1
  43. package/esm/generated/models/Erc1155Contract.d.ts +1 -1
  44. package/esm/generated/models/Erc1155TokenMetadata.d.ts +1 -1
  45. package/esm/generated/models/Erc1155Transfer.d.ts +1 -1
  46. package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
  47. package/esm/generated/models/Erc20Contract.d.ts +1 -1
  48. package/esm/generated/models/Erc20Transfer.d.ts +1 -1
  49. package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
  50. package/esm/generated/models/Erc721Contract.d.ts +1 -1
  51. package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
  52. package/esm/generated/models/Erc721Transfer.d.ts +1 -1
  53. package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
  54. package/esm/generated/models/EventType.d.ts +3 -1
  55. package/esm/generated/models/EventType.js +1 -1
  56. package/esm/generated/models/EvmBlock.d.ts +1 -1
  57. package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
  58. package/esm/generated/models/Forbidden.d.ts +1 -1
  59. package/esm/generated/models/FullNativeTransactionDetails.d.ts +1 -1
  60. package/esm/generated/models/Geolocation.d.ts +24 -0
  61. package/esm/generated/models/GetChainResponse.d.ts +1 -1
  62. package/esm/generated/models/GetEvmBlockResponse.d.ts +1 -1
  63. package/esm/generated/models/GetNativeBalanceResponse.d.ts +1 -1
  64. package/esm/generated/models/GetNetworkDetailsResponse.d.ts +1 -1
  65. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -1
  66. package/esm/generated/models/GetTransactionResponse.d.ts +2 -2
  67. package/esm/generated/models/HistoricalReward.d.ts +1 -1
  68. package/esm/generated/models/IcmDestinationTransaction.d.ts +1 -1
  69. package/esm/generated/models/IcmReceipt.d.ts +1 -1
  70. package/esm/generated/models/IcmSourceTransaction.d.ts +1 -1
  71. package/esm/generated/models/ImageAsset.d.ts +1 -1
  72. package/esm/generated/models/InternalServerError.d.ts +1 -1
  73. package/esm/generated/models/InternalTransaction.d.ts +16 -17
  74. package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
  75. package/esm/generated/models/InternalTransactionOpCall.d.ts +1 -0
  76. package/esm/generated/models/InternalTransactionOpCall.js +1 -1
  77. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +5 -1
  78. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +5 -1
  79. package/esm/generated/models/L1ValidatorManagerDetails.d.ts +1 -1
  80. package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
  81. package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
  82. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
  83. package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
  84. package/esm/generated/models/ListChainsResponse.d.ts +1 -1
  85. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
  86. package/esm/generated/models/ListContractsResponse.d.ts +1 -1
  87. package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
  88. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +1 -1
  89. package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
  90. package/esm/generated/models/ListErc20BalancesResponse.d.ts +1 -1
  91. package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
  92. package/esm/generated/models/ListErc721BalancesResponse.d.ts +1 -1
  93. package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
  94. package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
  95. package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
  96. package/esm/generated/models/ListIcmMessagesResponse.d.ts +1 -1
  97. package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
  98. package/esm/generated/models/ListL1ValidatorsResponse.d.ts +1 -1
  99. package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
  100. package/esm/generated/models/ListNftTokens.d.ts +1 -1
  101. package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
  102. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
  103. package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
  104. package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
  105. package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
  106. package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
  107. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +1 -1
  108. package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
  109. package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
  110. package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
  111. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
  112. package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
  113. package/esm/generated/models/ListWebhooksResponse.d.ts +4 -3
  114. package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
  115. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
  116. package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
  117. package/esm/generated/models/Log.d.ts +40 -0
  118. package/esm/generated/models/LogsFormat.d.ts +1 -1
  119. package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
  120. package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
  121. package/esm/generated/models/Method.d.ts +1 -1
  122. package/esm/generated/models/Metric.d.ts +1 -1
  123. package/esm/generated/models/Money.d.ts +1 -1
  124. package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
  125. package/esm/generated/models/NativeTransaction.d.ts +1 -1
  126. package/esm/generated/models/Network.d.ts +1 -2
  127. package/esm/generated/models/Network.js +1 -1
  128. package/esm/generated/models/NetworkToken.d.ts +1 -1
  129. package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
  130. package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
  131. package/esm/generated/models/NextPageToken.d.ts +1 -1
  132. package/esm/generated/models/NotFound.d.ts +1 -1
  133. package/esm/generated/models/NotificationsResponse.d.ts +1 -1
  134. package/esm/generated/models/OperationStatusResponse.d.ts +1 -1
  135. package/esm/generated/models/PChainBalance.d.ts +1 -1
  136. package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
  137. package/esm/generated/models/PChainTransaction.d.ts +1 -1
  138. package/esm/generated/models/PChainUtxo.d.ts +1 -1
  139. package/esm/generated/models/PendingReward.d.ts +1 -1
  140. package/esm/generated/models/PlatformActivityKeyType.d.ts +10 -0
  141. package/esm/generated/models/PlatformActivityKeyType.js +1 -0
  142. package/esm/generated/models/PlatformActivityMetadata.d.ts +37 -0
  143. package/esm/generated/models/PlatformActivityRequest.d.ts +31 -0
  144. package/esm/generated/models/PlatformActivityRequest.js +1 -0
  145. package/esm/generated/models/PlatformActivityResponse.d.ts +17 -0
  146. package/esm/generated/models/PlatformActivitySubEvents.d.ts +11 -0
  147. package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +10 -0
  148. package/esm/generated/models/PlatformAddressActivitySubEventType.js +1 -0
  149. package/esm/generated/models/PlatformBalanceThresholdFilter.d.ts +11 -0
  150. package/esm/generated/models/PricingProviders.d.ts +1 -1
  151. package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -1
  152. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +1 -1
  153. package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
  154. package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
  155. package/esm/generated/models/PrimaryNetworkType.js +1 -0
  156. package/esm/generated/models/ProposerDetails.d.ts +1 -1
  157. package/esm/generated/models/ResourceLink.d.ts +1 -1
  158. package/esm/generated/models/Rewards.d.ts +1 -1
  159. package/esm/generated/models/RichAddress.d.ts +1 -1
  160. package/esm/generated/models/RpcMetrics.d.ts +1 -1
  161. package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
  162. package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
  163. package/esm/generated/models/SignatureAggregationResponse.d.ts +1 -1
  164. package/esm/generated/models/SignatureAggregatorRequest.d.ts +1 -1
  165. package/esm/generated/models/StakingDistribution.d.ts +1 -1
  166. package/esm/generated/models/Subnet.d.ts +3 -3
  167. package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
  168. package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +1 -1
  169. package/esm/generated/models/SubscribeRequest.d.ts +1 -1
  170. package/esm/generated/models/SubscriptionsRequest.d.ts +1 -1
  171. package/esm/generated/models/SubscriptionsResponse.d.ts +1 -1
  172. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
  173. package/esm/generated/models/TeleporterMessageInfo.d.ts +1 -1
  174. package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
  175. package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
  176. package/esm/generated/models/TooManyRequests.d.ts +1 -1
  177. package/esm/generated/models/Transaction.d.ts +121 -0
  178. package/esm/generated/models/TransactionDetails.d.ts +2 -2
  179. package/esm/generated/models/TransactionEvent.d.ts +15 -0
  180. package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
  181. package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
  182. package/esm/generated/models/Unauthorized.d.ts +1 -1
  183. package/esm/generated/models/UnknownContract.d.ts +1 -1
  184. package/esm/generated/models/UnsubscribeRequest.d.ts +1 -1
  185. package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
  186. package/esm/generated/models/UpdateWebhookRequest.d.ts +1 -1
  187. package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
  188. package/esm/generated/models/UtilityAddresses.d.ts +1 -1
  189. package/esm/generated/models/Utxo.d.ts +1 -1
  190. package/esm/generated/models/UtxoCredential.d.ts +1 -1
  191. package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
  192. package/esm/generated/models/ValidatorsDetails.d.ts +1 -1
  193. package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
  194. package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
  195. package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
  196. package/esm/generated/models/XChainBalances.d.ts +1 -1
  197. package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
  198. package/esm/generated/models/XChainVertex.d.ts +1 -1
  199. package/esm/generated/services/EvmBalancesService.d.ts +4 -4
  200. package/esm/generated/services/EvmTransactionsService.d.ts +1 -1
  201. package/esm/generated/services/InterchainMessagingService.d.ts +2 -2
  202. package/esm/generated/services/PrimaryNetworkService.d.ts +20 -3
  203. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  204. package/esm/generated/services/SignatureAggregatorService.d.ts +16 -0
  205. package/esm/generated/services/SignatureAggregatorService.js +1 -1
  206. package/esm/generated/services/WebhooksService.d.ts +23 -21
  207. package/esm/index.d.ts +22 -3
  208. package/esm/index.js +1 -1
  209. package/package.json +13 -4
  210. package/esm/generated/models/BlockchainInfo.d.ts +0 -5
package/dist/index.d.ts CHANGED
@@ -151,8 +151,7 @@ type LogsResponseDTO = {
151
151
  declare enum Network {
152
152
  MAINNET = "mainnet",
153
153
  FUJI = "fuji",
154
- TESTNET = "testnet",
155
- DEVNET = "devnet"
154
+ TESTNET = "testnet"
156
155
  }
157
156
 
158
157
  declare enum PrimaryNetworkRpcMetricsGroupByEnum {
@@ -969,7 +968,7 @@ declare class EvmBalancesService {
969
968
  */
970
969
  pageToken?: string;
971
970
  /**
972
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
971
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
973
972
  */
974
973
  pageSize?: number;
975
974
  /**
@@ -1007,7 +1006,7 @@ declare class EvmBalancesService {
1007
1006
  */
1008
1007
  pageToken?: string;
1009
1008
  /**
1010
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1009
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
1011
1010
  */
1012
1011
  pageSize?: number;
1013
1012
  /**
@@ -1043,7 +1042,7 @@ declare class EvmBalancesService {
1043
1042
  */
1044
1043
  pageToken?: string;
1045
1044
  /**
1046
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1045
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
1047
1046
  */
1048
1047
  pageSize?: number;
1049
1048
  /**
@@ -1073,7 +1072,7 @@ declare class EvmBalancesService {
1073
1072
  */
1074
1073
  pageToken?: string;
1075
1074
  /**
1076
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1075
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
1077
1076
  */
1078
1077
  pageSize?: number;
1079
1078
  /**
@@ -1729,7 +1728,7 @@ type Erc1155Contract = {
1729
1728
  * A wallet or contract address in mixed-case checksum encoding.
1730
1729
  */
1731
1730
  address: string;
1732
- deploymentDetails: ContractDeploymentDetails;
1731
+ deploymentDetails?: ContractDeploymentDetails;
1733
1732
  ercType: Erc1155Contract.ercType;
1734
1733
  /**
1735
1734
  * The contract symbol.
@@ -1760,7 +1759,7 @@ type Erc20Contract = {
1760
1759
  * A wallet or contract address in mixed-case checksum encoding.
1761
1760
  */
1762
1761
  address: string;
1763
- deploymentDetails: ContractDeploymentDetails;
1762
+ deploymentDetails?: ContractDeploymentDetails;
1764
1763
  ercType: Erc20Contract.ercType;
1765
1764
  /**
1766
1765
  * The contract symbol.
@@ -1795,7 +1794,7 @@ type Erc721Contract = {
1795
1794
  * A wallet or contract address in mixed-case checksum encoding.
1796
1795
  */
1797
1796
  address: string;
1798
- deploymentDetails: ContractDeploymentDetails;
1797
+ deploymentDetails?: ContractDeploymentDetails;
1799
1798
  ercType: Erc721Contract.ercType;
1800
1799
  /**
1801
1800
  * The contract symbol.
@@ -1825,7 +1824,7 @@ type UnknownContract = {
1825
1824
  * A wallet or contract address in mixed-case checksum encoding.
1826
1825
  */
1827
1826
  address: string;
1828
- deploymentDetails: ContractDeploymentDetails;
1827
+ deploymentDetails?: ContractDeploymentDetails;
1829
1828
  ercType: UnknownContract.ercType;
1830
1829
  };
1831
1830
  declare namespace UnknownContract {
@@ -2043,6 +2042,7 @@ declare enum InternalTransactionOpCall {
2043
2042
  CALL = "CALL",
2044
2043
  CREATE = "CREATE",
2045
2044
  CREATE2 = "CREATE2",
2045
+ CREATE3 = "CREATE3",
2046
2046
  CALLCODE = "CALLCODE",
2047
2047
  DELEGATECALL = "DELEGATECALL",
2048
2048
  STATICCALL = "STATICCALL"
@@ -2105,7 +2105,7 @@ type GetTransactionResponse = {
2105
2105
  */
2106
2106
  erc1155Transfers?: Array<Erc1155TransferDetails>;
2107
2107
  /**
2108
- * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2 calls. Use a client provider to recieve a full debug trace of the transaction.
2108
+ * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2/CREATE3 calls. Use a client provider to recieve a full debug trace of the transaction.
2109
2109
  */
2110
2110
  internalTransactions?: Array<InternalTransactionDetails>;
2111
2111
  networkTokenDetails: NetworkTokenDetails;
@@ -2221,31 +2221,33 @@ type ListErc721TransactionsResponse = {
2221
2221
 
2222
2222
  type InternalTransaction = {
2223
2223
  /**
2224
- * The block number on the chain.
2224
+ * Sender address
2225
2225
  */
2226
- blockNumber: string;
2226
+ from: string;
2227
2227
  /**
2228
- * The block finality timestamp.
2228
+ * Recipient address
2229
2229
  */
2230
- blockTimestamp: number;
2230
+ to: string;
2231
2231
  /**
2232
- * The block hash identifier.
2232
+ * Internal transaction type
2233
2233
  */
2234
- blockHash: string;
2234
+ internalTxType: string;
2235
2235
  /**
2236
- * The transaction hash identifier.
2236
+ * Value transferred
2237
2237
  */
2238
- txHash: string;
2239
- from: RichAddress;
2240
- to: RichAddress;
2241
- internalTxType: InternalTransactionOpCall;
2242
2238
  value: string;
2243
2239
  /**
2244
- * True if the internal transaction was reverted.
2240
+ * Gas used
2245
2241
  */
2246
- isReverted: boolean;
2247
2242
  gasUsed: string;
2243
+ /**
2244
+ * Gas limit
2245
+ */
2248
2246
  gasLimit: string;
2247
+ /**
2248
+ * Transaction hash
2249
+ */
2250
+ transactionHash: string;
2249
2251
  };
2250
2252
 
2251
2253
  type ListInternalTransactionsResponse = {
@@ -2274,7 +2276,7 @@ type TransactionDetails = {
2274
2276
  */
2275
2277
  erc1155Transfers?: Array<Erc1155TransferDetails>;
2276
2278
  /**
2277
- * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2 calls. Use a client provider to recieve a full debug trace of the transaction.
2279
+ * The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2/CREATE3 calls. Use a client provider to recieve a full debug trace of the transaction.
2278
2280
  */
2279
2281
  internalTransactions?: Array<InternalTransactionDetails>;
2280
2282
  };
@@ -2573,7 +2575,7 @@ declare class EvmTransactionsService {
2573
2575
  * List internal transactions
2574
2576
  * Returns a list of internal transactions for an address and chain. Filterable by block range.
2575
2577
  *
2576
- * Note that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.
2578
+ * Note that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2`/`CREATE3` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.
2577
2579
  * @returns ListInternalTransactionsResponse Successful response
2578
2580
  * @throws ApiError
2579
2581
  */
@@ -2850,13 +2852,13 @@ declare class InterchainMessagingService {
2850
2852
  constructor(httpRequest: BaseHttpRequest);
2851
2853
  /**
2852
2854
  * Get an ICM message
2853
- * Gets an ICM message by message ID.
2855
+ * Gets an ICM message by teleporter message ID.
2854
2856
  * @returns any Successful response
2855
2857
  * @throws ApiError
2856
2858
  */
2857
2859
  getIcmMessage({ messageId, }: {
2858
2860
  /**
2859
- * The message ID of the ICM message.
2861
+ * The teleporter message ID of the ICM message.
2860
2862
  */
2861
2863
  messageId: string;
2862
2864
  }): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
@@ -3226,6 +3228,19 @@ declare class OperationsService {
3226
3228
  }): CancelablePromise<OperationStatusResponse>;
3227
3229
  }
3228
3230
 
3231
+ type Blockchain = {
3232
+ createBlockTimestamp: number;
3233
+ createBlockNumber: string;
3234
+ blockchainId: string;
3235
+ vmId: string;
3236
+ subnetId: string;
3237
+ blockchainName: string;
3238
+ /**
3239
+ * EVM Chain ID for the EVM-based chains. This field is extracted from genesis data, and may be present for non-EVM chains as well.
3240
+ */
3241
+ evmChainId: number;
3242
+ };
3243
+
3229
3244
  declare enum BlockchainIds {
3230
3245
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3231
3246
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
@@ -3290,15 +3305,6 @@ type GetNetworkDetailsResponse = {
3290
3305
  delegatorDetails: DelegatorsDetails;
3291
3306
  };
3292
3307
 
3293
- type Blockchain = {
3294
- createBlockTimestamp: number;
3295
- createBlockNumber: string;
3296
- blockchainId: string;
3297
- vmId: string;
3298
- subnetId: string;
3299
- blockchainName: string;
3300
- };
3301
-
3302
3308
  type ListBlockchainsResponse = {
3303
3309
  /**
3304
3310
  * 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.
@@ -3394,6 +3400,10 @@ type L1ValidatorDetailsFull = {
3394
3400
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
3395
3401
  */
3396
3402
  validationId: string;
3403
+ /**
3404
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
3405
+ */
3406
+ validationIdHex: string;
3397
3407
  nodeId: string;
3398
3408
  subnetId: string;
3399
3409
  /**
@@ -3430,10 +3440,6 @@ type ListL1ValidatorsResponse = {
3430
3440
  validators: Array<L1ValidatorDetailsFull>;
3431
3441
  };
3432
3442
 
3433
- type BlockchainInfo = {
3434
- blockchainId: string;
3435
- };
3436
-
3437
3443
  type L1ValidatorManagerDetails = {
3438
3444
  blockchainId: string;
3439
3445
  contractAddress: string;
@@ -3489,7 +3495,7 @@ type Subnet = {
3489
3495
  * L1 validator manager details.
3490
3496
  */
3491
3497
  l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
3492
- blockchains: Array<BlockchainInfo>;
3498
+ blockchains: Array<Blockchain>;
3493
3499
  };
3494
3500
 
3495
3501
  type ListSubnetsResponse = {
@@ -3505,6 +3511,29 @@ type BlsCredentials = {
3505
3511
  proofOfPossession: string;
3506
3512
  };
3507
3513
 
3514
+ type Geolocation = {
3515
+ /**
3516
+ * The name of the validator node.
3517
+ */
3518
+ city: string;
3519
+ /**
3520
+ * The city of the validator node.
3521
+ */
3522
+ country: string;
3523
+ /**
3524
+ * The country code of the validator node.
3525
+ */
3526
+ countryCode: string;
3527
+ /**
3528
+ * The latitude of the validator node.
3529
+ */
3530
+ latitude: number;
3531
+ /**
3532
+ * The longitude of the validator node.
3533
+ */
3534
+ longitude: number;
3535
+ };
3536
+
3508
3537
  type Rewards = {
3509
3538
  validationRewardAmount: string;
3510
3539
  delegationRewardAmount: string;
@@ -3573,6 +3602,10 @@ type ActiveValidatorDetails = {
3573
3602
  potentialRewards: Rewards;
3574
3603
  validationStatus: ActiveValidatorDetails.validationStatus;
3575
3604
  validatorHealth: ValidatorHealthDetails;
3605
+ /**
3606
+ * The geographical location of the validator node, if available.
3607
+ */
3608
+ geolocation: Geolocation | null;
3576
3609
  };
3577
3610
  declare namespace ActiveValidatorDetails {
3578
3611
  enum validationStatus {
@@ -3809,6 +3842,22 @@ declare class PrimaryNetworkService {
3809
3842
  */
3810
3843
  sortOrder?: SortOrder;
3811
3844
  }): CancelablePromise<ListBlockchainsResponse>;
3845
+ /**
3846
+ * Get blockchain details by ID
3847
+ * Get details of the blockchain registered on the network.
3848
+ * @returns Blockchain Successful response
3849
+ * @throws ApiError
3850
+ */
3851
+ getBlockchainById({ blockchainId, network, }: {
3852
+ /**
3853
+ * The blockchain ID of the blockchain to retrieve.
3854
+ */
3855
+ blockchainId: string;
3856
+ /**
3857
+ * Either mainnet or testnet/fuji.
3858
+ */
3859
+ network: Network;
3860
+ }): CancelablePromise<Blockchain>;
3812
3861
  /**
3813
3862
  * List subnets
3814
3863
  * Lists all subnets registered on the network.
@@ -3851,7 +3900,7 @@ declare class PrimaryNetworkService {
3851
3900
  }): CancelablePromise<Subnet>;
3852
3901
  /**
3853
3902
  * List validators
3854
- * Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
3903
+ * Lists details for validators. By default, returns details for all validators. The nodeIds parameter supports substring matching. Filterable by validation status, delegation capacity, time remaining, fee percentage, uptime performance, and subnet id.
3855
3904
  * @returns ListValidatorDetailsResponse Successful response
3856
3905
  * @throws ApiError
3857
3906
  */
@@ -3869,7 +3918,7 @@ declare class PrimaryNetworkService {
3869
3918
  */
3870
3919
  pageSize?: number;
3871
3920
  /**
3872
- * A comma separated list of node ids to filter by.
3921
+ * A comma separated list of node ids to filter by. Supports substring matching.
3873
3922
  */
3874
3923
  nodeIds?: string;
3875
3924
  /**
@@ -4013,7 +4062,7 @@ declare class PrimaryNetworkService {
4013
4062
  /**
4014
4063
  * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
4015
4064
  */
4016
- l1ValidationId?: any;
4065
+ l1ValidationId?: string;
4017
4066
  includeInactiveL1Validators?: boolean;
4018
4067
  /**
4019
4068
  * A valid node ID in format 'NodeID-HASH'.
@@ -4796,6 +4845,10 @@ type L1ValidatorDetailsTransaction = {
4796
4845
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4797
4846
  */
4798
4847
  validationId: string;
4848
+ /**
4849
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
4850
+ */
4851
+ validationIdHex: string;
4799
4852
  nodeId: string;
4800
4853
  subnetId: string;
4801
4854
  /**
@@ -5558,6 +5611,22 @@ declare class SignatureAggregatorService {
5558
5611
  network: Network;
5559
5612
  requestBody: SignatureAggregatorRequest;
5560
5613
  }): CancelablePromise<SignatureAggregationResponse>;
5614
+ /**
5615
+ * Get Aggregated Signatures
5616
+ * Get Aggregated Signatures for a P-Chain L1 related Warp Message.
5617
+ * @returns SignatureAggregationResponse Successful response
5618
+ * @throws ApiError
5619
+ */
5620
+ getAggregatedSignatures({ network, txHash, }: {
5621
+ /**
5622
+ * Either mainnet or testnet/fuji.
5623
+ */
5624
+ network: Network;
5625
+ /**
5626
+ * A primary network (P or X chain) transaction hash.
5627
+ */
5628
+ txHash: string;
5629
+ }): CancelablePromise<SignatureAggregationResponse>;
5561
5630
  }
5562
5631
 
5563
5632
  type TeleporterDestinationTransaction = {
@@ -5799,15 +5868,16 @@ type AddressActivityMetadata = {
5799
5868
  eventSignatures?: Array<string>;
5800
5869
  };
5801
5870
 
5802
- declare enum EventType {
5803
- ADDRESS_ACTIVITY = "address_activity"
5871
+ declare enum PrimaryNetworkType {
5872
+ MAINNET = "mainnet",
5873
+ FUJI = "fuji"
5804
5874
  }
5805
5875
 
5806
- type CreateWebhookRequest = {
5876
+ type EVMAddressActivityRequest = {
5877
+ eventType: EVMAddressActivityRequest.eventType;
5807
5878
  url: string;
5808
5879
  chainId: string;
5809
- eventType: EventType;
5810
- metadata: AddressActivityMetadata;
5880
+ network?: PrimaryNetworkType;
5811
5881
  name?: string;
5812
5882
  description?: string;
5813
5883
  /**
@@ -5818,25 +5888,34 @@ type CreateWebhookRequest = {
5818
5888
  * Whether to include logs in the webhook payload.
5819
5889
  */
5820
5890
  includeLogs?: boolean;
5891
+ metadata: AddressActivityMetadata;
5821
5892
  };
5893
+ declare namespace EVMAddressActivityRequest {
5894
+ enum eventType {
5895
+ ADDRESS_ACTIVITY = "address_activity"
5896
+ }
5897
+ }
5822
5898
 
5823
- type ListWebhookAddressesResponse = {
5824
- /**
5825
- * 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.
5826
- */
5827
- nextPageToken?: string;
5828
- addresses: Array<string>;
5829
- totalAddresses: number;
5830
- };
5899
+ declare enum EventType {
5900
+ ADDRESS_ACTIVITY = "address_activity",
5901
+ PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
5902
+ VALIDATOR_ACTIVITY = "validator_activity"
5903
+ }
5831
5904
 
5832
5905
  declare enum WebhookStatusType {
5833
5906
  ACTIVE = "active",
5834
5907
  INACTIVE = "inactive"
5835
5908
  }
5836
5909
 
5837
- type WebhookResponse = {
5910
+ type EVMAddressActivityResponse = {
5838
5911
  id: string;
5839
5912
  eventType: EventType;
5913
+ url: string;
5914
+ chainId: string;
5915
+ status: WebhookStatusType;
5916
+ createdAt: number;
5917
+ name: string;
5918
+ description: string;
5840
5919
  metadata: AddressActivityMetadata;
5841
5920
  /**
5842
5921
  * Whether to include traces in the webhook payload.
@@ -5846,12 +5925,109 @@ type WebhookResponse = {
5846
5925
  * Whether to include logs in the webhook payload.
5847
5926
  */
5848
5927
  includeLogs?: boolean;
5928
+ };
5929
+
5930
+ type ListWebhookAddressesResponse = {
5931
+ /**
5932
+ * 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.
5933
+ */
5934
+ nextPageToken?: string;
5935
+ addresses: Array<string>;
5936
+ totalAddresses: number;
5937
+ };
5938
+
5939
+ /**
5940
+ * The type of key for platform activity depending on the event type
5941
+ */
5942
+ declare enum PlatformActivityKeyType {
5943
+ ADDRESSES = "addresses",
5944
+ NODE_ID = "nodeId",
5945
+ SUBNET_ID = "subnetId"
5946
+ }
5947
+
5948
+ /**
5949
+ * Array of address activity sub-event types
5950
+ */
5951
+ declare enum PlatformAddressActivitySubEventType {
5952
+ BALANCE_CHANGE_PLATFORM = "balance_change_platform",
5953
+ BALANCE_THRESHOLD_PLATFORM = "balance_threshold_platform",
5954
+ REWARD_DISTRIBUTION = "reward_distribution"
5955
+ }
5956
+
5957
+ type PlatformActivitySubEvents = {
5958
+ /**
5959
+ * Array of validator activity sub-event types
5960
+ */
5961
+ validatorActivitySubEvents?: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
5962
+ addressActivitySubEvents?: Array<PlatformAddressActivitySubEventType>;
5963
+ };
5964
+
5965
+ /**
5966
+ * Type of balance to monitor
5967
+ */
5968
+ declare enum CommonBalanceType {
5969
+ UNLOCKED_UNSTAKED = "unlockedUnstaked",
5970
+ UNLOCKED_STAKED = "unlockedStaked",
5971
+ LOCKED_PLATFORM = "lockedPlatform",
5972
+ LOCKED_STAKEABLE = "lockedStakeable",
5973
+ LOCKED_STAKED = "lockedStaked",
5974
+ PENDING_STAKED = "pendingStaked",
5975
+ UNLOCKED = "unlocked",
5976
+ LOCKED = "locked",
5977
+ ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
5978
+ ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
5979
+ }
5980
+
5981
+ type PlatformBalanceThresholdFilter = {
5982
+ balanceType: CommonBalanceType;
5983
+ /**
5984
+ * Threshold for balance corresponding to balanceType in nAVAX
5985
+ */
5986
+ balanceThreshold: string;
5987
+ };
5988
+
5989
+ type PlatformActivityMetadata = {
5990
+ keyType: PlatformActivityKeyType;
5991
+ /**
5992
+ * Array of keys like addresses, NodeID or SubnetID corresponding to the keyType being monitored. For PlatformAddressActivity event, an array of multiple addresses can be provided. ValidatorActivity event will only accept a single key
5993
+ */
5994
+ keys: Array<string>;
5995
+ /**
5996
+ * Sub-events to monitor
5997
+ */
5998
+ subEvents?: PlatformActivitySubEvents;
5999
+ /**
6000
+ * Array of hexadecimal strings of the event signatures.
6001
+ */
6002
+ eventSignatures?: Array<string>;
6003
+ /**
6004
+ * Array of node IDs to filter the events
6005
+ */
6006
+ nodeIds?: Array<string>;
6007
+ /**
6008
+ * Array of subnet IDs to filter the events
6009
+ */
6010
+ subnetIds?: Array<string>;
6011
+ /**
6012
+ * Balance threshold filter
6013
+ */
6014
+ balanceThresholdFilter?: PlatformBalanceThresholdFilter;
6015
+ /**
6016
+ * L1 validator fee balance threshold in nAVAX
6017
+ */
6018
+ l1ValidatorFeeBalanceThreshold?: string;
6019
+ };
6020
+
6021
+ type PlatformActivityResponse = {
6022
+ id: string;
6023
+ eventType: EventType;
5849
6024
  url: string;
5850
6025
  chainId: string;
5851
6026
  status: WebhookStatusType;
5852
6027
  createdAt: number;
5853
6028
  name: string;
5854
6029
  description: string;
6030
+ metadata: PlatformActivityMetadata;
5855
6031
  };
5856
6032
 
5857
6033
  type ListWebhooksResponse = {
@@ -5859,8 +6035,35 @@ type ListWebhooksResponse = {
5859
6035
  * 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.
5860
6036
  */
5861
6037
  nextPageToken?: string;
5862
- webhooks: Array<WebhookResponse>;
6038
+ webhooks: Array<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6039
+ };
6040
+
6041
+ type PlatformActivityRequest = {
6042
+ eventType: PlatformActivityRequest.eventType;
6043
+ url: string;
6044
+ chainId: string;
6045
+ network?: PrimaryNetworkType;
6046
+ name?: string;
6047
+ description?: string;
6048
+ /**
6049
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
6050
+ */
6051
+ includeInternalTxs?: boolean;
6052
+ /**
6053
+ * Whether to include logs in the webhook payload.
6054
+ */
6055
+ includeLogs?: boolean;
6056
+ /**
6057
+ * Metadata for platform activity
6058
+ */
6059
+ metadata: PlatformActivityMetadata;
5863
6060
  };
6061
+ declare namespace PlatformActivityRequest {
6062
+ enum eventType {
6063
+ PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
6064
+ VALIDATOR_ACTIVITY = "validator_activity"
6065
+ }
6066
+ }
5864
6067
 
5865
6068
  type SharedSecretsResponse = {
5866
6069
  secret: string;
@@ -5889,12 +6092,12 @@ declare class WebhooksService {
5889
6092
  /**
5890
6093
  * Create a webhook
5891
6094
  * Create a new webhook.
5892
- * @returns WebhookResponse Successful response
6095
+ * @returns any Successful response
5893
6096
  * @throws ApiError
5894
6097
  */
5895
6098
  createWebhook({ requestBody, }: {
5896
- requestBody: CreateWebhookRequest;
5897
- }): CancelablePromise<WebhookResponse>;
6099
+ requestBody: (EVMAddressActivityRequest | PlatformActivityRequest);
6100
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5898
6101
  /**
5899
6102
  * List webhooks
5900
6103
  * Lists webhooks for the user.
@@ -5918,7 +6121,7 @@ declare class WebhooksService {
5918
6121
  /**
5919
6122
  * Get a webhook by ID
5920
6123
  * Retrieves a webhook by ID.
5921
- * @returns WebhookResponse Successful response
6124
+ * @returns any Successful response
5922
6125
  * @throws ApiError
5923
6126
  */
5924
6127
  getWebhook({ id, }: {
@@ -5926,11 +6129,11 @@ declare class WebhooksService {
5926
6129
  * The webhook identifier.
5927
6130
  */
5928
6131
  id: string;
5929
- }): CancelablePromise<WebhookResponse>;
6132
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5930
6133
  /**
5931
6134
  * Deactivate a webhook
5932
6135
  * Deactivates a webhook by ID.
5933
- * @returns WebhookResponse Successful response
6136
+ * @returns any Successful response
5934
6137
  * @throws ApiError
5935
6138
  */
5936
6139
  deactivateWebhook({ id, }: {
@@ -5938,11 +6141,11 @@ declare class WebhooksService {
5938
6141
  * The webhook identifier.
5939
6142
  */
5940
6143
  id: string;
5941
- }): CancelablePromise<WebhookResponse>;
6144
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5942
6145
  /**
5943
6146
  * Update a webhook
5944
6147
  * Updates an existing webhook.
5945
- * @returns WebhookResponse Successful response
6148
+ * @returns any Successful response
5946
6149
  * @throws ApiError
5947
6150
  */
5948
6151
  updateWebhook({ id, requestBody, }: {
@@ -5951,7 +6154,7 @@ declare class WebhooksService {
5951
6154
  */
5952
6155
  id: string;
5953
6156
  requestBody: UpdateWebhookRequest;
5954
- }): CancelablePromise<WebhookResponse>;
6157
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5955
6158
  /**
5956
6159
  * Generate or rotate a shared secret
5957
6160
  * Generates a new shared secret or rotate an existing one.
@@ -5967,9 +6170,9 @@ declare class WebhooksService {
5967
6170
  */
5968
6171
  getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5969
6172
  /**
5970
- * Add addresses to webhook
5971
- * Add addresses to webhook.
5972
- * @returns WebhookResponse Successful response
6173
+ * Add addresses to EVM activity webhook
6174
+ * Add addresses to webhook. Only valid for EVM activity webhooks.
6175
+ * @returns EVMAddressActivityResponse Successful response
5973
6176
  * @throws ApiError
5974
6177
  */
5975
6178
  addAddressesToWebhook({ id, requestBody, }: {
@@ -5978,11 +6181,11 @@ declare class WebhooksService {
5978
6181
  */
5979
6182
  id: string;
5980
6183
  requestBody: AddressesChangeRequest;
5981
- }): CancelablePromise<WebhookResponse>;
6184
+ }): CancelablePromise<EVMAddressActivityResponse>;
5982
6185
  /**
5983
- * Remove addresses from webhook
5984
- * Remove addresses from webhook.
5985
- * @returns WebhookResponse Successful response
6186
+ * Remove addresses from EVM activity webhook
6187
+ * Remove addresses from webhook. Only valid for EVM activity webhooks.
6188
+ * @returns EVMAddressActivityResponse Successful response
5986
6189
  * @throws ApiError
5987
6190
  */
5988
6191
  removeAddressesFromWebhook({ id, requestBody, }: {
@@ -5991,10 +6194,10 @@ declare class WebhooksService {
5991
6194
  */
5992
6195
  id: string;
5993
6196
  requestBody: AddressesChangeRequest;
5994
- }): CancelablePromise<WebhookResponse>;
6197
+ }): CancelablePromise<EVMAddressActivityResponse>;
5995
6198
  /**
5996
- * List adresses by webhook
5997
- * List adresses by webhook.
6199
+ * List adresses by EVM activity webhooks
6200
+ * List adresses by webhook. Only valid for EVM activity webhooks.
5998
6201
  * @returns ListWebhookAddressesResponse Successful response
5999
6202
  * @throws ApiError
6000
6203
  */
@@ -6059,6 +6262,17 @@ declare class ApiError extends Error {
6059
6262
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
6060
6263
  }
6061
6264
 
6265
+ type AccessListData = {
6266
+ /**
6267
+ * Access Address
6268
+ */
6269
+ accessAddresses: string;
6270
+ /**
6271
+ * Storage keys
6272
+ */
6273
+ storageKeys: Array<string>;
6274
+ };
6275
+
6062
6276
  type BadGateway = {
6063
6277
  /**
6064
6278
  * The error message describing the reason for the exception
@@ -6093,6 +6307,76 @@ type DataListChainsResponse = {
6093
6307
  chains: Array<ChainInfo>;
6094
6308
  };
6095
6309
 
6310
+ type ERCToken = {
6311
+ /**
6312
+ * Token contract address
6313
+ */
6314
+ address: string;
6315
+ /**
6316
+ * Token name
6317
+ */
6318
+ name: string;
6319
+ /**
6320
+ * Token symbol
6321
+ */
6322
+ symbol: string;
6323
+ /**
6324
+ * Token decimals
6325
+ */
6326
+ decimals: number;
6327
+ /**
6328
+ * Value including decimals
6329
+ */
6330
+ valueWithDecimals: string;
6331
+ };
6332
+
6333
+ type ERCTransfer = {
6334
+ /**
6335
+ * Transaction hash
6336
+ */
6337
+ transactionHash: string;
6338
+ /**
6339
+ * Transfer type
6340
+ */
6341
+ type: string;
6342
+ /**
6343
+ * Sender address
6344
+ */
6345
+ from: string;
6346
+ /**
6347
+ * Recipient address
6348
+ */
6349
+ to: string;
6350
+ /**
6351
+ * Amount transferred
6352
+ */
6353
+ value: string;
6354
+ /**
6355
+ * Token Id
6356
+ */
6357
+ tokenId?: string;
6358
+ /**
6359
+ * Block timestamp
6360
+ */
6361
+ blockTimestamp: number;
6362
+ /**
6363
+ * Log index
6364
+ */
6365
+ logIndex: number;
6366
+ /**
6367
+ * erc20 Token details
6368
+ */
6369
+ erc20Token?: ERCToken;
6370
+ /**
6371
+ * erc721 Token details
6372
+ */
6373
+ erc721Token?: ERCToken;
6374
+ /**
6375
+ * erc1155 Token details
6376
+ */
6377
+ erc1155Token?: ERCToken;
6378
+ };
6379
+
6096
6380
  type Forbidden = {
6097
6381
  /**
6098
6382
  * The error message describing the reason for the exception
@@ -6123,6 +6407,64 @@ type InternalServerError = {
6123
6407
  error: string;
6124
6408
  };
6125
6409
 
6410
+ type Log = {
6411
+ /**
6412
+ * Contract address
6413
+ */
6414
+ address: string;
6415
+ /**
6416
+ * First topic
6417
+ */
6418
+ topic0: string;
6419
+ /**
6420
+ * Second topic (optional)
6421
+ */
6422
+ topic1?: string;
6423
+ /**
6424
+ * Third topic (optional)
6425
+ */
6426
+ topic2?: string;
6427
+ /**
6428
+ * Fourth topic (optional)
6429
+ */
6430
+ topic3?: string;
6431
+ /**
6432
+ * Event data
6433
+ */
6434
+ data: string;
6435
+ /**
6436
+ * Transaction index
6437
+ */
6438
+ transactionIndex: number;
6439
+ /**
6440
+ * Log index
6441
+ */
6442
+ logIndex: number;
6443
+ /**
6444
+ * Indicates if the log was removed
6445
+ */
6446
+ removed: boolean;
6447
+ };
6448
+
6449
+ type NetworkTokenInfo = {
6450
+ /**
6451
+ * Token name
6452
+ */
6453
+ tokenName?: string;
6454
+ /**
6455
+ * Token symbol
6456
+ */
6457
+ tokenSymbol?: string;
6458
+ /**
6459
+ * Token decimals
6460
+ */
6461
+ tokenDecimals?: number;
6462
+ /**
6463
+ * Value including decimals
6464
+ */
6465
+ valueWithDecimals?: string;
6466
+ };
6467
+
6126
6468
  type NextPageToken = {
6127
6469
  /**
6128
6470
  * 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.
@@ -6175,6 +6517,132 @@ type TooManyRequests = {
6175
6517
  error: string;
6176
6518
  };
6177
6519
 
6520
+ type Transaction = {
6521
+ /**
6522
+ * Block hash of the transaction
6523
+ */
6524
+ blockHash: string;
6525
+ /**
6526
+ * Block number of the transaction
6527
+ */
6528
+ blockNumber: string;
6529
+ /**
6530
+ * Sender address
6531
+ */
6532
+ from: string;
6533
+ /**
6534
+ * Gas limit for the transaction
6535
+ */
6536
+ gas: string;
6537
+ /**
6538
+ * Gas price used
6539
+ */
6540
+ gasPrice: string;
6541
+ /**
6542
+ * Maximum fee per gas
6543
+ */
6544
+ maxFeePerGas: string;
6545
+ /**
6546
+ * Maximum priority fee per gas
6547
+ */
6548
+ maxPriorityFeePerGas: string;
6549
+ /**
6550
+ * Transaction hash
6551
+ */
6552
+ txHash: string;
6553
+ /**
6554
+ * Transaction status
6555
+ */
6556
+ txStatus: string;
6557
+ /**
6558
+ * Input data
6559
+ */
6560
+ input: string;
6561
+ /**
6562
+ * Nonce value
6563
+ */
6564
+ nonce: string;
6565
+ /**
6566
+ * Recipient address
6567
+ */
6568
+ to: string;
6569
+ /**
6570
+ * Transaction index
6571
+ */
6572
+ transactionIndex: number;
6573
+ /**
6574
+ * Value transferred in the transaction
6575
+ */
6576
+ value: string;
6577
+ /**
6578
+ * Transaction type
6579
+ */
6580
+ type: number;
6581
+ /**
6582
+ * Chain ID of the network
6583
+ */
6584
+ chainId: string;
6585
+ /**
6586
+ * Cumulative gas used
6587
+ */
6588
+ receiptCumulativeGasUsed: string;
6589
+ /**
6590
+ * Gas used
6591
+ */
6592
+ receiptGasUsed: string;
6593
+ /**
6594
+ * Effective gas price
6595
+ */
6596
+ receiptEffectiveGasPrice: string;
6597
+ /**
6598
+ * Receipt root
6599
+ */
6600
+ receiptRoot: string;
6601
+ /**
6602
+ * Block timestamp
6603
+ */
6604
+ blockTimestamp: number;
6605
+ /**
6606
+ * Contract address (optional)
6607
+ */
6608
+ contractAddress?: string;
6609
+ /**
6610
+ * ERC20 transfers
6611
+ */
6612
+ erc20Transfers: Array<ERCTransfer>;
6613
+ /**
6614
+ * ERC721 transfers
6615
+ */
6616
+ erc721Transfers: Array<ERCTransfer>;
6617
+ /**
6618
+ * ERC1155 transfers
6619
+ */
6620
+ erc1155Transfers: Array<ERCTransfer>;
6621
+ /**
6622
+ * Internal transactions (optional)
6623
+ */
6624
+ internalTransactions?: Array<InternalTransaction>;
6625
+ /**
6626
+ * Access list (optional)
6627
+ */
6628
+ accessList?: Array<AccessListData>;
6629
+ /**
6630
+ * Network token info (optional)
6631
+ */
6632
+ networkToken?: NetworkTokenInfo;
6633
+ };
6634
+
6635
+ type TransactionEvent = {
6636
+ /**
6637
+ * Transaction details
6638
+ */
6639
+ transaction: Transaction;
6640
+ /**
6641
+ * Array of log events
6642
+ */
6643
+ logs?: Array<Log>;
6644
+ };
6645
+
6178
6646
  type Unauthorized = {
6179
6647
  /**
6180
6648
  * The error message describing the reason for the exception
@@ -6190,4 +6658,43 @@ type Unauthorized = {
6190
6658
  error: string;
6191
6659
  };
6192
6660
 
6193
- export { AccessRequest, ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmRewardDetails, IcmSourceTransaction, ImageAsset, InterchainMessagingService, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListIcmMessagesResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, NotificationsResponse, NotificationsService, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingIcmMessage, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
6661
+ type WebhookAddressActivityResponse = {
6662
+ /**
6663
+ * Webhook ID
6664
+ */
6665
+ webhookId: string;
6666
+ /**
6667
+ * Event type
6668
+ */
6669
+ eventType: WebhookAddressActivityResponse.eventType;
6670
+ /**
6671
+ * Message ID
6672
+ */
6673
+ messageId: string;
6674
+ /**
6675
+ * Event details
6676
+ */
6677
+ event: TransactionEvent;
6678
+ };
6679
+ declare namespace WebhookAddressActivityResponse {
6680
+ /**
6681
+ * Event type
6682
+ */
6683
+ enum eventType {
6684
+ ADDRESS_ACTIVITY = "address_activity"
6685
+ }
6686
+ }
6687
+
6688
+ declare class FetchHttpRequest extends BaseHttpRequest {
6689
+ constructor(config: OpenAPIConfig);
6690
+ /**
6691
+ * Request method
6692
+ * @param options The request options from the service
6693
+ * @returns CancelablePromise<T>
6694
+ * @throws ApiError
6695
+ */
6696
+ request<T>(options: ApiRequestOptions): CancelablePromise<T>;
6697
+ }
6698
+
6699
+ export { ActiveDelegatorDetails, ActiveValidatorDetails, ApiError, ApiFeature, BaseHttpRequest, BlockchainId, BlockchainIds, CChainExportTransaction, CChainImportTransaction, CancelError, CancelablePromise, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CurrencyCode, DataApiUsageMetricsService, DefaultService, DelegationStatusType, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMAddressActivityRequest, EVMOperationType, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc721Contract, Erc721Token, Erc721TokenBalance, EventType, EvmBalancesService, EvmBlocksService, EvmChainsService, EvmContractsService, EvmTransactionsService, FetchHttpRequest, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, IcmRewardDetails, InterchainMessagingService, InternalTransactionOpCall, Network, NfTsService, NftTokenMetadataStatus, NotificationsService, OpenAPI, OperationStatus, OperationStatusCode, OperationType, OperationsService, PChainId, PChainTransactionType, PendingDelegatorDetails, PendingIcmMessage, PendingTeleporterMessage, PendingValidatorDetails, PlatformActivityKeyType, PlatformActivityRequest, PlatformAddressActivitySubEventType, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlocksService, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, RemovedValidatorDetails, RequestType, ResourceLinkType, RewardType, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, SignatureAggregatorService, SortByOption, SortOrder, SubnetRpcTimeIntervalGranularity, TeleporterRewardDetails, TeleporterService, TimeIntervalGranularityExtended, TransactionDirectionType, TransactionMethodType, TransactionStatus, UnknownContract, UsageMetricsGroupByEnum, UsageMetricsValueDTO, UtxoType, ValidationStatusType, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainTransactionType };
6700
+ export type { AccessListData, AccessRequest, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiRequestOptions, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, Blockchain, BlsCredentials, CChainAtomicBalances, CChainSharedAssetBalance, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ContractDeploymentDetails, ContractSubmissionBody, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, DataListChainsResponse, DelegatorsDetails, ERCToken, ERCTransfer, EVMAddressActivityResponse, EVMInput, EVMOutput, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Transfer, Erc20TransferDetails, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EvmBlock, EvmNetworkOptions, Forbidden, FullNativeTransactionDetails, Geolocation, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmSourceTransaction, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListIcmMessagesResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Log, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NotFound, NotificationsResponse, OpenAPIConfig, OperationStatusResponse, PChainBalance, PChainSharedAsset, PChainTransaction, PChainUtxo, PendingReward, PlatformActivityMetadata, PlatformActivityResponse, PlatformActivitySubEvents, PlatformBalanceThresholdFilter, PricingProviders, PrimaryNetworkBlock, PrimaryNetworkChainInfo, PrimaryNetworkOptions, ProposerDetails, ResourceLink, Rewards, RichAddress, RpcMetrics, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterSourceTransaction, TooManyRequests, Transaction, TransactionDetails, TransactionEvent, TransactionExportMetadata, TransactionVertexDetail, Unauthorized, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsResponseDTO, UtilityAddresses, Utxo, UtxoCredential, ValidatorHealthDetails, ValidatorsDetails, XChainAssetDetails, XChainBalances, XChainSharedAssetBalance, XChainVertex };