@avalabs/glacier-sdk 3.1.0-canary.760172b.0 → 3.1.0-canary.7680973.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 (59) hide show
  1. package/dist/index.d.ts +569 -78
  2. package/dist/index.js +1 -1
  3. package/esm/generated/models/AccessListData.d.ts +12 -0
  4. package/esm/generated/models/ActiveValidatorDetails.d.ts +5 -0
  5. package/esm/generated/models/CommonBalanceType.d.ts +17 -0
  6. package/esm/generated/models/CommonBalanceType.js +1 -0
  7. package/esm/generated/models/ERCToken.d.ts +24 -0
  8. package/esm/generated/models/ERCTransfer.d.ts +50 -0
  9. package/esm/generated/models/{CreateWebhookRequest.d.ts → EVMAddressActivityRequest.d.ts} +11 -5
  10. package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
  11. package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +8 -8
  12. package/esm/generated/models/Erc1155Contract.d.ts +1 -1
  13. package/esm/generated/models/Erc20Contract.d.ts +1 -1
  14. package/esm/generated/models/Erc721Contract.d.ts +1 -1
  15. package/esm/generated/models/EventType.d.ts +3 -1
  16. package/esm/generated/models/EventType.js +1 -1
  17. package/esm/generated/models/Geolocation.d.ts +24 -0
  18. package/esm/generated/models/GetTransactionResponse.d.ts +1 -1
  19. package/esm/generated/models/InternalTransaction.d.ts +15 -16
  20. package/esm/generated/models/InternalTransactionOpCall.d.ts +1 -0
  21. package/esm/generated/models/InternalTransactionOpCall.js +1 -1
  22. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +4 -0
  23. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +4 -0
  24. package/esm/generated/models/ListWebhooksResponse.d.ts +3 -2
  25. package/esm/generated/models/Log.d.ts +40 -0
  26. package/esm/generated/models/Network.d.ts +1 -2
  27. package/esm/generated/models/Network.js +1 -1
  28. package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
  29. package/esm/generated/models/PlatformActivityKeyType.d.ts +10 -0
  30. package/esm/generated/models/PlatformActivityKeyType.js +1 -0
  31. package/esm/generated/models/PlatformActivityMetadata.d.ts +37 -0
  32. package/esm/generated/models/PlatformActivityRequest.d.ts +31 -0
  33. package/esm/generated/models/PlatformActivityRequest.js +1 -0
  34. package/esm/generated/models/PlatformActivityResponse.d.ts +17 -0
  35. package/esm/generated/models/PlatformActivitySubEvents.d.ts +11 -0
  36. package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +10 -0
  37. package/esm/generated/models/PlatformAddressActivitySubEventType.js +1 -0
  38. package/esm/generated/models/PlatformBalanceThresholdFilter.d.ts +11 -0
  39. package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
  40. package/esm/generated/models/PrimaryNetworkType.js +1 -0
  41. package/esm/generated/models/Subnet.d.ts +2 -2
  42. package/esm/generated/models/Transaction.d.ts +121 -0
  43. package/esm/generated/models/TransactionDetails.d.ts +1 -1
  44. package/esm/generated/models/TransactionEvent.d.ts +15 -0
  45. package/esm/generated/models/UnknownContract.d.ts +1 -1
  46. package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
  47. package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
  48. package/esm/generated/services/EvmBalancesService.d.ts +4 -4
  49. package/esm/generated/services/EvmTransactionsService.d.ts +1 -1
  50. package/esm/generated/services/InterchainMessagingService.d.ts +2 -2
  51. package/esm/generated/services/PrimaryNetworkService.d.ts +18 -1
  52. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  53. package/esm/generated/services/SignatureAggregatorService.d.ts +16 -0
  54. package/esm/generated/services/SignatureAggregatorService.js +1 -1
  55. package/esm/generated/services/WebhooksService.d.ts +23 -21
  56. package/esm/index.d.ts +20 -3
  57. package/esm/index.js +1 -1
  58. package/package.json +2 -2
  59. 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,15 @@ 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
