@avalabs/glacier-sdk 3.1.0-canary.801d1a5.0 → 3.1.0-canary.809f9ff.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.
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +1068 -143
- package/esm/generated/Glacier.d.ts +4 -0
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/models/AccessListData.d.ts +12 -0
- package/esm/generated/models/AccessRequest.d.ts +12 -0
- package/esm/generated/models/ActiveValidatorDetails.d.ts +5 -0
- package/esm/generated/models/CommonBalanceType.d.ts +17 -0
- package/esm/generated/models/CommonBalanceType.js +1 -0
- package/esm/generated/models/DeliveredIcmMessage.d.ts +31 -0
- package/esm/generated/models/DeliveredIcmMessage.js +1 -0
- package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.d.ts +29 -0
- package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.js +1 -0
- package/esm/generated/models/ERCToken.d.ts +24 -0
- package/esm/generated/models/ERCTransfer.d.ts +50 -0
- package/esm/generated/models/{CreateWebhookRequest.d.ts → EVMAddressActivityRequest.d.ts} +11 -5
- package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
- package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +8 -8
- package/esm/generated/models/Erc1155Contract.d.ts +1 -1
- package/esm/generated/models/Erc20Contract.d.ts +1 -1
- package/esm/generated/models/Erc20TokenBalance.d.ts +3 -3
- package/esm/generated/models/Erc721Contract.d.ts +1 -1
- package/esm/generated/models/EventType.d.ts +3 -1
- package/esm/generated/models/EventType.js +1 -1
- package/esm/generated/models/Geolocation.d.ts +24 -0
- package/esm/generated/models/GetTransactionResponse.d.ts +1 -1
- package/esm/generated/models/HealthCheckResultDto.d.ts +17 -0
- package/esm/generated/models/HealthCheckResultDto.js +1 -0
- package/esm/generated/models/HealthIndicatorResultDto.d.ts +17 -0
- package/esm/generated/models/HealthIndicatorResultDto.js +1 -0
- package/esm/generated/models/IcmDestinationTransaction.d.ts +9 -0
- package/esm/generated/models/IcmReceipt.d.ts +6 -0
- package/esm/generated/models/IcmRewardDetails.d.ts +37 -0
- package/esm/generated/models/IcmRewardDetails.js +1 -0
- package/esm/generated/models/IcmSourceTransaction.d.ts +7 -0
- package/esm/generated/models/InternalTransaction.d.ts +15 -16
- package/esm/generated/models/InternalTransactionOpCall.d.ts +1 -0
- package/esm/generated/models/InternalTransactionOpCall.js +1 -1
- package/esm/generated/models/L1ValidatorDetailsFull.d.ts +4 -0
- package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +4 -0
- package/esm/generated/models/ListIcmMessagesResponse.d.ts +12 -0
- package/esm/generated/models/ListWebhooksResponse.d.ts +3 -2
- package/esm/generated/models/Log.d.ts +40 -0
- package/esm/generated/models/Network.d.ts +1 -2
- package/esm/generated/models/Network.js +1 -1
- package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
- package/esm/generated/models/NotificationsResponse.d.ts +5 -0
- package/esm/generated/models/OperationStatusResponse.d.ts +1 -1
- package/esm/generated/models/PendingIcmMessage.d.ts +29 -0
- package/esm/generated/models/PendingIcmMessage.js +1 -0
- package/esm/generated/models/PlatformActivityKeyType.d.ts +10 -0
- package/esm/generated/models/PlatformActivityKeyType.js +1 -0
- package/esm/generated/models/PlatformActivityMetadata.d.ts +37 -0
- package/esm/generated/models/PlatformActivityRequest.d.ts +31 -0
- package/esm/generated/models/PlatformActivityRequest.js +1 -0
- package/esm/generated/models/PlatformActivityResponse.d.ts +17 -0
- package/esm/generated/models/PlatformActivitySubEvents.d.ts +11 -0
- package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +10 -0
- package/esm/generated/models/PlatformAddressActivitySubEventType.js +1 -0
- package/esm/generated/models/PlatformBalanceThresholdFilter.d.ts +11 -0
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +1 -0
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -1
- package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.d.ts +8 -0
- package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js +1 -0
- package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.d.ts +27 -0
- package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js +1 -0
- package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
- package/esm/generated/models/PrimaryNetworkType.js +1 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +4 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -1
- package/esm/generated/models/Subnet.d.ts +2 -2
- package/esm/generated/models/SubscribeRequest.d.ts +16 -0
- package/esm/generated/models/SubscriptionsRequest.d.ts +8 -0
- package/esm/generated/models/SubscriptionsResponse.d.ts +14 -0
- package/esm/generated/models/Transaction.d.ts +121 -0
- package/esm/generated/models/TransactionDetails.d.ts +1 -1
- package/esm/generated/models/TransactionEvent.d.ts +15 -0
- package/esm/generated/models/UnknownContract.d.ts +1 -1
- package/esm/generated/models/UnsubscribeRequest.d.ts +12 -0
- package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
- package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
- package/esm/generated/services/DataApiUsageMetricsService.d.ts +55 -6
- package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
- package/esm/generated/services/EvmBalancesService.d.ts +4 -4
- package/esm/generated/services/EvmTransactionsService.d.ts +1 -1
- package/esm/generated/services/HealthCheckService.d.ts +4 -7
- package/esm/generated/services/HealthCheckService.js +1 -1
- package/esm/generated/services/InterchainMessagingService.d.ts +90 -0
- package/esm/generated/services/InterchainMessagingService.js +1 -0
- package/esm/generated/services/NotificationsService.d.ts +51 -0
- package/esm/generated/services/NotificationsService.js +1 -0
- package/esm/generated/services/PrimaryNetworkService.d.ts +18 -1
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/generated/services/SignatureAggregatorService.d.ts +16 -0
- package/esm/generated/services/SignatureAggregatorService.js +1 -1
- package/esm/generated/services/TeleporterService.d.ts +12 -6
- package/esm/generated/services/WebhooksService.d.ts +26 -24
- package/esm/generated/services/WebhooksService.js +1 -1
- package/esm/index.d.ts +40 -3
- package/esm/index.js +1 -1
- package/package.json +4 -3
- package/dist/index.js +0 -1
- package/esm/generated/models/BlockchainInfo.d.ts +0 -5
package/dist/index.d.ts
CHANGED
|
@@ -151,11 +151,11 @@ 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 {
|
|
158
|
+
RPC_METHOD = "rpcMethod",
|
|
159
159
|
REQUEST_PATH = "requestPath",
|
|
160
160
|
RESPONSE_CODE = "responseCode",
|
|
161
161
|
COUNTRY = "country",
|
|
@@ -163,13 +163,7 @@ declare enum PrimaryNetworkRpcMetricsGroupByEnum {
|
|
|
163
163
|
USER_AGENT = "userAgent"
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
declare enum
|
|
167
|
-
RPC_METHOD = "rpcMethod",
|
|
168
|
-
RESPONSE_CODE = "responseCode",
|
|
169
|
-
RL_BYPASS_TOKEN = "rlBypassToken"
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
declare enum SubnetRpcTimeIntervalGranularity {
|
|
166
|
+
declare enum PrimaryNetworkRpcTimeIntervalGranularity {
|
|
173
167
|
HOURLY = "hourly",
|
|
174
168
|
DAILY = "daily",
|
|
175
169
|
WEEKLY = "weekly",
|
|
@@ -222,6 +216,10 @@ declare namespace RpcUsageMetricsValueAggregated {
|
|
|
222
216
|
RPC_METHOD = "rpcMethod",
|
|
223
217
|
RESPONSE_CODE = "responseCode",
|
|
224
218
|
RL_BYPASS_TOKEN = "rlBypassToken",
|
|
219
|
+
REQUEST_PATH = "requestPath",
|
|
220
|
+
COUNTRY = "country",
|
|
221
|
+
CONTINENT = "continent",
|
|
222
|
+
USER_AGENT = "userAgent",
|
|
225
223
|
NONE = "None"
|
|
226
224
|
}
|
|
227
225
|
}
|
|
@@ -237,6 +235,43 @@ type RpcMetrics = {
|
|
|
237
235
|
values: Array<RpcUsageMetricsValueAggregated>;
|
|
238
236
|
};
|
|
239
237
|
|
|
238
|
+
type PrimaryNetworkRpcUsageMetricsResponseDTO = {
|
|
239
|
+
/**
|
|
240
|
+
* Duration in which the metrics value is aggregated
|
|
241
|
+
*/
|
|
242
|
+
aggregateDuration: string;
|
|
243
|
+
/**
|
|
244
|
+
* Metrics values
|
|
245
|
+
*/
|
|
246
|
+
metrics: Array<RpcMetrics>;
|
|
247
|
+
/**
|
|
248
|
+
* Network type for which the metrics are aggregated
|
|
249
|
+
*/
|
|
250
|
+
network: PrimaryNetworkRpcUsageMetricsResponseDTO.network;
|
|
251
|
+
};
|
|
252
|
+
declare namespace PrimaryNetworkRpcUsageMetricsResponseDTO {
|
|
253
|
+
/**
|
|
254
|
+
* Network type for which the metrics are aggregated
|
|
255
|
+
*/
|
|
256
|
+
enum network {
|
|
257
|
+
MAINNET = "mainnet",
|
|
258
|
+
TESTNET = "testnet"
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
declare enum RpcUsageMetricsGroupByEnum {
|
|
263
|
+
RPC_METHOD = "rpcMethod",
|
|
264
|
+
RESPONSE_CODE = "responseCode",
|
|
265
|
+
RL_BYPASS_TOKEN = "rlBypassToken"
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
declare enum SubnetRpcTimeIntervalGranularity {
|
|
269
|
+
HOURLY = "hourly",
|
|
270
|
+
DAILY = "daily",
|
|
271
|
+
WEEKLY = "weekly",
|
|
272
|
+
MONTHLY = "monthly"
|
|
273
|
+
}
|
|
274
|
+
|
|
240
275
|
type SubnetRpcUsageMetricsResponseDTO = {
|
|
241
276
|
/**
|
|
242
277
|
* Duration in which the metrics value is aggregated
|
|
@@ -451,6 +486,49 @@ declare class DataApiUsageMetricsService {
|
|
|
451
486
|
* @returns SubnetRpcUsageMetricsResponseDTO Successful response
|
|
452
487
|
* @throws ApiError
|
|
453
488
|
*/
|
|
489
|
+
getSubnetRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
|
|
490
|
+
/**
|
|
491
|
+
* Time interval granularity for data aggregation for subnet
|
|
492
|
+
* rpc metrics
|
|
493
|
+
*/
|
|
494
|
+
timeInterval?: SubnetRpcTimeIntervalGranularity;
|
|
495
|
+
/**
|
|
496
|
+
* The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
|
|
497
|
+
*/
|
|
498
|
+
startTimestamp?: number;
|
|
499
|
+
/**
|
|
500
|
+
* The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
|
|
501
|
+
*/
|
|
502
|
+
endTimestamp?: number;
|
|
503
|
+
/**
|
|
504
|
+
* Query param for the criterion used for grouping metrics
|
|
505
|
+
*/
|
|
506
|
+
groupBy?: RpcUsageMetricsGroupByEnum;
|
|
507
|
+
/**
|
|
508
|
+
* Filter data by chain ID.
|
|
509
|
+
*/
|
|
510
|
+
chainId?: string;
|
|
511
|
+
/**
|
|
512
|
+
* Filter data by response status code.
|
|
513
|
+
*/
|
|
514
|
+
responseCode?: string;
|
|
515
|
+
/**
|
|
516
|
+
* Filter data by RPC method.
|
|
517
|
+
*/
|
|
518
|
+
rpcMethod?: string;
|
|
519
|
+
/**
|
|
520
|
+
* Filter data by Rl Bypass API Token.
|
|
521
|
+
*/
|
|
522
|
+
rlBypassApiToken?: string;
|
|
523
|
+
}): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
|
|
524
|
+
/**
|
|
525
|
+
* @deprecated
|
|
526
|
+
* **[Deprecated]** Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
527
|
+
*
|
|
528
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/subnetRpcUsageMetrics endpoint instead**.
|
|
529
|
+
* @returns SubnetRpcUsageMetricsResponseDTO Successful response
|
|
530
|
+
* @throws ApiError
|
|
531
|
+
*/
|
|
454
532
|
getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
|
|
455
533
|
/**
|
|
456
534
|
* Time interval granularity for data aggregation for subnet
|
|
@@ -489,10 +567,10 @@ declare class DataApiUsageMetricsService {
|
|
|
489
567
|
/**
|
|
490
568
|
* Get usage metrics for the Primary Network RPC
|
|
491
569
|
* Gets metrics for public Primary Network RPC usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
492
|
-
* @returns
|
|
570
|
+
* @returns PrimaryNetworkRpcUsageMetricsResponseDTO Successful response
|
|
493
571
|
* @throws ApiError
|
|
494
572
|
*/
|
|
495
|
-
getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, }: {
|
|
573
|
+
getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, rpcMethod, }: {
|
|
496
574
|
/**
|
|
497
575
|
* Either mainnet or testnet/fuji.
|
|
498
576
|
*/
|
|
@@ -501,7 +579,7 @@ declare class DataApiUsageMetricsService {
|
|
|
501
579
|
* Time interval granularity for data aggregation for subnet
|
|
502
580
|
* rpc metrics
|
|
503
581
|
*/
|
|
504
|
-
timeInterval?:
|
|
582
|
+
timeInterval?: PrimaryNetworkRpcTimeIntervalGranularity;
|
|
505
583
|
/**
|
|
506
584
|
* The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
|
|
507
585
|
*/
|
|
@@ -523,18 +601,22 @@ declare class DataApiUsageMetricsService {
|
|
|
523
601
|
*/
|
|
524
602
|
requestPath?: string;
|
|
525
603
|
/**
|
|
526
|
-
* Filter data by Country.
|
|
604
|
+
* Filter data by Country. Input must be a valid ISO 3166-1 alpha-2 country code. "XX" - Represents clients without country code data. "T1" - Represents clients using the Tor network.
|
|
527
605
|
*/
|
|
528
606
|
country?: string;
|
|
529
607
|
/**
|
|
530
|
-
* Filter data by Continent.
|
|
608
|
+
* Filter data by Continent. Input must be a valid ISO 3166-1 alpha-2 continent code.
|
|
531
609
|
*/
|
|
532
610
|
continent?: string;
|
|
533
611
|
/**
|
|
534
612
|
* Filter data by User Agent.
|
|
535
613
|
*/
|
|
536
614
|
userAgent?: string;
|
|
537
|
-
|
|
615
|
+
/**
|
|
616
|
+
* Filter data by RPC method.
|
|
617
|
+
*/
|
|
618
|
+
rpcMethod?: string;
|
|
619
|
+
}): CancelablePromise<PrimaryNetworkRpcUsageMetricsResponseDTO>;
|
|
538
620
|
}
|
|
539
621
|
|
|
540
622
|
declare class DefaultService {
|
|
@@ -782,16 +864,16 @@ type Erc20TokenBalance = {
|
|
|
782
864
|
*/
|
|
783
865
|
balanceValue?: Money;
|
|
784
866
|
/**
|
|
785
|
-
* Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious'
|
|
867
|
+
* Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
|
|
786
868
|
*/
|
|
787
|
-
tokenReputation: Erc20TokenBalance.tokenReputation
|
|
869
|
+
tokenReputation: Erc20TokenBalance.tokenReputation;
|
|
788
870
|
};
|
|
789
871
|
declare namespace Erc20TokenBalance {
|
|
790
872
|
enum ercType {
|
|
791
873
|
ERC_20 = "ERC-20"
|
|
792
874
|
}
|
|
793
875
|
/**
|
|
794
|
-
* Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious'
|
|
876
|
+
* Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
|
|
795
877
|
*/
|
|
796
878
|
enum tokenReputation {
|
|
797
879
|
MALICIOUS = "Malicious",
|
|
@@ -886,7 +968,7 @@ declare class EvmBalancesService {
|
|
|
886
968
|
*/
|
|
887
969
|
pageToken?: string;
|
|
888
970
|
/**
|
|
889
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
971
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
|
|
890
972
|
*/
|
|
891
973
|
pageSize?: number;
|
|
892
974
|
/**
|
|
@@ -924,7 +1006,7 @@ declare class EvmBalancesService {
|
|
|
924
1006
|
*/
|
|
925
1007
|
pageToken?: string;
|
|
926
1008
|
/**
|
|
927
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
1009
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
|
|
928
1010
|
*/
|
|
929
1011
|
pageSize?: number;
|
|
930
1012
|
/**
|
|
@@ -960,7 +1042,7 @@ declare class EvmBalancesService {
|
|
|
960
1042
|
*/
|
|
961
1043
|
pageToken?: string;
|
|
962
1044
|
/**
|
|
963
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
1045
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
|
|
964
1046
|
*/
|
|
965
1047
|
pageSize?: number;
|
|
966
1048
|
/**
|
|
@@ -990,7 +1072,7 @@ declare class EvmBalancesService {
|
|
|
990
1072
|
*/
|
|
991
1073
|
pageToken?: string;
|
|
992
1074
|
/**
|
|
993
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
1075
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
|
|
994
1076
|
*/
|
|
995
1077
|
pageSize?: number;
|
|
996
1078
|
/**
|
|
@@ -1646,7 +1728,7 @@ type Erc1155Contract = {
|
|
|
1646
1728
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
1647
1729
|
*/
|
|
1648
1730
|
address: string;
|
|
1649
|
-
deploymentDetails
|
|
1731
|
+
deploymentDetails?: ContractDeploymentDetails;
|
|
1650
1732
|
ercType: Erc1155Contract.ercType;
|
|
1651
1733
|
/**
|
|
1652
1734
|
* The contract symbol.
|
|
@@ -1677,7 +1759,7 @@ type Erc20Contract = {
|
|
|
1677
1759
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
1678
1760
|
*/
|
|
1679
1761
|
address: string;
|
|
1680
|
-
deploymentDetails
|
|
1762
|
+
deploymentDetails?: ContractDeploymentDetails;
|
|
1681
1763
|
ercType: Erc20Contract.ercType;
|
|
1682
1764
|
/**
|
|
1683
1765
|
* The contract symbol.
|
|
@@ -1712,7 +1794,7 @@ type Erc721Contract = {
|
|
|
1712
1794
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
1713
1795
|
*/
|
|
1714
1796
|
address: string;
|
|
1715
|
-
deploymentDetails
|
|
1797
|
+
deploymentDetails?: ContractDeploymentDetails;
|
|
1716
1798
|
ercType: Erc721Contract.ercType;
|
|
1717
1799
|
/**
|
|
1718
1800
|
* The contract symbol.
|
|
@@ -1742,7 +1824,7 @@ type UnknownContract = {
|
|
|
1742
1824
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
1743
1825
|
*/
|
|
1744
1826
|
address: string;
|
|
1745
|
-
deploymentDetails
|
|
1827
|
+
deploymentDetails?: ContractDeploymentDetails;
|
|
1746
1828
|
ercType: UnknownContract.ercType;
|
|
1747
1829
|
};
|
|
1748
1830
|
declare namespace UnknownContract {
|
|
@@ -1960,6 +2042,7 @@ declare enum InternalTransactionOpCall {
|
|
|
1960
2042
|
CALL = "CALL",
|
|
1961
2043
|
CREATE = "CREATE",
|
|
1962
2044
|
CREATE2 = "CREATE2",
|
|
2045
|
+
CREATE3 = "CREATE3",
|
|
1963
2046
|
CALLCODE = "CALLCODE",
|
|
1964
2047
|
DELEGATECALL = "DELEGATECALL",
|
|
1965
2048
|
STATICCALL = "STATICCALL"
|
|
@@ -2022,7 +2105,7 @@ type GetTransactionResponse = {
|
|
|
2022
2105
|
*/
|
|
2023
2106
|
erc1155Transfers?: Array<Erc1155TransferDetails>;
|
|
2024
2107
|
/**
|
|
2025
|
-
* 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
|
|
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.
|
|
2026
2109
|
*/
|
|
2027
2110
|
internalTransactions?: Array<InternalTransactionDetails>;
|
|
2028
2111
|
networkTokenDetails: NetworkTokenDetails;
|
|
@@ -2138,31 +2221,33 @@ type ListErc721TransactionsResponse = {
|
|
|
2138
2221
|
|
|
2139
2222
|
type InternalTransaction = {
|
|
2140
2223
|
/**
|
|
2141
|
-
*
|
|
2224
|
+
* Sender address
|
|
2142
2225
|
*/
|
|
2143
|
-
|
|
2226
|
+
from: string;
|
|
2144
2227
|
/**
|
|
2145
|
-
*
|
|
2228
|
+
* Recipient address
|
|
2146
2229
|
*/
|
|
2147
|
-
|
|
2230
|
+
to: string;
|
|
2148
2231
|
/**
|
|
2149
|
-
*
|
|
2232
|
+
* Internal transaction type
|
|
2150
2233
|
*/
|
|
2151
|
-
|
|
2234
|
+
internalTxType: string;
|
|
2152
2235
|
/**
|
|
2153
|
-
*
|
|
2236
|
+
* Value transferred
|
|
2154
2237
|
*/
|
|
2155
|
-
txHash: string;
|
|
2156
|
-
from: RichAddress;
|
|
2157
|
-
to: RichAddress;
|
|
2158
|
-
internalTxType: InternalTransactionOpCall;
|
|
2159
2238
|
value: string;
|
|
2160
2239
|
/**
|
|
2161
|
-
*
|
|
2240
|
+
* Gas used
|
|
2162
2241
|
*/
|
|
2163
|
-
isReverted: boolean;
|
|
2164
2242
|
gasUsed: string;
|
|
2243
|
+
/**
|
|
2244
|
+
* Gas limit
|
|
2245
|
+
*/
|
|
2165
2246
|
gasLimit: string;
|
|
2247
|
+
/**
|
|
2248
|
+
* Transaction hash
|
|
2249
|
+
*/
|
|
2250
|
+
transactionHash: string;
|
|
2166
2251
|
};
|
|
2167
2252
|
|
|
2168
2253
|
type ListInternalTransactionsResponse = {
|
|
@@ -2191,7 +2276,7 @@ type TransactionDetails = {
|
|
|
2191
2276
|
*/
|
|
2192
2277
|
erc1155Transfers?: Array<Erc1155TransferDetails>;
|
|
2193
2278
|
/**
|
|
2194
|
-
* 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
|
|
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.
|
|
2195
2280
|
*/
|
|
2196
2281
|
internalTransactions?: Array<InternalTransactionDetails>;
|
|
2197
2282
|
};
|
|
@@ -2490,7 +2575,7 @@ declare class EvmTransactionsService {
|
|
|
2490
2575
|
* List internal transactions
|
|
2491
2576
|
* Returns a list of internal transactions for an address and chain. Filterable by block range.
|
|
2492
2577
|
*
|
|
2493
|
-
* 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.
|
|
2494
2579
|
* @returns ListInternalTransactionsResponse Successful response
|
|
2495
2580
|
* @throws ApiError
|
|
2496
2581
|
*/
|
|
@@ -2586,68 +2671,204 @@ declare class EvmTransactionsService {
|
|
|
2586
2671
|
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
2587
2672
|
}
|
|
2588
2673
|
|
|
2674
|
+
type HealthIndicatorResultDto = {
|
|
2675
|
+
/**
|
|
2676
|
+
* Status of the health indicator.
|
|
2677
|
+
*/
|
|
2678
|
+
status?: HealthIndicatorResultDto.status;
|
|
2679
|
+
};
|
|
2680
|
+
declare namespace HealthIndicatorResultDto {
|
|
2681
|
+
/**
|
|
2682
|
+
* Status of the health indicator.
|
|
2683
|
+
*/
|
|
2684
|
+
enum status {
|
|
2685
|
+
UP = "up",
|
|
2686
|
+
DOWN = "down"
|
|
2687
|
+
}
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
type HealthCheckResultDto = {
|
|
2691
|
+
status?: HealthCheckResultDto.status;
|
|
2692
|
+
info?: any | null;
|
|
2693
|
+
error?: any | null;
|
|
2694
|
+
details?: Record<string, HealthIndicatorResultDto>;
|
|
2695
|
+
};
|
|
2696
|
+
declare namespace HealthCheckResultDto {
|
|
2697
|
+
enum status {
|
|
2698
|
+
ERROR = "error",
|
|
2699
|
+
OK = "ok",
|
|
2700
|
+
SHUTTING_DOWN = "shutting_down"
|
|
2701
|
+
}
|
|
2702
|
+
}
|
|
2703
|
+
|
|
2589
2704
|
declare class HealthCheckService {
|
|
2590
2705
|
readonly httpRequest: BaseHttpRequest;
|
|
2591
2706
|
constructor(httpRequest: BaseHttpRequest);
|
|
2592
2707
|
/**
|
|
2593
2708
|
* Get the health of the service
|
|
2594
|
-
*
|
|
2709
|
+
* Check the health of the service.
|
|
2710
|
+
* @returns HealthCheckResultDto The health of the service
|
|
2595
2711
|
* @throws ApiError
|
|
2596
2712
|
*/
|
|
2597
|
-
dataHealthCheck(): CancelablePromise<
|
|
2598
|
-
status?: string;
|
|
2599
|
-
info?: Record<string, Record<string, string>> | null;
|
|
2600
|
-
error?: Record<string, Record<string, string>> | null;
|
|
2601
|
-
details?: Record<string, Record<string, string>>;
|
|
2602
|
-
}>;
|
|
2713
|
+
dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
|
|
2603
2714
|
}
|
|
2604
2715
|
|
|
2605
|
-
type
|
|
2716
|
+
type IcmDestinationTransaction = {
|
|
2717
|
+
txHash: string;
|
|
2718
|
+
timestamp: number;
|
|
2719
|
+
gasSpent: string;
|
|
2720
|
+
rewardRedeemer: string;
|
|
2721
|
+
delivererAddress: string;
|
|
2722
|
+
};
|
|
2723
|
+
|
|
2724
|
+
type IcmReceipt = {
|
|
2725
|
+
receivedMessageNonce: string;
|
|
2726
|
+
relayerRewardAddress: string;
|
|
2727
|
+
};
|
|
2728
|
+
|
|
2729
|
+
type IcmRewardDetails = {
|
|
2730
|
+
/**
|
|
2731
|
+
* A wallet or contract address in mixed-case checksum encoding.
|
|
2732
|
+
*/
|
|
2733
|
+
address: string;
|
|
2734
|
+
/**
|
|
2735
|
+
* The contract name.
|
|
2736
|
+
*/
|
|
2737
|
+
name: string;
|
|
2738
|
+
/**
|
|
2739
|
+
* The contract symbol.
|
|
2740
|
+
*/
|
|
2741
|
+
symbol: string;
|
|
2742
|
+
/**
|
|
2743
|
+
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
2744
|
+
*/
|
|
2745
|
+
decimals: number;
|
|
2746
|
+
/**
|
|
2747
|
+
* The logo uri for the address.
|
|
2748
|
+
*/
|
|
2749
|
+
logoUri?: string;
|
|
2750
|
+
ercType: IcmRewardDetails.ercType;
|
|
2751
|
+
/**
|
|
2752
|
+
* The token price, if available.
|
|
2753
|
+
*/
|
|
2754
|
+
price?: Money;
|
|
2755
|
+
value: string;
|
|
2756
|
+
};
|
|
2757
|
+
declare namespace IcmRewardDetails {
|
|
2758
|
+
enum ercType {
|
|
2759
|
+
ERC_20 = "ERC-20"
|
|
2760
|
+
}
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2763
|
+
type IcmSourceTransaction = {
|
|
2764
|
+
txHash: string;
|
|
2765
|
+
timestamp: number;
|
|
2766
|
+
gasSpent: string;
|
|
2767
|
+
};
|
|
2768
|
+
|
|
2769
|
+
type DeliveredIcmMessage = {
|
|
2770
|
+
messageId: string;
|
|
2771
|
+
icmContractAddress: string;
|
|
2772
|
+
sourceBlockchainId: string;
|
|
2773
|
+
destinationBlockchainId: string;
|
|
2774
|
+
sourceEvmChainId: string;
|
|
2775
|
+
destinationEvmChainId: string;
|
|
2776
|
+
messageNonce: string;
|
|
2777
|
+
from: string;
|
|
2778
|
+
to: string;
|
|
2779
|
+
data?: string;
|
|
2780
|
+
messageExecuted: boolean;
|
|
2781
|
+
receipts: Array<IcmReceipt>;
|
|
2782
|
+
receiptDelivered: boolean;
|
|
2783
|
+
rewardDetails: IcmRewardDetails;
|
|
2784
|
+
sourceTransaction: IcmSourceTransaction;
|
|
2785
|
+
destinationTransaction: IcmDestinationTransaction;
|
|
2786
|
+
status: DeliveredIcmMessage.status;
|
|
2787
|
+
};
|
|
2788
|
+
declare namespace DeliveredIcmMessage {
|
|
2789
|
+
enum status {
|
|
2790
|
+
DELIVERED = "delivered"
|
|
2791
|
+
}
|
|
2792
|
+
}
|
|
2793
|
+
|
|
2794
|
+
type DeliveredSourceNotIndexedIcmMessage = {
|
|
2795
|
+
messageId: string;
|
|
2796
|
+
icmContractAddress: string;
|
|
2797
|
+
sourceBlockchainId: string;
|
|
2798
|
+
destinationBlockchainId: string;
|
|
2799
|
+
sourceEvmChainId: string;
|
|
2800
|
+
destinationEvmChainId: string;
|
|
2801
|
+
messageNonce: string;
|
|
2802
|
+
from: string;
|
|
2803
|
+
to: string;
|
|
2804
|
+
data?: string;
|
|
2805
|
+
messageExecuted: boolean;
|
|
2806
|
+
receipts: Array<IcmReceipt>;
|
|
2807
|
+
receiptDelivered: boolean;
|
|
2808
|
+
rewardDetails: IcmRewardDetails;
|
|
2809
|
+
destinationTransaction: IcmDestinationTransaction;
|
|
2810
|
+
status: DeliveredSourceNotIndexedIcmMessage.status;
|
|
2811
|
+
};
|
|
2812
|
+
declare namespace DeliveredSourceNotIndexedIcmMessage {
|
|
2813
|
+
enum status {
|
|
2814
|
+
DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
|
|
2815
|
+
}
|
|
2816
|
+
}
|
|
2817
|
+
|
|
2818
|
+
type PendingIcmMessage = {
|
|
2819
|
+
messageId: string;
|
|
2820
|
+
icmContractAddress: string;
|
|
2821
|
+
sourceBlockchainId: string;
|
|
2822
|
+
destinationBlockchainId: string;
|
|
2823
|
+
sourceEvmChainId: string;
|
|
2824
|
+
destinationEvmChainId: string;
|
|
2825
|
+
messageNonce: string;
|
|
2826
|
+
from: string;
|
|
2827
|
+
to: string;
|
|
2828
|
+
data?: string;
|
|
2829
|
+
messageExecuted: boolean;
|
|
2830
|
+
receipts: Array<IcmReceipt>;
|
|
2831
|
+
receiptDelivered: boolean;
|
|
2832
|
+
rewardDetails: IcmRewardDetails;
|
|
2833
|
+
sourceTransaction: IcmSourceTransaction;
|
|
2834
|
+
status: PendingIcmMessage.status;
|
|
2835
|
+
};
|
|
2836
|
+
declare namespace PendingIcmMessage {
|
|
2837
|
+
enum status {
|
|
2838
|
+
PENDING = "pending"
|
|
2839
|
+
}
|
|
2840
|
+
}
|
|
2841
|
+
|
|
2842
|
+
type ListIcmMessagesResponse = {
|
|
2606
2843
|
/**
|
|
2607
2844
|
* 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.
|
|
2608
2845
|
*/
|
|
2609
2846
|
nextPageToken?: string;
|
|
2610
|
-
|
|
2847
|
+
messages: Array<(PendingIcmMessage | DeliveredIcmMessage)>;
|
|
2611
2848
|
};
|
|
2612
2849
|
|
|
2613
|
-
declare class
|
|
2850
|
+
declare class InterchainMessagingService {
|
|
2614
2851
|
readonly httpRequest: BaseHttpRequest;
|
|
2615
2852
|
constructor(httpRequest: BaseHttpRequest);
|
|
2616
2853
|
/**
|
|
2617
|
-
*
|
|
2618
|
-
*
|
|
2854
|
+
* Get an ICM message
|
|
2855
|
+
* Gets an ICM message by teleporter message ID.
|
|
2619
2856
|
* @returns any Successful response
|
|
2620
2857
|
* @throws ApiError
|
|
2621
2858
|
*/
|
|
2622
|
-
|
|
2623
|
-
/**
|
|
2624
|
-
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2625
|
-
*/
|
|
2626
|
-
chainId: string;
|
|
2627
|
-
/**
|
|
2628
|
-
* Contract address on the relevant chain.
|
|
2629
|
-
*/
|
|
2630
|
-
address: string;
|
|
2859
|
+
getIcmMessage({ messageId, }: {
|
|
2631
2860
|
/**
|
|
2632
|
-
*
|
|
2861
|
+
* The teleporter message ID of the ICM message.
|
|
2633
2862
|
*/
|
|
2634
|
-
|
|
2635
|
-
}): CancelablePromise<
|
|
2863
|
+
messageId: string;
|
|
2864
|
+
}): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
2636
2865
|
/**
|
|
2637
|
-
* List
|
|
2638
|
-
* Lists
|
|
2639
|
-
* @returns
|
|
2866
|
+
* List ICM messages
|
|
2867
|
+
* Lists ICM messages. Ordered by timestamp in descending order.
|
|
2868
|
+
* @returns ListIcmMessagesResponse Successful response
|
|
2640
2869
|
* @throws ApiError
|
|
2641
2870
|
*/
|
|
2642
|
-
|
|
2643
|
-
/**
|
|
2644
|
-
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2645
|
-
*/
|
|
2646
|
-
chainId: string;
|
|
2647
|
-
/**
|
|
2648
|
-
* Contract address on the relevant chain.
|
|
2649
|
-
*/
|
|
2650
|
-
address: string;
|
|
2871
|
+
listIcmMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
|
|
2651
2872
|
/**
|
|
2652
2873
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2653
2874
|
*/
|
|
@@ -2656,11 +2877,116 @@ declare class NfTsService {
|
|
|
2656
2877
|
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2657
2878
|
*/
|
|
2658
2879
|
pageSize?: number;
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2880
|
+
/**
|
|
2881
|
+
* The base58 encoded blockchain ID or evm chain ID of the source chain that the ICM message was sent from.
|
|
2882
|
+
*/
|
|
2883
|
+
sourceBlockchainId?: string;
|
|
2884
|
+
/**
|
|
2885
|
+
* The base58 encoded blockchain ID or evm chain ID of the destination chain that the ICM message was sent to.
|
|
2886
|
+
*/
|
|
2887
|
+
destinationBlockchainId?: string;
|
|
2888
|
+
/**
|
|
2889
|
+
* The base58 encoded blockchain ID of either source or destination chain that one ICM message interacts with.
|
|
2890
|
+
*/
|
|
2891
|
+
blockchainId?: string;
|
|
2892
|
+
/**
|
|
2893
|
+
* The address of the recipient of the ICM message.
|
|
2894
|
+
*/
|
|
2895
|
+
to?: string;
|
|
2896
|
+
/**
|
|
2897
|
+
* The address of the sender of the ICM message.
|
|
2898
|
+
*/
|
|
2899
|
+
from?: string;
|
|
2900
|
+
/**
|
|
2901
|
+
* Either mainnet or testnet/fuji.
|
|
2902
|
+
*/
|
|
2903
|
+
network?: Network;
|
|
2904
|
+
}): CancelablePromise<ListIcmMessagesResponse>;
|
|
2905
|
+
/**
|
|
2906
|
+
* List ICM messages by address
|
|
2907
|
+
* Lists ICM messages by address. Ordered by timestamp in descending order.
|
|
2908
|
+
* @returns ListIcmMessagesResponse Successful response
|
|
2909
|
+
* @throws ApiError
|
|
2910
|
+
*/
|
|
2911
|
+
listIcmMessagesByAddress({ address, pageToken, pageSize, network, }: {
|
|
2912
|
+
/**
|
|
2913
|
+
* An EVM address.
|
|
2914
|
+
*/
|
|
2915
|
+
address: string;
|
|
2916
|
+
/**
|
|
2917
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2918
|
+
*/
|
|
2919
|
+
pageToken?: string;
|
|
2920
|
+
/**
|
|
2921
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2922
|
+
*/
|
|
2923
|
+
pageSize?: number;
|
|
2924
|
+
/**
|
|
2925
|
+
* Either mainnet or testnet/fuji.
|
|
2926
|
+
*/
|
|
2927
|
+
network?: Network;
|
|
2928
|
+
}): CancelablePromise<ListIcmMessagesResponse>;
|
|
2929
|
+
}
|
|
2930
|
+
|
|
2931
|
+
type ListNftTokens = {
|
|
2932
|
+
/**
|
|
2933
|
+
* 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.
|
|
2934
|
+
*/
|
|
2935
|
+
nextPageToken?: string;
|
|
2936
|
+
tokens: Array<(Erc721Token | Erc1155Token)>;
|
|
2937
|
+
};
|
|
2938
|
+
|
|
2939
|
+
declare class NfTsService {
|
|
2940
|
+
readonly httpRequest: BaseHttpRequest;
|
|
2941
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
2942
|
+
/**
|
|
2943
|
+
* Reindex NFT metadata
|
|
2944
|
+
* Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
|
|
2945
|
+
* @returns any Successful response
|
|
2946
|
+
* @throws ApiError
|
|
2947
|
+
*/
|
|
2948
|
+
reindexNft({ chainId, address, tokenId, }: {
|
|
2949
|
+
/**
|
|
2950
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2951
|
+
*/
|
|
2952
|
+
chainId: string;
|
|
2953
|
+
/**
|
|
2954
|
+
* Contract address on the relevant chain.
|
|
2955
|
+
*/
|
|
2956
|
+
address: string;
|
|
2957
|
+
/**
|
|
2958
|
+
* TokenId on the contract
|
|
2959
|
+
*/
|
|
2960
|
+
tokenId: string;
|
|
2961
|
+
}): CancelablePromise<any>;
|
|
2962
|
+
/**
|
|
2963
|
+
* List tokens
|
|
2964
|
+
* Lists tokens for an NFT contract.
|
|
2965
|
+
* @returns ListNftTokens Successful response
|
|
2966
|
+
* @throws ApiError
|
|
2967
|
+
*/
|
|
2968
|
+
listTokens({ chainId, address, pageToken, pageSize, }: {
|
|
2969
|
+
/**
|
|
2970
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2971
|
+
*/
|
|
2972
|
+
chainId: string;
|
|
2973
|
+
/**
|
|
2974
|
+
* Contract address on the relevant chain.
|
|
2975
|
+
*/
|
|
2976
|
+
address: string;
|
|
2977
|
+
/**
|
|
2978
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2979
|
+
*/
|
|
2980
|
+
pageToken?: string;
|
|
2981
|
+
/**
|
|
2982
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2983
|
+
*/
|
|
2984
|
+
pageSize?: number;
|
|
2985
|
+
}): CancelablePromise<ListNftTokens>;
|
|
2986
|
+
/**
|
|
2987
|
+
* Get token details
|
|
2988
|
+
* Gets token details for a specific token of an NFT contract.
|
|
2989
|
+
* @returns any Successful response
|
|
2664
2990
|
* @throws ApiError
|
|
2665
2991
|
*/
|
|
2666
2992
|
getTokenDetails({ chainId, address, tokenId, }: {
|
|
@@ -2679,6 +3005,108 @@ declare class NfTsService {
|
|
|
2679
3005
|
}): CancelablePromise<(Erc721Token | Erc1155Token)>;
|
|
2680
3006
|
}
|
|
2681
3007
|
|
|
3008
|
+
type AccessRequest = {
|
|
3009
|
+
/**
|
|
3010
|
+
* The email address to send the access token to
|
|
3011
|
+
*/
|
|
3012
|
+
email: string;
|
|
3013
|
+
/**
|
|
3014
|
+
* The captcha to verify the user
|
|
3015
|
+
*/
|
|
3016
|
+
captcha: string;
|
|
3017
|
+
};
|
|
3018
|
+
|
|
3019
|
+
type NotificationsResponse = {
|
|
3020
|
+
message: string;
|
|
3021
|
+
};
|
|
3022
|
+
|
|
3023
|
+
type SubscribeRequest = {
|
|
3024
|
+
/**
|
|
3025
|
+
* The access token to use for authentication
|
|
3026
|
+
*/
|
|
3027
|
+
accessToken: string;
|
|
3028
|
+
/**
|
|
3029
|
+
* The node ID to subscribe to
|
|
3030
|
+
*/
|
|
3031
|
+
nodeId: string;
|
|
3032
|
+
/**
|
|
3033
|
+
* The notification types to subscribe to. If not provided, all notification types will be subscribed to
|
|
3034
|
+
*/
|
|
3035
|
+
notifications?: Array<'connectivity' | 'ports' | 'version'>;
|
|
3036
|
+
};
|
|
3037
|
+
|
|
3038
|
+
type SubscriptionsRequest = {
|
|
3039
|
+
/**
|
|
3040
|
+
* The access token to use for authentication
|
|
3041
|
+
*/
|
|
3042
|
+
accessToken: string;
|
|
3043
|
+
};
|
|
3044
|
+
|
|
3045
|
+
type SubscriptionsResponse = {
|
|
3046
|
+
/**
|
|
3047
|
+
* The email address of the user
|
|
3048
|
+
*/
|
|
3049
|
+
email: string;
|
|
3050
|
+
/**
|
|
3051
|
+
* The subscriptions of the user
|
|
3052
|
+
*/
|
|
3053
|
+
subscriptions: Record<string, {
|
|
3054
|
+
notifications?: Array<'connectivity' | 'ports' | 'version'>;
|
|
3055
|
+
}>;
|
|
3056
|
+
};
|
|
3057
|
+
|
|
3058
|
+
type UnsubscribeRequest = {
|
|
3059
|
+
/**
|
|
3060
|
+
* The access token to use for authentication
|
|
3061
|
+
*/
|
|
3062
|
+
accessToken: string;
|
|
3063
|
+
/**
|
|
3064
|
+
* The node ID to subscribe to
|
|
3065
|
+
*/
|
|
3066
|
+
nodeId: string;
|
|
3067
|
+
};
|
|
3068
|
+
|
|
3069
|
+
declare class NotificationsService {
|
|
3070
|
+
readonly httpRequest: BaseHttpRequest;
|
|
3071
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
3072
|
+
/**
|
|
3073
|
+
* Access Notifications
|
|
3074
|
+
* Access notifications.
|
|
3075
|
+
* @returns NotificationsResponse Successful response
|
|
3076
|
+
* @throws ApiError
|
|
3077
|
+
*/
|
|
3078
|
+
access({ requestBody, }: {
|
|
3079
|
+
requestBody: AccessRequest;
|
|
3080
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
3081
|
+
/**
|
|
3082
|
+
* Subscribe to Notifications
|
|
3083
|
+
* Subscribe to receive notifications.
|
|
3084
|
+
* @returns NotificationsResponse Successful response
|
|
3085
|
+
* @throws ApiError
|
|
3086
|
+
*/
|
|
3087
|
+
subscribe({ requestBody, }: {
|
|
3088
|
+
requestBody: SubscribeRequest;
|
|
3089
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
3090
|
+
/**
|
|
3091
|
+
* Unsubscribe from Notifications
|
|
3092
|
+
* Unsubscribe from receiving notifications.
|
|
3093
|
+
* @returns NotificationsResponse Successful response
|
|
3094
|
+
* @throws ApiError
|
|
3095
|
+
*/
|
|
3096
|
+
unsubscribe({ requestBody, }: {
|
|
3097
|
+
requestBody: UnsubscribeRequest;
|
|
3098
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
3099
|
+
/**
|
|
3100
|
+
* Get Subscriptions
|
|
3101
|
+
* Get subscriptions.
|
|
3102
|
+
* @returns SubscriptionsResponse Successful response
|
|
3103
|
+
* @throws ApiError
|
|
3104
|
+
*/
|
|
3105
|
+
subscriptions({ requestBody, }: {
|
|
3106
|
+
requestBody: SubscriptionsRequest;
|
|
3107
|
+
}): CancelablePromise<SubscriptionsResponse>;
|
|
3108
|
+
}
|
|
3109
|
+
|
|
2682
3110
|
type EvmNetworkOptions = {
|
|
2683
3111
|
addresses: Array<string>;
|
|
2684
3112
|
includeChains: Array<string>;
|
|
@@ -2767,7 +3195,7 @@ type OperationStatusResponse = {
|
|
|
2767
3195
|
operationType: OperationType;
|
|
2768
3196
|
operationStatus: OperationStatus;
|
|
2769
3197
|
message?: string;
|
|
2770
|
-
metadata
|
|
3198
|
+
metadata?: TransactionExportMetadata;
|
|
2771
3199
|
createdAtTimestamp: number;
|
|
2772
3200
|
updatedAtTimestamp: number;
|
|
2773
3201
|
};
|
|
@@ -2800,6 +3228,15 @@ declare class OperationsService {
|
|
|
2800
3228
|
}): CancelablePromise<OperationStatusResponse>;
|
|
2801
3229
|
}
|
|
2802
3230
|
|
|
3231
|
+
type Blockchain = {
|
|
3232
|
+
createBlockTimestamp: number;
|
|
3233
|
+
createBlockNumber: string;
|
|
3234
|
+
blockchainId: string;
|
|
3235
|
+
vmId: string;
|
|
3236
|
+
subnetId: string;
|
|
3237
|
+
blockchainName: string;
|
|
3238
|
+
};
|
|
3239
|
+
|
|
2803
3240
|
declare enum BlockchainIds {
|
|
2804
3241
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
2805
3242
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
@@ -2864,15 +3301,6 @@ type GetNetworkDetailsResponse = {
|
|
|
2864
3301
|
delegatorDetails: DelegatorsDetails;
|
|
2865
3302
|
};
|
|
2866
3303
|
|
|
2867
|
-
type Blockchain = {
|
|
2868
|
-
createBlockTimestamp: number;
|
|
2869
|
-
createBlockNumber: string;
|
|
2870
|
-
blockchainId: string;
|
|
2871
|
-
vmId: string;
|
|
2872
|
-
subnetId: string;
|
|
2873
|
-
blockchainName: string;
|
|
2874
|
-
};
|
|
2875
|
-
|
|
2876
3304
|
type ListBlockchainsResponse = {
|
|
2877
3305
|
/**
|
|
2878
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.
|
|
@@ -2968,6 +3396,10 @@ type L1ValidatorDetailsFull = {
|
|
|
2968
3396
|
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
2969
3397
|
*/
|
|
2970
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;
|
|
2971
3403
|
nodeId: string;
|
|
2972
3404
|
subnetId: string;
|
|
2973
3405
|
/**
|
|
@@ -3004,10 +3436,6 @@ type ListL1ValidatorsResponse = {
|
|
|
3004
3436
|
validators: Array<L1ValidatorDetailsFull>;
|
|
3005
3437
|
};
|
|
3006
3438
|
|
|
3007
|
-
type BlockchainInfo = {
|
|
3008
|
-
blockchainId: string;
|
|
3009
|
-
};
|
|
3010
|
-
|
|
3011
3439
|
type L1ValidatorManagerDetails = {
|
|
3012
3440
|
blockchainId: string;
|
|
3013
3441
|
contractAddress: string;
|
|
@@ -3063,7 +3491,7 @@ type Subnet = {
|
|
|
3063
3491
|
* L1 validator manager details.
|
|
3064
3492
|
*/
|
|
3065
3493
|
l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
|
|
3066
|
-
blockchains: Array<
|
|
3494
|
+
blockchains: Array<Blockchain>;
|
|
3067
3495
|
};
|
|
3068
3496
|
|
|
3069
3497
|
type ListSubnetsResponse = {
|
|
@@ -3079,6 +3507,29 @@ type BlsCredentials = {
|
|
|
3079
3507
|
proofOfPossession: string;
|
|
3080
3508
|
};
|
|
3081
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
|
+
|
|
3082
3533
|
type Rewards = {
|
|
3083
3534
|
validationRewardAmount: string;
|
|
3084
3535
|
delegationRewardAmount: string;
|
|
@@ -3147,6 +3598,10 @@ type ActiveValidatorDetails = {
|
|
|
3147
3598
|
potentialRewards: Rewards;
|
|
3148
3599
|
validationStatus: ActiveValidatorDetails.validationStatus;
|
|
3149
3600
|
validatorHealth: ValidatorHealthDetails;
|
|
3601
|
+
/**
|
|
3602
|
+
* The geographical location of the validator node, if available.
|
|
3603
|
+
*/
|
|
3604
|
+
geolocation: Geolocation | null;
|
|
3150
3605
|
};
|
|
3151
3606
|
declare namespace ActiveValidatorDetails {
|
|
3152
3607
|
enum validationStatus {
|
|
@@ -3383,6 +3838,22 @@ declare class PrimaryNetworkService {
|
|
|
3383
3838
|
*/
|
|
3384
3839
|
sortOrder?: SortOrder;
|
|
3385
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>;
|
|
3386
3857
|
/**
|
|
3387
3858
|
* List subnets
|
|
3388
3859
|
* Lists all subnets registered on the network.
|
|
@@ -3587,7 +4058,7 @@ declare class PrimaryNetworkService {
|
|
|
3587
4058
|
/**
|
|
3588
4059
|
* The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
|
|
3589
4060
|
*/
|
|
3590
|
-
l1ValidationId?:
|
|
4061
|
+
l1ValidationId?: string;
|
|
3591
4062
|
includeInactiveL1Validators?: boolean;
|
|
3592
4063
|
/**
|
|
3593
4064
|
* A valid node ID in format 'NodeID-HASH'.
|
|
@@ -4370,6 +4841,10 @@ type L1ValidatorDetailsTransaction = {
|
|
|
4370
4841
|
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
4371
4842
|
*/
|
|
4372
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;
|
|
4373
4848
|
nodeId: string;
|
|
4374
4849
|
subnetId: string;
|
|
4375
4850
|
/**
|
|
@@ -5132,6 +5607,22 @@ declare class SignatureAggregatorService {
|
|
|
5132
5607
|
network: Network;
|
|
5133
5608
|
requestBody: SignatureAggregatorRequest;
|
|
5134
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>;
|
|
5135
5626
|
}
|
|
5136
5627
|
|
|
5137
5628
|
type TeleporterDestinationTransaction = {
|
|
@@ -5272,8 +5763,10 @@ declare class TeleporterService {
|
|
|
5272
5763
|
readonly httpRequest: BaseHttpRequest;
|
|
5273
5764
|
constructor(httpRequest: BaseHttpRequest);
|
|
5274
5765
|
/**
|
|
5275
|
-
*
|
|
5276
|
-
* Gets a teleporter message by message ID.
|
|
5766
|
+
* @deprecated
|
|
5767
|
+
* **[Deprecated]** Gets a teleporter message by message ID.
|
|
5768
|
+
*
|
|
5769
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages/:messageId endpoint instead** .
|
|
5277
5770
|
* @returns any Successful response
|
|
5278
5771
|
* @throws ApiError
|
|
5279
5772
|
*/
|
|
@@ -5284,8 +5777,10 @@ declare class TeleporterService {
|
|
|
5284
5777
|
messageId: string;
|
|
5285
5778
|
}): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
|
|
5286
5779
|
/**
|
|
5287
|
-
*
|
|
5288
|
-
* Lists teleporter messages. Ordered by timestamp in
|
|
5780
|
+
* @deprecated
|
|
5781
|
+
* **[Deprecated]** Lists teleporter messages. Ordered by timestamp in descending order.
|
|
5782
|
+
*
|
|
5783
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages endpoint instead** .
|
|
5289
5784
|
* @returns ListTeleporterMessagesResponse Successful response
|
|
5290
5785
|
* @throws ApiError
|
|
5291
5786
|
*/
|
|
@@ -5324,8 +5819,10 @@ declare class TeleporterService {
|
|
|
5324
5819
|
network?: Network;
|
|
5325
5820
|
}): CancelablePromise<ListTeleporterMessagesResponse>;
|
|
5326
5821
|
/**
|
|
5327
|
-
*
|
|
5328
|
-
* Lists teleporter messages by address. Ordered by
|
|
5822
|
+
* @deprecated
|
|
5823
|
+
* **[Deprecated]** Lists teleporter messages by address. Ordered by timestamp in descending order.
|
|
5824
|
+
*
|
|
5825
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/icm/addresses/:address/messages endpoint instead** .
|
|
5329
5826
|
* @returns ListTeleporterMessagesResponse Successful response
|
|
5330
5827
|
* @throws ApiError
|
|
5331
5828
|
*/
|
|
@@ -5367,15 +5864,16 @@ type AddressActivityMetadata = {
|
|
|
5367
5864
|
eventSignatures?: Array<string>;
|
|
5368
5865
|
};
|
|
5369
5866
|
|
|
5370
|
-
declare enum
|
|
5371
|
-
|
|
5867
|
+
declare enum PrimaryNetworkType {
|
|
5868
|
+
MAINNET = "mainnet",
|
|
5869
|
+
FUJI = "fuji"
|
|
5372
5870
|
}
|
|
5373
5871
|
|
|
5374
|
-
type
|
|
5872
|
+
type EVMAddressActivityRequest = {
|
|
5873
|
+
eventType: EVMAddressActivityRequest.eventType;
|
|
5375
5874
|
url: string;
|
|
5376
5875
|
chainId: string;
|
|
5377
|
-
|
|
5378
|
-
metadata: AddressActivityMetadata;
|
|
5876
|
+
network?: PrimaryNetworkType;
|
|
5379
5877
|
name?: string;
|
|
5380
5878
|
description?: string;
|
|
5381
5879
|
/**
|
|
@@ -5386,25 +5884,34 @@ type CreateWebhookRequest = {
|
|
|
5386
5884
|
* Whether to include logs in the webhook payload.
|
|
5387
5885
|
*/
|
|
5388
5886
|
includeLogs?: boolean;
|
|
5887
|
+
metadata: AddressActivityMetadata;
|
|
5389
5888
|
};
|
|
5889
|
+
declare namespace EVMAddressActivityRequest {
|
|
5890
|
+
enum eventType {
|
|
5891
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
5892
|
+
}
|
|
5893
|
+
}
|
|
5390
5894
|
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
addresses: Array<string>;
|
|
5397
|
-
totalAddresses: number;
|
|
5398
|
-
};
|
|
5895
|
+
declare enum EventType {
|
|
5896
|
+
ADDRESS_ACTIVITY = "address_activity",
|
|
5897
|
+
PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
|
|
5898
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
5899
|
+
}
|
|
5399
5900
|
|
|
5400
5901
|
declare enum WebhookStatusType {
|
|
5401
5902
|
ACTIVE = "active",
|
|
5402
5903
|
INACTIVE = "inactive"
|
|
5403
5904
|
}
|
|
5404
5905
|
|
|
5405
|
-
type
|
|
5906
|
+
type EVMAddressActivityResponse = {
|
|
5406
5907
|
id: string;
|
|
5407
5908
|
eventType: EventType;
|
|
5909
|
+
url: string;
|
|
5910
|
+
chainId: string;
|
|
5911
|
+
status: WebhookStatusType;
|
|
5912
|
+
createdAt: number;
|
|
5913
|
+
name: string;
|
|
5914
|
+
description: string;
|
|
5408
5915
|
metadata: AddressActivityMetadata;
|
|
5409
5916
|
/**
|
|
5410
5917
|
* Whether to include traces in the webhook payload.
|
|
@@ -5414,12 +5921,109 @@ type WebhookResponse = {
|
|
|
5414
5921
|
* Whether to include logs in the webhook payload.
|
|
5415
5922
|
*/
|
|
5416
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;
|
|
5417
6020
|
url: string;
|
|
5418
6021
|
chainId: string;
|
|
5419
6022
|
status: WebhookStatusType;
|
|
5420
6023
|
createdAt: number;
|
|
5421
6024
|
name: string;
|
|
5422
6025
|
description: string;
|
|
6026
|
+
metadata: PlatformActivityMetadata;
|
|
5423
6027
|
};
|
|
5424
6028
|
|
|
5425
6029
|
type ListWebhooksResponse = {
|
|
@@ -5427,9 +6031,36 @@ type ListWebhooksResponse = {
|
|
|
5427
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.
|
|
5428
6032
|
*/
|
|
5429
6033
|
nextPageToken?: string;
|
|
5430
|
-
webhooks: Array<
|
|
6034
|
+
webhooks: Array<(EVMAddressActivityResponse | PlatformActivityResponse)>;
|
|
5431
6035
|
};
|
|
5432
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;
|
|
6056
|
+
};
|
|
6057
|
+
declare namespace PlatformActivityRequest {
|
|
6058
|
+
enum eventType {
|
|
6059
|
+
PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
|
|
6060
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6061
|
+
}
|
|
6062
|
+
}
|
|
6063
|
+
|
|
5433
6064
|
type SharedSecretsResponse = {
|
|
5434
6065
|
secret: string;
|
|
5435
6066
|
};
|
|
@@ -5457,12 +6088,12 @@ declare class WebhooksService {
|
|
|
5457
6088
|
/**
|
|
5458
6089
|
* Create a webhook
|
|
5459
6090
|
* Create a new webhook.
|
|
5460
|
-
* @returns
|
|
6091
|
+
* @returns any Successful response
|
|
5461
6092
|
* @throws ApiError
|
|
5462
6093
|
*/
|
|
5463
6094
|
createWebhook({ requestBody, }: {
|
|
5464
|
-
requestBody:
|
|
5465
|
-
}): CancelablePromise<
|
|
6095
|
+
requestBody: (EVMAddressActivityRequest | PlatformActivityRequest);
|
|
6096
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
|
|
5466
6097
|
/**
|
|
5467
6098
|
* List webhooks
|
|
5468
6099
|
* Lists webhooks for the user.
|
|
@@ -5486,7 +6117,7 @@ declare class WebhooksService {
|
|
|
5486
6117
|
/**
|
|
5487
6118
|
* Get a webhook by ID
|
|
5488
6119
|
* Retrieves a webhook by ID.
|
|
5489
|
-
* @returns
|
|
6120
|
+
* @returns any Successful response
|
|
5490
6121
|
* @throws ApiError
|
|
5491
6122
|
*/
|
|
5492
6123
|
getWebhook({ id, }: {
|
|
@@ -5494,11 +6125,11 @@ declare class WebhooksService {
|
|
|
5494
6125
|
* The webhook identifier.
|
|
5495
6126
|
*/
|
|
5496
6127
|
id: string;
|
|
5497
|
-
}): CancelablePromise<
|
|
6128
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
|
|
5498
6129
|
/**
|
|
5499
6130
|
* Deactivate a webhook
|
|
5500
6131
|
* Deactivates a webhook by ID.
|
|
5501
|
-
* @returns
|
|
6132
|
+
* @returns any Successful response
|
|
5502
6133
|
* @throws ApiError
|
|
5503
6134
|
*/
|
|
5504
6135
|
deactivateWebhook({ id, }: {
|
|
@@ -5506,11 +6137,11 @@ declare class WebhooksService {
|
|
|
5506
6137
|
* The webhook identifier.
|
|
5507
6138
|
*/
|
|
5508
6139
|
id: string;
|
|
5509
|
-
}): CancelablePromise<
|
|
6140
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
|
|
5510
6141
|
/**
|
|
5511
6142
|
* Update a webhook
|
|
5512
6143
|
* Updates an existing webhook.
|
|
5513
|
-
* @returns
|
|
6144
|
+
* @returns any Successful response
|
|
5514
6145
|
* @throws ApiError
|
|
5515
6146
|
*/
|
|
5516
6147
|
updateWebhook({ id, requestBody, }: {
|
|
@@ -5519,14 +6150,14 @@ declare class WebhooksService {
|
|
|
5519
6150
|
*/
|
|
5520
6151
|
id: string;
|
|
5521
6152
|
requestBody: UpdateWebhookRequest;
|
|
5522
|
-
}): CancelablePromise<
|
|
6153
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
|
|
5523
6154
|
/**
|
|
5524
|
-
* Generate a shared secret
|
|
5525
|
-
* Generates a new shared secret.
|
|
6155
|
+
* Generate or rotate a shared secret
|
|
6156
|
+
* Generates a new shared secret or rotate an existing one.
|
|
5526
6157
|
* @returns SharedSecretsResponse Successful response
|
|
5527
6158
|
* @throws ApiError
|
|
5528
6159
|
*/
|
|
5529
|
-
|
|
6160
|
+
generateOrRotateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
5530
6161
|
/**
|
|
5531
6162
|
* Get a shared secret
|
|
5532
6163
|
* Get a previously generated shared secret.
|
|
@@ -5535,9 +6166,9 @@ declare class WebhooksService {
|
|
|
5535
6166
|
*/
|
|
5536
6167
|
getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
5537
6168
|
/**
|
|
5538
|
-
* Add addresses to webhook
|
|
5539
|
-
* Add addresses to webhook.
|
|
5540
|
-
* @returns
|
|
6169
|
+
* Add addresses to EVM activity webhook
|
|
6170
|
+
* Add addresses to webhook. Only valid for EVM activity webhooks.
|
|
6171
|
+
* @returns EVMAddressActivityResponse Successful response
|
|
5541
6172
|
* @throws ApiError
|
|
5542
6173
|
*/
|
|
5543
6174
|
addAddressesToWebhook({ id, requestBody, }: {
|
|
@@ -5546,11 +6177,11 @@ declare class WebhooksService {
|
|
|
5546
6177
|
*/
|
|
5547
6178
|
id: string;
|
|
5548
6179
|
requestBody: AddressesChangeRequest;
|
|
5549
|
-
}): CancelablePromise<
|
|
6180
|
+
}): CancelablePromise<EVMAddressActivityResponse>;
|
|
5550
6181
|
/**
|
|
5551
|
-
* Remove addresses from webhook
|
|
5552
|
-
* Remove addresses from webhook.
|
|
5553
|
-
* @returns
|
|
6182
|
+
* Remove addresses from EVM activity webhook
|
|
6183
|
+
* Remove addresses from webhook. Only valid for EVM activity webhooks.
|
|
6184
|
+
* @returns EVMAddressActivityResponse Successful response
|
|
5554
6185
|
* @throws ApiError
|
|
5555
6186
|
*/
|
|
5556
6187
|
removeAddressesFromWebhook({ id, requestBody, }: {
|
|
@@ -5559,10 +6190,10 @@ declare class WebhooksService {
|
|
|
5559
6190
|
*/
|
|
5560
6191
|
id: string;
|
|
5561
6192
|
requestBody: AddressesChangeRequest;
|
|
5562
|
-
}): CancelablePromise<
|
|
6193
|
+
}): CancelablePromise<EVMAddressActivityResponse>;
|
|
5563
6194
|
/**
|
|
5564
|
-
* List adresses by
|
|
5565
|
-
* List adresses by webhook.
|
|
6195
|
+
* List adresses by EVM activity webhooks
|
|
6196
|
+
* List adresses by webhook. Only valid for EVM activity webhooks.
|
|
5566
6197
|
* @returns ListWebhookAddressesResponse Successful response
|
|
5567
6198
|
* @throws ApiError
|
|
5568
6199
|
*/
|
|
@@ -5592,7 +6223,9 @@ declare class Glacier {
|
|
|
5592
6223
|
readonly evmContracts: EvmContractsService;
|
|
5593
6224
|
readonly evmTransactions: EvmTransactionsService;
|
|
5594
6225
|
readonly healthCheck: HealthCheckService;
|
|
6226
|
+
readonly interchainMessaging: InterchainMessagingService;
|
|
5595
6227
|
readonly nfTs: NfTsService;
|
|
6228
|
+
readonly notifications: NotificationsService;
|
|
5596
6229
|
readonly operations: OperationsService;
|
|
5597
6230
|
readonly primaryNetwork: PrimaryNetworkService;
|
|
5598
6231
|
readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
|
|
@@ -5625,6 +6258,17 @@ declare class ApiError extends Error {
|
|
|
5625
6258
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
5626
6259
|
}
|
|
5627
6260
|
|
|
6261
|
+
type AccessListData = {
|
|
6262
|
+
/**
|
|
6263
|
+
* Access Address
|
|
6264
|
+
*/
|
|
6265
|
+
accessAddresses: string;
|
|
6266
|
+
/**
|
|
6267
|
+
* Storage keys
|
|
6268
|
+
*/
|
|
6269
|
+
storageKeys: Array<string>;
|
|
6270
|
+
};
|
|
6271
|
+
|
|
5628
6272
|
type BadGateway = {
|
|
5629
6273
|
/**
|
|
5630
6274
|
* The error message describing the reason for the exception
|
|
@@ -5659,6 +6303,76 @@ type DataListChainsResponse = {
|
|
|
5659
6303
|
chains: Array<ChainInfo>;
|
|
5660
6304
|
};
|
|
5661
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
|
+
|
|
5662
6376
|
type Forbidden = {
|
|
5663
6377
|
/**
|
|
5664
6378
|
* The error message describing the reason for the exception
|
|
@@ -5689,6 +6403,64 @@ type InternalServerError = {
|
|
|
5689
6403
|
error: string;
|
|
5690
6404
|
};
|
|
5691
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
|
+
|
|
5692
6464
|
type NextPageToken = {
|
|
5693
6465
|
/**
|
|
5694
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.
|
|
@@ -5741,6 +6513,132 @@ type TooManyRequests = {
|
|
|
5741
6513
|
error: string;
|
|
5742
6514
|
};
|
|
5743
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
|
+
|
|
5744
6642
|
type Unauthorized = {
|
|
5745
6643
|
/**
|
|
5746
6644
|
* The error message describing the reason for the exception
|
|
@@ -5756,4 +6654,31 @@ type Unauthorized = {
|
|
|
5756
6654
|
error: string;
|
|
5757
6655
|
};
|
|
5758
6656
|
|
|
5759
|
-
|
|
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 };
|