@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
@@ -0,0 +1,121 @@
1
+ import { AccessListData } from './AccessListData.js';
2
+ import { ERCTransfer } from './ERCTransfer.js';
3
+ import { InternalTransaction } from './InternalTransaction.js';
4
+ import { NetworkTokenInfo } from './NetworkTokenInfo.js';
5
+
6
+ type Transaction = {
7
+ /**
8
+ * Block hash of the transaction
9
+ */
10
+ blockHash: string;
11
+ /**
12
+ * Block number of the transaction
13
+ */
14
+ blockNumber: string;
15
+ /**
16
+ * Sender address
17
+ */
18
+ from: string;
19
+ /**
20
+ * Gas limit for the transaction
21
+ */
22
+ gas: string;
23
+ /**
24
+ * Gas price used
25
+ */
26
+ gasPrice: string;
27
+ /**
28
+ * Maximum fee per gas
29
+ */
30
+ maxFeePerGas: string;
31
+ /**
32
+ * Maximum priority fee per gas
33
+ */
34
+ maxPriorityFeePerGas: string;
35
+ /**
36
+ * Transaction hash
37
+ */
38
+ txHash: string;
39
+ /**
40
+ * Transaction status
41
+ */
42
+ txStatus: string;
43
+ /**
44
+ * Input data
45
+ */
46
+ input: string;
47
+ /**
48
+ * Nonce value
49
+ */
50
+ nonce: string;
51
+ /**
52
+ * Recipient address
53
+ */
54
+ to: string;
55
+ /**
56
+ * Transaction index
57
+ */
58
+ transactionIndex: number;
59
+ /**
60
+ * Value transferred in the transaction
61
+ */
62
+ value: string;
63
+ /**
64
+ * Transaction type
65
+ */
66
+ type: number;
67
+ /**
68
+ * Chain ID of the network
69
+ */
70
+ chainId: string;
71
+ /**
72
+ * Cumulative gas used
73
+ */
74
+ receiptCumulativeGasUsed: string;
75
+ /**
76
+ * Gas used
77
+ */
78
+ receiptGasUsed: string;
79
+ /**
80
+ * Effective gas price
81
+ */
82
+ receiptEffectiveGasPrice: string;
83
+ /**
84
+ * Receipt root
85
+ */
86
+ receiptRoot: string;
87
+ /**
88
+ * Block timestamp
89
+ */
90
+ blockTimestamp: number;
91
+ /**
92
+ * Contract address (optional)
93
+ */
94
+ contractAddress?: string;
95
+ /**
96
+ * ERC20 transfers
97
+ */
98
+ erc20Transfers: Array<ERCTransfer>;
99
+ /**
100
+ * ERC721 transfers
101
+ */
102
+ erc721Transfers: Array<ERCTransfer>;
103
+ /**
104
+ * ERC1155 transfers
105
+ */
106
+ erc1155Transfers: Array<ERCTransfer>;
107
+ /**
108
+ * Internal transactions (optional)
109
+ */
110
+ internalTransactions?: Array<InternalTransaction>;
111
+ /**
112
+ * Access list (optional)
113
+ */
114
+ accessList?: Array<AccessListData>;
115
+ /**
116
+ * Network token info (optional)
117
+ */
118
+ networkToken?: NetworkTokenInfo;
119
+ };
120
+
121
+ export { Transaction };
@@ -22,7 +22,7 @@ type TransactionDetails = {
22
22
  */
23
23
  erc1155Transfers?: Array<Erc1155TransferDetails>;
24
24
  /**
25
- * 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.
25
+ * 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.
26
26
  */
27
27
  internalTransactions?: Array<InternalTransactionDetails>;
28
28
  };
@@ -0,0 +1,15 @@
1
+ import { Log } from './Log.js';
2
+ import { Transaction } from './Transaction.js';
3
+
4
+ type TransactionEvent = {
5
+ /**
6
+ * Transaction details
7
+ */
8
+ transaction: Transaction;
9
+ /**
10
+ * Array of log events
11
+ */
12
+ logs?: Array<Log>;
13
+ };
14
+
15
+ export { TransactionEvent };
@@ -19,7 +19,7 @@ type UnknownContract = {
19
19
  * A wallet or contract address in mixed-case checksum encoding.
20
20
  */
21
21
  address: string;
22
- deploymentDetails: ContractDeploymentDetails;
22
+ deploymentDetails?: ContractDeploymentDetails;
23
23
  ercType: UnknownContract.ercType;
24
24
  };
25
25
  declare namespace UnknownContract {
@@ -0,0 +1,30 @@
1
+ import { TransactionEvent } from './TransactionEvent.js';
2
+
3
+ type WebhookAddressActivityResponse = {
4
+ /**
5
+ * Webhook ID
6
+ */
7
+ webhookId: string;
8
+ /**
9
+ * Event type
10
+ */
11
+ eventType: WebhookAddressActivityResponse.eventType;
12
+ /**
13
+ * Message ID
14
+ */
15
+ messageId: string;
16
+ /**
17
+ * Event details
18
+ */
19
+ event: TransactionEvent;
20
+ };
21
+ declare namespace WebhookAddressActivityResponse {
22
+ /**
23
+ * Event type
24
+ */
25
+ enum eventType {
26
+ ADDRESS_ACTIVITY = "address_activity"
27
+ }
28
+ }
29
+
30
+ export { WebhookAddressActivityResponse };
@@ -0,0 +1 @@
1
+ var e,t;((t=e||(e={})).eventType||(t.eventType={})).ADDRESS_ACTIVITY="address_activity";export{e as WebhookAddressActivityResponse};
@@ -64,7 +64,7 @@ declare class EvmBalancesService {
64
64
  */
65
65
  pageToken?: string;
66
66
  /**
67
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
67
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
68
68
  */
69
69
  pageSize?: number;
70
70
  /**
@@ -102,7 +102,7 @@ declare class EvmBalancesService {
102
102
  */
103
103
  pageToken?: string;
104
104
  /**
105
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
105
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
106
106
  */
107
107
  pageSize?: number;
108
108
  /**
@@ -138,7 +138,7 @@ declare class EvmBalancesService {
138
138
  */
139
139
  pageToken?: string;
140
140
  /**
141
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
141
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
142
142
  */
143
143
  pageSize?: number;
144
144
  /**
@@ -168,7 +168,7 @@ declare class EvmBalancesService {
168
168
  */
169
169
  pageToken?: string;
170
170
  /**
171
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
171
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
172
172
  */
173
173
  pageSize?: number;
174
174
  /**
@@ -287,7 +287,7 @@ declare class EvmTransactionsService {
287
287
  * List internal transactions
288
288
  * Returns a list of internal transactions for an address and chain. Filterable by block range.
289
289
  *
290
- * 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.
290
+ * 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.
291
291
  * @returns ListInternalTransactionsResponse Successful response
292
292
  * @throws ApiError
293
293
  */
@@ -11,13 +11,13 @@ declare class InterchainMessagingService {
11
11
  constructor(httpRequest: BaseHttpRequest);
12
12
  /**
13
13
  * Get an ICM message
14
- * Gets an ICM message by message ID.
14
+ * Gets an ICM message by teleporter message ID.
15
15
  * @returns any Successful response
16
16
  * @throws ApiError
17
17
  */
18
18
  getIcmMessage({ messageId, }: {
19
19
  /**
20
- * The message ID of the ICM message.
20
+ * The teleporter message ID of the ICM message.
21
21
  */
22
22
  messageId: string;
23
23
  }): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
@@ -1,3 +1,4 @@
1
+ import { Blockchain } from '../models/Blockchain.js';
1
2
  import { ChainAddressChainIdMapListResponse } from '../models/ChainAddressChainIdMapListResponse.js';
2
3
  import { DelegationStatusType } from '../models/DelegationStatusType.js';
3
4
  import { GetNetworkDetailsResponse } from '../models/GetNetworkDetailsResponse.js';
@@ -91,6 +92,22 @@ declare class PrimaryNetworkService {
91
92
  */
92
93
  sortOrder?: SortOrder;
93
94
  }): CancelablePromise<ListBlockchainsResponse>;
95
+ /**
96
+ * Get blockchain details by ID
97
+ * Get details of the blockchain registered on the network.
98
+ * @returns Blockchain Successful response
99
+ * @throws ApiError
100
+ */
101
+ getBlockchainById({ blockchainId, network, }: {
102
+ /**
103
+ * The blockchain ID of the blockchain to retrieve.
104
+ */
105
+ blockchainId: string;
106
+ /**
107
+ * Either mainnet or testnet/fuji.
108
+ */
109
+ network: Network;
110
+ }): CancelablePromise<Blockchain>;
94
111
  /**
95
112
  * List subnets
96
113
  * Lists all subnets registered on the network.
@@ -295,7 +312,7 @@ declare class PrimaryNetworkService {
295
312
  /**
296
313
  * The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
297
314
  */
298
- l1ValidationId?: any;
315
+ l1ValidationId?: string;
299
316
  includeInactiveL1Validators?: boolean;
300
317
  /**
301
318
  * A valid node ID in format 'NodeID-HASH'.
@@ -1 +1 @@
1
- class e{constructor(e){this.httpRequest=e}getAssetDetails({blockchainId:e,network:r,assetId:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}",path:{blockchainId:e,network:r,assetId:t},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getChainIdsForAddresses({addresses:e,network:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/addresses:listChainIds",path:{network:r},query:{addresses:e},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getNetworkDetails({network:e}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}",path:{network:e},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listBlockchains({network:e,pageToken:r,pageSize:t=10,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder:n},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listSubnets({network:e,pageToken:r,pageSize:t=10,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder:n},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getSubnetById({network:e,subnetId:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets/{subnetId}",path:{network:e,subnetId:r},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listValidators({network:e,pageToken:r,pageSize:t=10,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:l,maxFeePercentage:c,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators",path:{network:e},query:{pageToken:r,pageSize:t,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:l,maxFeePercentage:c,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getSingleValidatorDetails({network:e,nodeId:r,pageToken:t,pageSize:n=10,validationStatus:s,sortOrder:a}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators/{nodeId}",path:{network:e,nodeId:r},query:{pageToken:t,pageSize:n,validationStatus:s,sortOrder:a},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listDelegators({network:e,pageToken:r,pageSize:t=10,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/delegators",path:{network:e},query:{pageToken:r,pageSize:t,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listL1Validators({network:e,pageToken:r,pageSize:t=10,l1ValidationId:n,includeInactiveL1Validators:s,nodeId:a,subnetId:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/l1Validators",path:{network:e},query:{pageToken:r,pageSize:t,l1ValidationId:n,includeInactiveL1Validators:s,nodeId:a,subnetId:i},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as PrimaryNetworkService};
1
+ class e{constructor(e){this.httpRequest=e}getAssetDetails({blockchainId:e,network:r,assetId:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}",path:{blockchainId:e,network:r,assetId:t},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getChainIdsForAddresses({addresses:e,network:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/addresses:listChainIds",path:{network:r},query:{addresses:e},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getNetworkDetails({network:e}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}",path:{network:e},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listBlockchains({network:e,pageToken:r,pageSize:t=10,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder:n},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getBlockchainById({blockchainId:e,network:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}",path:{blockchainId:e,network:r},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listSubnets({network:e,pageToken:r,pageSize:t=10,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder:n},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getSubnetById({network:e,subnetId:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets/{subnetId}",path:{network:e,subnetId:r},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listValidators({network:e,pageToken:r,pageSize:t=10,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:c,maxFeePercentage:l,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators",path:{network:e},query:{pageToken:r,pageSize:t,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:c,maxFeePercentage:l,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getSingleValidatorDetails({network:e,nodeId:r,pageToken:t,pageSize:n=10,validationStatus:s,sortOrder:a}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators/{nodeId}",path:{network:e,nodeId:r},query:{pageToken:t,pageSize:n,validationStatus:s,sortOrder:a},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listDelegators({network:e,pageToken:r,pageSize:t=10,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/delegators",path:{network:e},query:{pageToken:r,pageSize:t,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listL1Validators({network:e,pageToken:r,pageSize:t=10,l1ValidationId:n,includeInactiveL1Validators:s,nodeId:a,subnetId:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/l1Validators",path:{network:e},query:{pageToken:r,pageSize:t,l1ValidationId:n,includeInactiveL1Validators:s,nodeId:a,subnetId:i},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as PrimaryNetworkService};
@@ -20,6 +20,22 @@ declare class SignatureAggregatorService {
20
20
  network: Network;
21
21
  requestBody: SignatureAggregatorRequest;
22
22
  }): CancelablePromise<SignatureAggregationResponse>;
23
+ /**
24
+ * Get Aggregated Signatures
25
+ * Get Aggregated Signatures for a P-Chain L1 related Warp Message.
26
+ * @returns SignatureAggregationResponse Successful response
27
+ * @throws ApiError
28
+ */
29
+ getAggregatedSignatures({ network, txHash, }: {
30
+ /**
31
+ * Either mainnet or testnet/fuji.
32
+ */
33
+ network: Network;
34
+ /**
35
+ * A primary network (P or X chain) transaction hash.
36
+ */
37
+ txHash: string;
38
+ }): CancelablePromise<SignatureAggregationResponse>;
23
39
  }
24
40
 
25
41
  export { SignatureAggregatorService };
@@ -1 +1 @@
1
- class e{constructor(e){this.httpRequest=e}aggregateSignatures({network:e,requestBody:r}){return this.httpRequest.request({method:"POST",url:"/v1/signatureAggregator/{network}/aggregateSignatures",path:{network:e},body:r,mediaType:"application/json",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as SignatureAggregatorService};
1
+ class e{constructor(e){this.httpRequest=e}aggregateSignatures({network:e,requestBody:r}){return this.httpRequest.request({method:"POST",url:"/v1/signatureAggregator/{network}/aggregateSignatures",path:{network:e},body:r,mediaType:"application/json",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getAggregatedSignatures({network:e,txHash:r}){return this.httpRequest.request({method:"GET",url:"/v1/signatureAggregator/{network}/aggregateSignatures/{txHash}",path:{network:e,txHash:r},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as SignatureAggregatorService};
@@ -1,10 +1,12 @@
1
1
  import { AddressesChangeRequest } from '../models/AddressesChangeRequest.js';
2
- import { CreateWebhookRequest } from '../models/CreateWebhookRequest.js';
2
+ import { EVMAddressActivityRequest } from '../models/EVMAddressActivityRequest.js';
3
+ import { EVMAddressActivityResponse } from '../models/EVMAddressActivityResponse.js';
3
4
  import { ListWebhookAddressesResponse } from '../models/ListWebhookAddressesResponse.js';
4
5
  import { ListWebhooksResponse } from '../models/ListWebhooksResponse.js';
6
+ import { PlatformActivityRequest } from '../models/PlatformActivityRequest.js';
7
+ import { PlatformActivityResponse } from '../models/PlatformActivityResponse.js';
5
8
  import { SharedSecretsResponse } from '../models/SharedSecretsResponse.js';
6
9
  import { UpdateWebhookRequest } from '../models/UpdateWebhookRequest.js';
7
- import { WebhookResponse } from '../models/WebhookResponse.js';
8
10
  import { WebhookStatus } from '../models/WebhookStatus.js';
9
11
  import { CancelablePromise } from '../core/CancelablePromise.js';
10
12
  import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
@@ -15,12 +17,12 @@ declare class WebhooksService {
15
17
  /**
16
18
  * Create a webhook
17
19
  * Create a new webhook.
18
- * @returns WebhookResponse Successful response
20
+ * @returns any Successful response
19
21
  * @throws ApiError
20
22
  */
21
23
  createWebhook({ requestBody, }: {
22
- requestBody: CreateWebhookRequest;
23
- }): CancelablePromise<WebhookResponse>;
24
+ requestBody: (EVMAddressActivityRequest | PlatformActivityRequest);
25
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
24
26
  /**
25
27
  * List webhooks
26
28
  * Lists webhooks for the user.
@@ -44,7 +46,7 @@ declare class WebhooksService {
44
46
  /**
45
47
  * Get a webhook by ID
46
48
  * Retrieves a webhook by ID.
47
- * @returns WebhookResponse Successful response
49
+ * @returns any Successful response
48
50
  * @throws ApiError
49
51
  */
50
52
  getWebhook({ id, }: {
@@ -52,11 +54,11 @@ declare class WebhooksService {
52
54
  * The webhook identifier.
53
55
  */
54
56
  id: string;
55
- }): CancelablePromise<WebhookResponse>;
57
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
56
58
  /**
57
59
  * Deactivate a webhook
58
60
  * Deactivates a webhook by ID.
59
- * @returns WebhookResponse Successful response
61
+ * @returns any Successful response
60
62
  * @throws ApiError
61
63
  */
62
64
  deactivateWebhook({ id, }: {
@@ -64,11 +66,11 @@ declare class WebhooksService {
64
66
  * The webhook identifier.
65
67
  */
66
68
  id: string;
67
- }): CancelablePromise<WebhookResponse>;
69
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
68
70
  /**
69
71
  * Update a webhook
70
72
  * Updates an existing webhook.
71
- * @returns WebhookResponse Successful response
73
+ * @returns any Successful response
72
74
  * @throws ApiError
73
75
  */
74
76
  updateWebhook({ id, requestBody, }: {
@@ -77,7 +79,7 @@ declare class WebhooksService {
77
79
  */
78
80
  id: string;
79
81
  requestBody: UpdateWebhookRequest;
80
- }): CancelablePromise<WebhookResponse>;
82
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
81
83
  /**
82
84
  * Generate or rotate a shared secret
83
85
  * Generates a new shared secret or rotate an existing one.
@@ -93,9 +95,9 @@ declare class WebhooksService {
93
95
  */
94
96
  getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
95
97
  /**
96
- * Add addresses to webhook
97
- * Add addresses to webhook.
98
- * @returns WebhookResponse Successful response
98
+ * Add addresses to EVM activity webhook
99
+ * Add addresses to webhook. Only valid for EVM activity webhooks.
100
+ * @returns EVMAddressActivityResponse Successful response
99
101
  * @throws ApiError
100
102
  */
101
103
  addAddressesToWebhook({ id, requestBody, }: {
@@ -104,11 +106,11 @@ declare class WebhooksService {
104
106
  */
105
107
  id: string;
106
108
  requestBody: AddressesChangeRequest;
107
- }): CancelablePromise<WebhookResponse>;
109
+ }): CancelablePromise<EVMAddressActivityResponse>;
108
110
  /**
109
- * Remove addresses from webhook
110
- * Remove addresses from webhook.
111
- * @returns WebhookResponse Successful response
111
+ * Remove addresses from EVM activity webhook
112
+ * Remove addresses from webhook. Only valid for EVM activity webhooks.
113
+ * @returns EVMAddressActivityResponse Successful response
112
114
  * @throws ApiError
113
115
  */
114
116
  removeAddressesFromWebhook({ id, requestBody, }: {
@@ -117,10 +119,10 @@ declare class WebhooksService {
117
119
  */
118
120
  id: string;
119
121
  requestBody: AddressesChangeRequest;
120
- }): CancelablePromise<WebhookResponse>;
122
+ }): CancelablePromise<EVMAddressActivityResponse>;
121
123
  /**
122
- * List adresses by webhook
123
- * List adresses by webhook.
124
+ * List adresses by EVM activity webhooks
125
+ * List adresses by webhook. Only valid for EVM activity webhooks.
124
126
  * @returns ListWebhookAddressesResponse Successful response
125
127
  * @throws ApiError
126
128
  */