+
3229
3240
  declare enum BlockchainIds {
3230
3241
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3231
3242
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
@@ -3290,15 +3301,6 @@ type GetNetworkDetailsResponse = {
3290
3301
  delegatorDetails: DelegatorsDetails;
3291
3302
  };
3292
3303
 
3293
- type Blockchain = {
3294
- createBlockTimestamp: number;
3295
- createBlockNumber: string;
3296
- blockchainId: string;
3297
- vmId: string;
3298
- subnetId: string;
3299
- blockchainName: string;
3300
- };
3301
-
3302
3304
  type ListBlockchainsResponse = {
3303
3305
  /**
3304
3306
  * 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 +3396,10 @@ type L1ValidatorDetailsFull = {
3394
3396
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
3395
3397
  */
3396
3398
  validationId: string;
3399
+ /**
3400
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
3401
+ */
3402
+ validationIdHex: string;
3397
3403
  nodeId: string;
3398
3404
  subnetId: string;
3399
3405
  /**
@@ -3430,10 +3436,6 @@ type ListL1ValidatorsResponse = {
3430
3436
  validators: Array<L1ValidatorDetailsFull>;
3431
3437
  };
3432
3438
 
3433
- type BlockchainInfo = {
3434
- blockchainId: string;
3435
- };
3436
-
3437
3439
  type L1ValidatorManagerDetails = {
3438
3440
  blockchainId: string;
3439
3441
  contractAddress: string;
@@ -3489,7 +3491,7 @@ type Subnet = {
3489
3491
  * L1 validator manager details.
3490
3492
  */
3491
3493
  l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
3492
- blockchains: Array<BlockchainInfo>;
3494
+ blockchains: Array<Blockchain>;
3493
3495
  };
3494
3496
 
3495
3497
  type ListSubnetsResponse = {
@@ -3505,6 +3507,29 @@ type BlsCredentials = {
3505
3507
  proofOfPossession: string;
3506
3508
  };
3507
3509
 
3510
+ type Geolocation = {
3511
+ /**
3512
+ * The name of the validator node.
3513
+ */
3514
+ city: string;
3515
+ /**
3516
+ * The city of the validator node.
3517
+ */
3518
+ country: string;
3519
+ /**
3520
+ * The country code of the validator node.
3521
+ */
3522
+ countryCode: string;
3523
+ /**
3524
+ * The latitude of the validator node.
3525
+ */
3526
+ latitude: number;
3527
+ /**
3528
+ * The longitude of the validator node.
3529
+ */
3530
+ longitude: number;
3531
+ };
3532
+
3508
3533
  type Rewards = {
3509
3534
  validationRewardAmount: string;
3510
3535
  delegationRewardAmount: string;
@@ -3573,6 +3598,10 @@ type ActiveValidatorDetails = {
3573
3598
  potentialRewards: Rewards;
3574
3599
  validationStatus: ActiveValidatorDetails.validationStatus;
3575
3600
  validatorHealth: ValidatorHealthDetails;
3601
+ /**
3602
+ * The geographical location of the validator node, if available.
3603
+ */
3604
+ geolocation: Geolocation | null;
3576
3605
  };
3577
3606
  declare namespace ActiveValidatorDetails {
3578
3607
  enum validationStatus {
@@ -3809,6 +3838,22 @@ declare class PrimaryNetworkService {
3809
3838
  */
3810
3839
  sortOrder?: SortOrder;
3811
3840
  }): CancelablePromise<ListBlockchainsResponse>;
3841
+ /**
3842
+ * Get blockchain details by ID
3843
+ * Get details of the blockchain registered on the network.
3844
+ * @returns Blockchain Successful response
3845
+ * @throws ApiError
3846
+ */
3847
+ getBlockchainById({ blockchainId, network, }: {
3848
+ /**
3849
+ * The blockchain ID of the blockchain to retrieve.
3850
+ */
3851
+ blockchainId: string;
3852
+ /**
3853
+ * Either mainnet or testnet/fuji.
3854
+ */
3855
+ network: Network;
3856
+ }): CancelablePromise<Blockchain>;
3812
3857
  /**
3813
3858
  * List subnets
3814
3859
  * Lists all subnets registered on the network.
@@ -4013,7 +4058,7 @@ declare class PrimaryNetworkService {
4013
4058
  /**
4014
4059
  * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
4015
4060
  */
4016
- l1ValidationId?: any;
4061
+ l1ValidationId?: string;
4017
4062
  includeInactiveL1Validators?: boolean;
4018
4063
  /**
4019
4064
  * A valid node ID in format 'NodeID-HASH'.
@@ -4796,6 +4841,10 @@ type L1ValidatorDetailsTransaction = {
4796
4841
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4797
4842
  */
4798
4843
  validationId: string;
4844
+ /**
4845
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
4846
+ */
4847
+ validationIdHex: string;
4799
4848
  nodeId: string;
4800
4849
  subnetId: string;
4801
4850
  /**
@@ -5558,6 +5607,22 @@ declare class SignatureAggregatorService {
5558
5607
  network: Network;
5559
5608
  requestBody: SignatureAggregatorRequest;
5560
5609
  }): CancelablePromise<SignatureAggregationResponse>;
5610
+ /**
5611
+ * Get Aggregated Signatures
5612
+ * Get Aggregated Signatures for a P-Chain L1 related Warp Message.
5613
+ * @returns SignatureAggregationResponse Successful response
5614
+ * @throws ApiError
5615
+ */
5616
+ getAggregatedSignatures({ network, txHash, }: {
5617
+ /**
5618
+ * Either mainnet or testnet/fuji.
5619
+ */
5620
+ network: Network;
5621
+ /**
5622
+ * A primary network (P or X chain) transaction hash.
5623
+ */
5624
+ txHash: string;
5625
+ }): CancelablePromise<SignatureAggregationResponse>;
5561
5626
  }
5562
5627
 
5563
5628
  type TeleporterDestinationTransaction = {
@@ -5799,15 +5864,16 @@ type AddressActivityMetadata = {
5799
5864
  eventSignatures?: Array<string>;
5800
5865
  };
5801
5866
 
5802
- declare enum EventType {
5803
- ADDRESS_ACTIVITY = "address_activity"
5867
+ declare enum PrimaryNetworkType {
5868
+ MAINNET = "mainnet",
5869
+ FUJI = "fuji"
5804
5870
  }
5805
5871
 
5806
- type CreateWebhookRequest = {
5872
+ type EVMAddressActivityRequest = {
5873
+ eventType: EVMAddressActivityRequest.eventType;
5807
5874
  url: string;
5808
5875
  chainId: string;
5809
- eventType: EventType;
5810
- metadata: AddressActivityMetadata;
5876
+ network?: PrimaryNetworkType;
5811
5877
  name?: string;
5812
5878
  description?: string;
5813
5879
  /**
@@ -5818,25 +5884,34 @@ type CreateWebhookRequest = {
5818
5884
  * Whether to include logs in the webhook payload.
5819
5885
  */
5820
5886
  includeLogs?: boolean;
5887
+ metadata: AddressActivityMetadata;
5821
5888
  };
5889
+ declare namespace EVMAddressActivityRequest {
5890
+ enum eventType {
5891
+ ADDRESS_ACTIVITY = "address_activity"
5892
+ }
5893
+ }
5822
5894
 
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
- };
5895
+ declare enum EventType {
5896
+ ADDRESS_ACTIVITY = "address_activity",
5897
+ PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
5898
+ VALIDATOR_ACTIVITY = "validator_activity"
5899
+ }
5831
5900
 
5832
5901
  declare enum WebhookStatusType {
5833
5902
  ACTIVE = "active",
5834
5903
  INACTIVE = "inactive"
5835
5904
  }
5836
5905
 
5837
- type WebhookResponse = {
5906
+ type EVMAddressActivityResponse = {
5838
5907
  id: string;
5839
5908
  eventType: EventType;
5909
+ url: string;
5910
+ chainId: string;
5911
+ status: WebhookStatusType;
5912
+ createdAt: number;
5913
+ name: string;
5914
+ description: string;
5840
5915
  metadata: AddressActivityMetadata;
5841
5916
  /**
5842
5917
  * Whether to include traces in the webhook payload.
@@ -5846,12 +5921,109 @@ type WebhookResponse = {
5846
5921
  * Whether to include logs in the webhook payload.
5847
5922
  */
5848
5923
  includeLogs?: boolean;
5924
+ };
5925
+
5926
+ type ListWebhookAddressesResponse = {
5927
+ /**
5928
+ * 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.
5929
+ */
5930
+ nextPageToken?: string;
5931
+ addresses: Array<string>;
5932
+ totalAddresses: number;
5933
+ };
5934
+
5935
+ /**
5936
+ * The type of key for platform activity depending on the event type
5937
+ */
5938
+ declare enum PlatformActivityKeyType {
5939
+ ADDRESSES = "addresses",
5940
+ NODE_ID = "nodeId",
5941
+ SUBNET_ID = "subnetId"
5942
+ }
5943
+
5944
+ /**
5945
+ * Array of address activity sub-event types
5946
+ */
5947
+ declare enum PlatformAddressActivitySubEventType {
5948
+ BALANCE_CHANGE_PLATFORM = "balance_change_platform",
5949
+ BALANCE_THRESHOLD_PLATFORM = "balance_threshold_platform",
5950
+ REWARD_DISTRIBUTION = "reward_distribution"
5951
+ }
5952
+
5953
+ type PlatformActivitySubEvents = {
5954
+ /**
5955
+ * Array of validator activity sub-event types
5956
+ */
5957
+ validatorActivitySubEvents?: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
5958
+ addressActivitySubEvents?: Array<PlatformAddressActivitySubEventType>;
5959
+ };
5960
+
5961
+ /**
5962
+ * Type of balance to monitor
5963
+ */
5964
+ declare enum CommonBalanceType {
5965
+ UNLOCKED_UNSTAKED = "unlockedUnstaked",
5966
+ UNLOCKED_STAKED = "unlockedStaked",
5967
+ LOCKED_PLATFORM = "lockedPlatform",
5968
+ LOCKED_STAKEABLE = "lockedStakeable",
5969
+ LOCKED_STAKED = "lockedStaked",
5970
+ PENDING_STAKED = "pendingStaked",
5971
+ UNLOCKED = "unlocked",
5972
+ LOCKED = "locked",
5973
+ ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
5974
+ ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
5975
+ }
5976
+
5977
+ type PlatformBalanceThresholdFilter = {
5978
+ balanceType: CommonBalanceType;
5979
+ /**
5980
+ * Threshold for balance corresponding to balanceType in nAVAX
5981
+ */
5982
+ balanceThreshold: string;
5983
+ };
5984
+
5985
+ type PlatformActivityMetadata = {
5986
+ keyType: PlatformActivityKeyType;
5987
+ /**
5988
+ * 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
5989
+ */
5990
+ keys: Array<string>;
5991
+ /**
5992
+ * Sub-events to monitor
5993
+ */
5994
+ subEvents?: PlatformActivitySubEvents;
5995
+ /**
5996
+ * Array of hexadecimal strings of the event signatures.
5997
+ */
5998
+ eventSignatures?: Array<string>;
5999
+ /**
6000
+ * Array of node IDs to filter the events
6001
+ */
6002
+ nodeIds?: Array<string>;
6003
+ /**
6004
+ * Array of subnet IDs to filter the events
6005
+ */
6006
+ subnetIds?: Array<string>;
6007
+ /**
6008
+ * Balance threshold filter
6009
+ */
6010
+ balanceThresholdFilter?: PlatformBalanceThresholdFilter;
6011
+ /**
6012
+ * L1 validator fee balance threshold in nAVAX
6013
+ */
6014
+ l1ValidatorFeeBalanceThreshold?: string;
6015
+ };
6016
+
6017
+ type PlatformActivityResponse = {
6018
+ id: string;
6019
+ eventType: EventType;
5849
6020
  url: string;
5850
6021
  chainId: string;
5851
6022
  status: WebhookStatusType;
5852
6023
  createdAt: number;
5853
6024
  name: string;
5854
6025
  description: string;
6026
+ metadata: PlatformActivityMetadata;
5855
6027
  };
5856
6028
 
5857
6029
  type ListWebhooksResponse = {
@@ -5859,8 +6031,35 @@ type ListWebhooksResponse = {
5859
6031
  * 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
6032
  */
5861
6033
  nextPageToken?: string;
5862
- webhooks: Array<WebhookResponse>;
6034
+ webhooks: Array<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6035
+ };
6036
+
6037
+ type PlatformActivityRequest = {
6038
+ eventType: PlatformActivityRequest.eventType;
6039
+ url: string;
6040
+ chainId: string;
6041
+ network?: PrimaryNetworkType;
6042
+ name?: string;
6043
+ description?: string;
6044
+ /**
6045
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
6046
+ */
6047
+ includeInternalTxs?: boolean;
6048
+ /**
6049
+ * Whether to include logs in the webhook payload.
6050
+ */
6051
+ includeLogs?: boolean;
6052
+ /**
6053
+ * Metadata for platform activity
6054
+ */
6055
+ metadata: PlatformActivityMetadata;
5863
6056
  };
6057
+ declare namespace PlatformActivityRequest {
6058
+ enum eventType {
6059
+ PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
6060
+ VALIDATOR_ACTIVITY = "validator_activity"
6061
+ }
6062
+ }
5864
6063
 
5865
6064
  type SharedSecretsResponse = {
5866
6065
  secret: string;
@@ -5889,12 +6088,12 @@ declare class WebhooksService {
5889
6088
  /**
5890
6089
  * Create a webhook
5891
6090
  * Create a new webhook.
5892
- * @returns WebhookResponse Successful response
6091
+ * @returns any Successful response
5893
6092
  * @throws ApiError
5894
6093
  */
5895
6094
  createWebhook({ requestBody, }: {
5896
- requestBody: CreateWebhookRequest;
5897
- }): CancelablePromise<WebhookResponse>;
6095
+ requestBody: (EVMAddressActivityRequest | PlatformActivityRequest);
6096
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5898
6097
  /**
5899
6098
  * List webhooks
5900
6099
  * Lists webhooks for the user.
@@ -5918,7 +6117,7 @@ declare class WebhooksService {
5918
6117
  /**
5919
6118
  * Get a webhook by ID
5920
6119
  * Retrieves a webhook by ID.
5921
- * @returns WebhookResponse Successful response
6120
+ * @returns any Successful response
5922
6121
  * @throws ApiError
5923
6122
  */
5924
6123
  getWebhook({ id, }: {
@@ -5926,11 +6125,11 @@ declare class WebhooksService {
5926
6125
  * The webhook identifier.
5927
6126
  */
5928
6127
  id: string;
5929
- }): CancelablePromise<WebhookResponse>;
6128
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5930
6129
  /**
5931
6130
  * Deactivate a webhook
5932
6131
  * Deactivates a webhook by ID.
5933
- * @returns WebhookResponse Successful response
6132
+ * @returns any Successful response
5934
6133
  * @throws ApiError
5935
6134
  */
5936
6135
  deactivateWebhook({ id, }: {
@@ -5938,11 +6137,11 @@ declare class WebhooksService {
5938
6137
  * The webhook identifier.
5939
6138
  */
5940
6139
  id: string;
5941
- }): CancelablePromise<WebhookResponse>;
6140
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5942
6141
  /**
5943
6142
  * Update a webhook
5944
6143
  * Updates an existing webhook.
5945
- * @returns WebhookResponse Successful response
6144
+ * @returns any Successful response
5946
6145
  * @throws ApiError
5947
6146
  */
5948
6147
  updateWebhook({ id, requestBody, }: {
@@ -5951,7 +6150,7 @@ declare class WebhooksService {
5951
6150
  */
5952
6151
  id: string;
5953
6152
  requestBody: UpdateWebhookRequest;
5954
- }): CancelablePromise<WebhookResponse>;
6153
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5955
6154
  /**
5956
6155
  * Generate or rotate a shared secret
5957
6156
  * Generates a new shared secret or rotate an existing one.
@@ -5967,9 +6166,9 @@ declare class WebhooksService {
5967
6166
  */
5968
6167
  getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5969
6168
  /**
5970
- * Add addresses to webhook
5971
- * Add addresses to webhook.
5972
- * @returns WebhookResponse Successful response
6169
+ * Add addresses to EVM activity webhook
6170
+ * Add addresses to webhook. Only valid for EVM activity webhooks.
6171
+ * @returns EVMAddressActivityResponse Successful response
5973
6172
  * @throws ApiError
5974
6173
  */
5975
6174
  addAddressesToWebhook({ id, requestBody, }: {
@@ -5978,11 +6177,11 @@ declare class WebhooksService {
5978
6177
  */
5979
6178
  id: string;
5980
6179
  requestBody: AddressesChangeRequest;
5981
- }): CancelablePromise<WebhookResponse>;
6180
+ }): CancelablePromise<EVMAddressActivityResponse>;
5982
6181
  /**
5983
- * Remove addresses from webhook
5984
- * Remove addresses from webhook.
5985
- * @returns WebhookResponse Successful response
6182
+ * Remove addresses from EVM activity webhook
6183
+ * Remove addresses from webhook. Only valid for EVM activity webhooks.
6184
+ * @returns EVMAddressActivityResponse Successful response
5986
6185
  * @throws ApiError
5987
6186
  */
5988
6187
  removeAddressesFromWebhook({ id, requestBody, }: {
@@ -5991,10 +6190,10 @@ declare class WebhooksService {
5991
6190
  */
5992
6191
  id: string;
5993
6192
  requestBody: AddressesChangeRequest;
5994
- }): CancelablePromise<WebhookResponse>;
6193
+ }): CancelablePromise<EVMAddressActivityResponse>;
5995
6194
  /**
5996
- * List adresses by webhook
5997
- * List adresses by webhook.
6195
+ * List adresses by EVM activity webhooks
6196
+ * List adresses by webhook. Only valid for EVM activity webhooks.
5998
6197
  * @returns ListWebhookAddressesResponse Successful response
5999
6198
  * @throws ApiError
6000
6199
  */
@@ -6059,6 +6258,17 @@ declare class ApiError extends Error {
6059
6258
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
6060
6259
  }
6061
6260
 
6261
+ type AccessListData = {
6262
+ /**
6263
+ * Access Address
6264
+ */
6265
+ accessAddresses: string;
6266
+ /**
6267
+ * Storage keys
6268
+ */
6269
+ storageKeys: Array<string>;
6270
+ };
6271
+
6062
6272
  type BadGateway = {
6063
6273
  /**
6064
6274
  * The error message describing the reason for the exception
@@ -6093,6 +6303,76 @@ type DataListChainsResponse = {
6093
6303
  chains: Array<ChainInfo>;
6094
6304
  };
6095
6305
 
6306
+ type ERCToken = {
6307
+ /**
6308
+ * Token contract address
6309
+ */
6310
+ address: string;
6311
+ /**
6312
+ * Token name
6313
+ */
6314
+ name: string;
6315
+ /**
6316
+ * Token symbol
6317
+ */
6318
+ symbol: string;
6319
+ /**
6320
+ * Token decimals
6321
+ */
6322
+ decimals: number;
6323
+ /**
6324
+ * Value including decimals
6325
+ */
6326
+ valueWithDecimals: string;
6327
+ };
6328
+
6329
+ type ERCTransfer = {
6330
+ /**
6331
+ * Transaction hash
6332
+ */
6333
+ transactionHash: string;
6334
+ /**
6335
+ * Transfer type
6336
+ */
6337
+ type: string;
6338
+ /**
6339
+ * Sender address
6340
+ */
6341
+ from: string;
6342
+ /**
6343
+ * Recipient address
6344
+ */
6345
+ to: string;
6346
+ /**
6347
+ * Amount transferred
6348
+ */
6349
+ value: string;
6350
+ /**
6351
+ * Token Id
6352
+ */
6353
+ tokenId?: string;
6354
+ /**
6355
+ * Block timestamp
6356
+ */
6357
+ blockTimestamp: number;
6358
+ /**
6359
+ * Log index
6360
+ */
6361
+ logIndex: number;
6362
+ /**
6363
+ * erc20 Token details
6364
+ */
6365
+ erc20Token?: ERCToken;
6366
+ /**
6367
+ * erc721 Token details
6368
+ */
6369
+ erc721Token?: ERCToken;
6370
+ /**
6371
+ * erc1155 Token details
6372
+ */
6373
+ erc1155Token?: ERCToken;
6374
+ };
6375
+
6096
6376
  type Forbidden = {
6097
6377
  /**
6098
6378
  * The error message describing the reason for the exception
@@ -6123,6 +6403,64 @@ type InternalServerError = {
6123
6403
  error: string;
6124
6404
  };
6125
6405
 
6406
+ type Log = {
6407
+ /**
6408
+ * Contract address
6409
+ */
6410
+ address: string;
6411
+ /**
6412
+ * First topic
6413
+ */
6414
+ topic0: string;
6415
+ /**
6416
+ * Second topic (optional)
6417
+ */
6418
+ topic1?: string;
6419
+ /**
6420
+ * Third topic (optional)
6421
+ */
6422
+ topic2?: string;
6423
+ /**
6424
+ * Fourth topic (optional)
6425
+ */
6426
+ topic3?: string;
6427
+ /**
6428
+ * Event data
6429
+ */
6430
+ data: string;
6431
+ /**
6432
+ * Transaction index
6433
+ */
6434
+ transactionIndex: number;
6435
+ /**
6436
+ * Log index
6437
+ */
6438
+ logIndex: number;
6439
+ /**
6440
+ * Indicates if the log was removed
6441
+ */
6442
+ removed: boolean;
6443
+ };
6444
+
6445
+ type NetworkTokenInfo = {
6446
+ /**
6447
+ * Token name
6448
+ */
6449
+ tokenName?: string;
6450
+ /**
6451
+ * Token symbol
6452
+ */
6453
+ tokenSymbol?: string;
6454
+ /**
6455
+ * Token decimals
6456
+ */
6457
+ tokenDecimals?: number;
6458
+ /**
6459
+ * Value including decimals
6460
+ */
6461
+ valueWithDecimals?: string;
6462
+ };
6463
+
6126
6464
  type NextPageToken = {
6127
6465
  /**
6128
6466
  * 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 +6513,132 @@ type TooManyRequests = {
6175
6513
  error: string;
6176
6514
  };
6177
6515
 
6516
+ type Transaction = {
6517
+ /**
6518
+ * Block hash of the transaction
6519
+ */
6520
+ blockHash: string;
6521
+ /**
6522
+ * Block number of the transaction
6523
+ */
6524
+ blockNumber: string;
6525
+ /**
6526
+ * Sender address
6527
+ */
6528
+ from: string;
6529
+ /**
6530
+ * Gas limit for the transaction
6531
+ */
6532
+ gas: string;
6533
+ /**
6534
+ * Gas price used
6535
+ */
6536
+ gasPrice: string;
6537
+ /**
6538
+ * Maximum fee per gas
6539
+ */
6540
+ maxFeePerGas: string;
6541
+ /**
6542
+ * Maximum priority fee per gas
6543
+ */
6544
+ maxPriorityFeePerGas: string;
6545
+ /**
6546
+ * Transaction hash
6547
+ */
6548
+ txHash: string;
6549
+ /**
6550
+ * Transaction status
6551
+ */
6552
+ txStatus: string;
6553
+ /**
6554
+ * Input data
6555
+ */
6556
+ input: string;
6557
+ /**
6558
+ * Nonce value
6559
+ */
6560
+ nonce: string;
6561
+ /**
6562
+ * Recipient address
6563
+ */
6564
+ to: string;
6565
+ /**
6566
+ * Transaction index
6567
+ */
6568
+ transactionIndex: number;
6569
+ /**
6570
+ * Value transferred in the transaction
6571
+ */
6572
+ value: string;
6573
+ /**
6574
+ * Transaction type
6575
+ */
6576
+ type: number;
6577
+ /**
6578
+ * Chain ID of the network
6579
+ */
6580
+ chainId: string;
6581
+ /**
6582
+ * Cumulative gas used
6583
+ */
6584
+ receiptCumulativeGasUsed: string;
6585
+ /**
6586
+ * Gas used
6587
+ */
6588
+ receiptGasUsed: string;
6589
+ /**
6590
+ * Effective gas price
6591
+ */
6592
+ receiptEffectiveGasPrice: string;
6593
+ /**
6594
+ * Receipt root
6595
+ */
6596
+ receiptRoot: string;
6597
+ /**
6598
+ * Block timestamp
6599
+ */
6600
+ blockTimestamp: number;
6601
+ /**
6602
+ * Contract address (optional)
6603
+ */
6604
+ contractAddress?: string;
6605
+ /**
6606
+ * ERC20 transfers
6607
+ */
6608
+ erc20Transfers: Array<ERCTransfer>;
6609
+ /**
6610
+ * ERC721 transfers
6611
+ */
6612
+ erc721Transfers: Array<ERCTransfer>;
6613
+ /**
6614
+ * ERC1155 transfers
6615
+ */
6616
+ erc1155Transfers: Array<ERCTransfer>;
6617
+ /**
6618
+ * Internal transactions (optional)
6619
+ */
6620
+ internalTransactions?: Array<InternalTransaction>;
6621
+ /**
6622
+ * Access list (optional)
6623
+ */
6624
+ accessList?: Array<AccessListData>;
6625
+ /**
6626
+ * Network token info (optional)
6627
+ */
6628
+ networkToken?: NetworkTokenInfo;
6629
+ };
6630
+
6631
+ type TransactionEvent = {
6632
+ /**
6633
+ * Transaction details
6634
+ */
6635
+ transaction: Transaction;
6636
+ /**
6637
+ * Array of log events
6638
+ */
6639
+ logs?: Array<Log>;
6640
+ };
6641
+
6178
6642
  type Unauthorized = {
6179
6643
  /**
6180
6644
  * The error message describing the reason for the exception
@@ -6190,4 +6654,31 @@ type Unauthorized = {
6190
6654
  error: string;
6191
6655
  };
6192
6656
 
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 };
6657
+ type WebhookAddressActivityResponse = {
6658
+ /**
6659
+ * Webhook ID
6660
+ */
6661
+ webhookId: string;
6662
+ /**
6663
+ * Event type
6664
+ */
6665
+ eventType: WebhookAddressActivityResponse.eventType;
6666
+ /**
6667
+ * Message ID
6668
+ */
6669
+ messageId: string;
6670
+ /**
6671
+ * Event details
6672
+ */
6673
+ event: TransactionEvent;
6674
+ };
6675
+ declare namespace WebhookAddressActivityResponse {
6676
+ /**
6677
+ * Event type
6678
+ */
6679
+ enum eventType {
6680
+ ADDRESS_ACTIVITY = "address_activity"
6681
+ }
6682
+ }
6683
+
6684
+ export { AccessListData, AccessRequest, ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, ERCToken, ERCTransfer, EVMAddressActivityRequest, EVMAddressActivityResponse, 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, Geolocation, 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, Log, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, NotificationsResponse, NotificationsService, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingIcmMessage, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PlatformActivityKeyType, PlatformActivityMetadata, PlatformActivityRequest, PlatformActivityResponse, PlatformActivitySubEvents, PlatformAddressActivitySubEventType, PlatformBalanceThresholdFilter, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, 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, Transaction, TransactionDetails, TransactionDirectionType, TransactionEvent, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };