@avalabs/glacier-sdk 3.1.0-canary.00bb330.0 → 3.1.0-canary.0130d29.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 -1
- package/dist/index.d.ts +224 -97
- package/esm/generated/Glacier.d.ts +2 -0
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/core/FetchHttpRequest.d.ts +17 -0
- package/esm/generated/core/OpenAPI.js +1 -1
- package/esm/generated/models/AddressActivityEventType.d.ts +5 -0
- package/esm/generated/models/AddressActivityEventType.js +1 -0
- package/esm/generated/models/AddressActivityMetadata.d.ts +4 -4
- package/esm/generated/models/Blockchain.d.ts +4 -0
- package/esm/generated/models/BlockchainId.d.ts +0 -2
- package/esm/generated/models/BlockchainId.js +1 -1
- package/esm/generated/models/BlockchainIds.d.ts +1 -3
- package/esm/generated/models/BlockchainIds.js +1 -1
- package/esm/generated/models/BlockchainInfo.d.ts +10 -0
- package/esm/generated/models/EVMAddressActivityRequest.d.ts +2 -4
- package/esm/generated/models/EVMAddressActivityResponse.d.ts +2 -2
- package/esm/generated/models/InternalTransaction.d.ts +16 -15
- package/esm/generated/models/ListIcmMessagesResponse.d.ts +2 -1
- package/esm/generated/models/ListL1ValidatorsResponse.d.ts +4 -0
- package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +2 -1
- package/esm/generated/models/ListWebhooksResponse.d.ts +3 -2
- package/esm/generated/models/PChainTransaction.d.ts +5 -0
- package/esm/generated/models/PChainUtxo.d.ts +4 -0
- package/esm/generated/models/PlatformAddressActivityKeyType.d.ts +8 -0
- package/esm/generated/models/PlatformAddressActivityKeyType.js +1 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityEventType.d.ts +5 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityEventType.js +1 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityMetadata.d.ts +25 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityRequest.d.ts +22 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityRequest.js +1 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityResponse.d.ts +17 -0
- package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.d.ts +10 -0
- package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.js +1 -0
- package/esm/generated/models/PrimaryNetworkAddressActivitySubEvents.d.ts +7 -0
- package/esm/generated/models/{PlatformBalanceThresholdFilter.d.ts → PrimaryNetworkBalanceThresholdFilter.d.ts} +2 -2
- package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
- package/esm/generated/models/TeleporterMessageInfo.d.ts +2 -2
- package/esm/generated/models/Transaction.d.ts +2 -2
- package/esm/generated/models/Utxo.d.ts +4 -0
- package/esm/generated/models/ValidatorActivityEventType.d.ts +5 -0
- package/esm/generated/models/ValidatorActivityEventType.js +1 -0
- package/esm/generated/models/ValidatorActivityKeyType.d.ts +9 -0
- package/esm/generated/models/ValidatorActivityKeyType.js +1 -0
- package/esm/generated/models/ValidatorActivityMetadata.d.ts +32 -0
- package/esm/generated/models/ValidatorActivityRequest.d.ts +21 -0
- package/esm/generated/models/ValidatorActivityRequest.js +1 -0
- package/esm/generated/models/ValidatorActivityResponse.d.ts +17 -0
- package/esm/generated/models/ValidatorActivitySubEvents.d.ts +8 -0
- package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
- package/esm/generated/models/XChainId.d.ts +0 -1
- package/esm/generated/models/XChainId.js +1 -1
- package/esm/generated/services/AvaxSupplyService.d.ts +16 -0
- package/esm/generated/services/AvaxSupplyService.js +1 -0
- package/esm/generated/services/PrimaryNetworkService.d.ts +2 -2
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/generated/services/WebhooksService.d.ts +9 -7
- package/esm/index.d.ts +20 -8
- package/esm/index.js +1 -1
- package/package.json +2 -2
- package/esm/generated/models/EventType.d.ts +0 -7
- package/esm/generated/models/EventType.js +0 -1
- package/esm/generated/models/PlatformActivityKeyType.d.ts +0 -10
- package/esm/generated/models/PlatformActivityKeyType.js +0 -1
- package/esm/generated/models/PlatformActivityMetadata.d.ts +0 -37
- package/esm/generated/models/PlatformActivityRequest.d.ts +0 -31
- package/esm/generated/models/PlatformActivityRequest.js +0 -1
- package/esm/generated/models/PlatformActivityResponse.d.ts +0 -17
- package/esm/generated/models/PlatformActivitySubEvents.d.ts +0 -11
- package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +0 -10
- package/esm/generated/models/PlatformAddressActivitySubEventType.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -54,6 +54,18 @@ declare abstract class BaseHttpRequest {
|
|
|
54
54
|
abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
declare class AvaxSupplyService {
|
|
58
|
+
readonly httpRequest: BaseHttpRequest;
|
|
59
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
60
|
+
/**
|
|
61
|
+
* Get AVAX supply information
|
|
62
|
+
* Get AVAX supply information that includes total supply, circulating supply, total p burned, total c burned, total x burned, total staked, total locked, total rewards, and last updated.
|
|
63
|
+
* @returns void
|
|
64
|
+
* @throws ApiError
|
|
65
|
+
*/
|
|
66
|
+
getAvaxSupply(): CancelablePromise<void>;
|
|
67
|
+
}
|
|
68
|
+
|
|
57
69
|
type LogsFormatMetadata = {
|
|
58
70
|
/**
|
|
59
71
|
* The IP address of the client that made the request.
|
|
@@ -2084,11 +2096,11 @@ type TeleporterMessageInfo = {
|
|
|
2084
2096
|
/**
|
|
2085
2097
|
* chain id of the source chain. valid only for destination transactions
|
|
2086
2098
|
*/
|
|
2087
|
-
sourceChainId?:
|
|
2099
|
+
sourceChainId?: string;
|
|
2088
2100
|
/**
|
|
2089
2101
|
* chain id of the destination chain. valid only for source transactions
|
|
2090
2102
|
*/
|
|
2091
|
-
destinationChainId?:
|
|
2103
|
+
destinationChainId?: string;
|
|
2092
2104
|
};
|
|
2093
2105
|
|
|
2094
2106
|
type GetTransactionResponse = {
|
|
@@ -2221,33 +2233,31 @@ type ListErc721TransactionsResponse = {
|
|
|
2221
2233
|
|
|
2222
2234
|
type InternalTransaction = {
|
|
2223
2235
|
/**
|
|
2224
|
-
*
|
|
2236
|
+
* The block number on the chain.
|
|
2225
2237
|
*/
|
|
2226
|
-
|
|
2238
|
+
blockNumber: string;
|
|
2227
2239
|
/**
|
|
2228
|
-
*
|
|
2240
|
+
* The block finality timestamp.
|
|
2229
2241
|
*/
|
|
2230
|
-
|
|
2242
|
+
blockTimestamp: number;
|
|
2231
2243
|
/**
|
|
2232
|
-
*
|
|
2244
|
+
* The block hash identifier.
|
|
2233
2245
|
*/
|
|
2234
|
-
|
|
2246
|
+
blockHash: string;
|
|
2235
2247
|
/**
|
|
2236
|
-
*
|
|
2248
|
+
* The transaction hash identifier.
|
|
2237
2249
|
*/
|
|
2250
|
+
txHash: string;
|
|
2251
|
+
from: RichAddress;
|
|
2252
|
+
to: RichAddress;
|
|
2253
|
+
internalTxType: InternalTransactionOpCall;
|
|
2238
2254
|
value: string;
|
|
2239
2255
|
/**
|
|
2240
|
-
*
|
|
2256
|
+
* True if the internal transaction was reverted.
|
|
2241
2257
|
*/
|
|
2258
|
+
isReverted: boolean;
|
|
2242
2259
|
gasUsed: string;
|
|
2243
|
-
/**
|
|
2244
|
-
* Gas limit
|
|
2245
|
-
*/
|
|
2246
2260
|
gasLimit: string;
|
|
2247
|
-
/**
|
|
2248
|
-
* Transaction hash
|
|
2249
|
-
*/
|
|
2250
|
-
transactionHash: string;
|
|
2251
2261
|
};
|
|
2252
2262
|
|
|
2253
2263
|
type ListInternalTransactionsResponse = {
|
|
@@ -2844,7 +2854,7 @@ type ListIcmMessagesResponse = {
|
|
|
2844
2854
|
* 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.
|
|
2845
2855
|
*/
|
|
2846
2856
|
nextPageToken?: string;
|
|
2847
|
-
messages: Array<(PendingIcmMessage | DeliveredIcmMessage)>;
|
|
2857
|
+
messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
2848
2858
|
};
|
|
2849
2859
|
|
|
2850
2860
|
declare class InterchainMessagingService {
|
|
@@ -3140,7 +3150,7 @@ declare enum PrimaryNetworkOperationType {
|
|
|
3140
3150
|
type PrimaryNetworkOptions = {
|
|
3141
3151
|
addresses?: Array<string>;
|
|
3142
3152
|
cChainEvmAddresses?: Array<string>;
|
|
3143
|
-
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '
|
|
3153
|
+
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
|
|
3144
3154
|
};
|
|
3145
3155
|
|
|
3146
3156
|
type CreatePrimaryNetworkTransactionExportRequest = {
|
|
@@ -3239,16 +3249,18 @@ type Blockchain = {
|
|
|
3239
3249
|
* EVM Chain ID for the EVM-based chains. This field is extracted from genesis data, and may be present for non-EVM chains as well.
|
|
3240
3250
|
*/
|
|
3241
3251
|
evmChainId: number;
|
|
3252
|
+
/**
|
|
3253
|
+
* The genesis data of the blockchain.
|
|
3254
|
+
*/
|
|
3255
|
+
genesisData?: Record<string, any>;
|
|
3242
3256
|
};
|
|
3243
3257
|
|
|
3244
3258
|
declare enum BlockchainIds {
|
|
3245
3259
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
3246
3260
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
3247
3261
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
3248
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
3249
3262
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
3250
|
-
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
|
|
3251
|
-
V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
|
|
3263
|
+
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
|
|
3252
3264
|
}
|
|
3253
3265
|
|
|
3254
3266
|
type ChainAddressChainIdMap = {
|
|
@@ -3438,6 +3450,10 @@ type ListL1ValidatorsResponse = {
|
|
|
3438
3450
|
* The list of L1 validations for the given Subnet ID, NodeId or validationId
|
|
3439
3451
|
*/
|
|
3440
3452
|
validators: Array<L1ValidatorDetailsFull>;
|
|
3453
|
+
/**
|
|
3454
|
+
* Block height at which the L1 validator's remaining balance is calculated
|
|
3455
|
+
*/
|
|
3456
|
+
blockHeight: string;
|
|
3441
3457
|
};
|
|
3442
3458
|
|
|
3443
3459
|
type L1ValidatorManagerDetails = {
|
|
@@ -3763,7 +3779,6 @@ type XChainAssetDetails = {
|
|
|
3763
3779
|
declare enum XChainId {
|
|
3764
3780
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
3765
3781
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
3766
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
3767
3782
|
X_CHAIN = "x-chain"
|
|
3768
3783
|
}
|
|
3769
3784
|
|
|
@@ -3834,7 +3849,7 @@ declare class PrimaryNetworkService {
|
|
|
3834
3849
|
*/
|
|
3835
3850
|
pageToken?: string;
|
|
3836
3851
|
/**
|
|
3837
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
3852
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
|
|
3838
3853
|
*/
|
|
3839
3854
|
pageSize?: number;
|
|
3840
3855
|
/**
|
|
@@ -3874,7 +3889,7 @@ declare class PrimaryNetworkService {
|
|
|
3874
3889
|
*/
|
|
3875
3890
|
pageToken?: string;
|
|
3876
3891
|
/**
|
|
3877
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
3892
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
|
|
3878
3893
|
*/
|
|
3879
3894
|
pageSize?: number;
|
|
3880
3895
|
/**
|
|
@@ -4079,10 +4094,8 @@ declare enum BlockchainId {
|
|
|
4079
4094
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
4080
4095
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
4081
4096
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
4082
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
4083
4097
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
4084
4098
|
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
|
|
4085
|
-
V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
|
|
4086
4099
|
P_CHAIN = "p-chain",
|
|
4087
4100
|
X_CHAIN = "x-chain",
|
|
4088
4101
|
C_CHAIN = "c-chain"
|
|
@@ -4672,6 +4685,10 @@ type Utxo = {
|
|
|
4672
4685
|
* UTXO ID for this output.
|
|
4673
4686
|
*/
|
|
4674
4687
|
utxoId: string;
|
|
4688
|
+
/**
|
|
4689
|
+
* The bytes of the UTXO
|
|
4690
|
+
*/
|
|
4691
|
+
utxoBytes?: string;
|
|
4675
4692
|
/**
|
|
4676
4693
|
* Unix timestamp in seconds at which this output was consumed.
|
|
4677
4694
|
*/
|
|
@@ -4840,6 +4857,15 @@ type ListCChainAtomicTransactionsResponse = {
|
|
|
4840
4857
|
chainInfo: PrimaryNetworkChainInfo;
|
|
4841
4858
|
};
|
|
4842
4859
|
|
|
4860
|
+
type BlockchainInfo = {
|
|
4861
|
+
chainName: string;
|
|
4862
|
+
vmId: string;
|
|
4863
|
+
/**
|
|
4864
|
+
* The genesis data of the blockchain. Present for CreateChainTx. EVM based chains will return the genesis data as an object. Non-EVM based chains will return the genesis data as an encoded string. The encoding depends on the VM
|
|
4865
|
+
*/
|
|
4866
|
+
genesisData?: Record<string, any>;
|
|
4867
|
+
};
|
|
4868
|
+
|
|
4843
4869
|
type L1ValidatorDetailsTransaction = {
|
|
4844
4870
|
/**
|
|
4845
4871
|
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
@@ -4920,6 +4946,10 @@ type PChainUtxo = {
|
|
|
4920
4946
|
* UTXO ID for this output.
|
|
4921
4947
|
*/
|
|
4922
4948
|
utxoId: string;
|
|
4949
|
+
/**
|
|
4950
|
+
* The bytes of the UTXO
|
|
4951
|
+
*/
|
|
4952
|
+
utxoBytes?: string;
|
|
4923
4953
|
/**
|
|
4924
4954
|
* @deprecated
|
|
4925
4955
|
*/
|
|
@@ -5068,6 +5098,10 @@ type PChainTransaction = {
|
|
|
5068
5098
|
* Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
|
|
5069
5099
|
*/
|
|
5070
5100
|
blsCredentials?: BlsCredentials;
|
|
5101
|
+
/**
|
|
5102
|
+
* Details of the blockchain that was created in the CreateChainTx
|
|
5103
|
+
*/
|
|
5104
|
+
blockchainInfo?: BlockchainInfo;
|
|
5071
5105
|
};
|
|
5072
5106
|
|
|
5073
5107
|
type ListPChainTransactionsResponse = {
|
|
@@ -5760,7 +5794,7 @@ type ListTeleporterMessagesResponse = {
|
|
|
5760
5794
|
* 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.
|
|
5761
5795
|
*/
|
|
5762
5796
|
nextPageToken?: string;
|
|
5763
|
-
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
|
|
5797
|
+
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
5764
5798
|
};
|
|
5765
5799
|
|
|
5766
5800
|
declare class TeleporterService {
|
|
@@ -5858,28 +5892,23 @@ type AddressesChangeRequest = {
|
|
|
5858
5892
|
};
|
|
5859
5893
|
|
|
5860
5894
|
type AddressActivityMetadata = {
|
|
5861
|
-
/**
|
|
5862
|
-
* Ethereum address(es) for the address_activity event type
|
|
5863
|
-
*/
|
|
5864
|
-
addresses: Array<string>;
|
|
5865
5895
|
/**
|
|
5866
5896
|
* Array of hexadecimal strings of the event signatures.
|
|
5867
5897
|
*/
|
|
5868
5898
|
eventSignatures?: Array<string>;
|
|
5899
|
+
/**
|
|
5900
|
+
* Ethereum address(es) for the address_activity event type. The maximum number of 'addresses' you can track depends on the Data API plan you are subscribed to.
|
|
5901
|
+
*/
|
|
5902
|
+
addresses: Array<string>;
|
|
5869
5903
|
};
|
|
5870
5904
|
|
|
5871
|
-
declare enum PrimaryNetworkType {
|
|
5872
|
-
MAINNET = "mainnet",
|
|
5873
|
-
FUJI = "fuji"
|
|
5874
|
-
}
|
|
5875
|
-
|
|
5876
5905
|
type EVMAddressActivityRequest = {
|
|
5877
5906
|
eventType: EVMAddressActivityRequest.eventType;
|
|
5878
5907
|
url: string;
|
|
5879
|
-
chainId: string;
|
|
5880
|
-
network?: PrimaryNetworkType;
|
|
5881
5908
|
name?: string;
|
|
5882
5909
|
description?: string;
|
|
5910
|
+
chainId: string;
|
|
5911
|
+
metadata: AddressActivityMetadata;
|
|
5883
5912
|
/**
|
|
5884
5913
|
* Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
|
|
5885
5914
|
*/
|
|
@@ -5888,7 +5917,6 @@ type EVMAddressActivityRequest = {
|
|
|
5888
5917
|
* Whether to include logs in the webhook payload.
|
|
5889
5918
|
*/
|
|
5890
5919
|
includeLogs?: boolean;
|
|
5891
|
-
metadata: AddressActivityMetadata;
|
|
5892
5920
|
};
|
|
5893
5921
|
declare namespace EVMAddressActivityRequest {
|
|
5894
5922
|
enum eventType {
|
|
@@ -5896,10 +5924,8 @@ declare namespace EVMAddressActivityRequest {
|
|
|
5896
5924
|
}
|
|
5897
5925
|
}
|
|
5898
5926
|
|
|
5899
|
-
declare enum
|
|
5900
|
-
ADDRESS_ACTIVITY = "address_activity"
|
|
5901
|
-
PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
|
|
5902
|
-
VALIDATOR_ACTIVITY = "validator_activity"
|
|
5927
|
+
declare enum AddressActivityEventType {
|
|
5928
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
5903
5929
|
}
|
|
5904
5930
|
|
|
5905
5931
|
declare enum WebhookStatusType {
|
|
@@ -5909,13 +5935,13 @@ declare enum WebhookStatusType {
|
|
|
5909
5935
|
|
|
5910
5936
|
type EVMAddressActivityResponse = {
|
|
5911
5937
|
id: string;
|
|
5912
|
-
eventType: EventType;
|
|
5913
5938
|
url: string;
|
|
5914
5939
|
chainId: string;
|
|
5915
5940
|
status: WebhookStatusType;
|
|
5916
5941
|
createdAt: number;
|
|
5917
5942
|
name: string;
|
|
5918
5943
|
description: string;
|
|
5944
|
+
eventType: AddressActivityEventType;
|
|
5919
5945
|
metadata: AddressActivityMetadata;
|
|
5920
5946
|
/**
|
|
5921
5947
|
* Whether to include traces in the webhook payload.
|
|
@@ -5936,30 +5962,28 @@ type ListWebhookAddressesResponse = {
|
|
|
5936
5962
|
totalAddresses: number;
|
|
5937
5963
|
};
|
|
5938
5964
|
|
|
5965
|
+
declare enum PrimaryNetworkAddressActivityEventType {
|
|
5966
|
+
PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
|
|
5967
|
+
}
|
|
5968
|
+
|
|
5939
5969
|
/**
|
|
5940
|
-
* The type of key
|
|
5970
|
+
* The type of key to monitor for the address activity event type.
|
|
5941
5971
|
*/
|
|
5942
|
-
declare enum
|
|
5943
|
-
ADDRESSES = "addresses"
|
|
5944
|
-
NODE_ID = "nodeId",
|
|
5945
|
-
SUBNET_ID = "subnetId"
|
|
5972
|
+
declare enum PlatformAddressActivityKeyType {
|
|
5973
|
+
ADDRESSES = "addresses"
|
|
5946
5974
|
}
|
|
5947
5975
|
|
|
5948
5976
|
/**
|
|
5949
5977
|
* Array of address activity sub-event types
|
|
5950
5978
|
*/
|
|
5951
|
-
declare enum
|
|
5952
|
-
|
|
5953
|
-
|
|
5979
|
+
declare enum PrimaryNetworkAddressActivitySubEventType {
|
|
5980
|
+
BALANCE_CHANGE = "balance_change",
|
|
5981
|
+
BALANCE_THRESHOLD = "balance_threshold",
|
|
5954
5982
|
REWARD_DISTRIBUTION = "reward_distribution"
|
|
5955
5983
|
}
|
|
5956
5984
|
|
|
5957
|
-
type
|
|
5958
|
-
|
|
5959
|
-
* Array of validator activity sub-event types
|
|
5960
|
-
*/
|
|
5961
|
-
validatorActivitySubEvents?: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
|
|
5962
|
-
addressActivitySubEvents?: Array<PlatformAddressActivitySubEventType>;
|
|
5985
|
+
type PrimaryNetworkAddressActivitySubEvents = {
|
|
5986
|
+
addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
|
|
5963
5987
|
};
|
|
5964
5988
|
|
|
5965
5989
|
/**
|
|
@@ -5978,7 +6002,7 @@ declare enum CommonBalanceType {
|
|
|
5978
6002
|
ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
|
|
5979
6003
|
}
|
|
5980
6004
|
|
|
5981
|
-
type
|
|
6005
|
+
type PrimaryNetworkBalanceThresholdFilter = {
|
|
5982
6006
|
balanceType: CommonBalanceType;
|
|
5983
6007
|
/**
|
|
5984
6008
|
* Threshold for balance corresponding to balanceType in nAVAX
|
|
@@ -5986,20 +6010,71 @@ type PlatformBalanceThresholdFilter = {
|
|
|
5986
6010
|
balanceThreshold: string;
|
|
5987
6011
|
};
|
|
5988
6012
|
|
|
5989
|
-
type
|
|
5990
|
-
|
|
6013
|
+
type PrimaryNetworkAddressActivityMetadata = {
|
|
6014
|
+
/**
|
|
6015
|
+
* Array of hexadecimal strings of the event signatures.
|
|
6016
|
+
*/
|
|
6017
|
+
eventSignatures?: Array<string>;
|
|
6018
|
+
keyType: PlatformAddressActivityKeyType;
|
|
5991
6019
|
/**
|
|
5992
|
-
* Array of keys like addresses
|
|
6020
|
+
* Array of keys like addresses corresponding to the keyType being monitored. For PrimaryNetworkAddressActivity event, an array of multiple addresses can be provided. The maximum number of 'addresses' you can track depends on the Data API plan you are subscribed to.
|
|
5993
6021
|
*/
|
|
5994
6022
|
keys: Array<string>;
|
|
5995
6023
|
/**
|
|
5996
6024
|
* Sub-events to monitor
|
|
5997
6025
|
*/
|
|
5998
|
-
subEvents
|
|
6026
|
+
subEvents: PrimaryNetworkAddressActivitySubEvents;
|
|
6027
|
+
/**
|
|
6028
|
+
* Balance threshold filter
|
|
6029
|
+
*/
|
|
6030
|
+
balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
|
|
6031
|
+
};
|
|
6032
|
+
|
|
6033
|
+
type PrimaryNetworkAddressActivityResponse = {
|
|
6034
|
+
id: string;
|
|
6035
|
+
url: string;
|
|
6036
|
+
chainId: string;
|
|
6037
|
+
status: WebhookStatusType;
|
|
6038
|
+
createdAt: number;
|
|
6039
|
+
name: string;
|
|
6040
|
+
description: string;
|
|
6041
|
+
eventType: PrimaryNetworkAddressActivityEventType;
|
|
6042
|
+
metadata: PrimaryNetworkAddressActivityMetadata;
|
|
6043
|
+
};
|
|
6044
|
+
|
|
6045
|
+
declare enum ValidatorActivityEventType {
|
|
6046
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6047
|
+
}
|
|
6048
|
+
|
|
6049
|
+
/**
|
|
6050
|
+
* The type of key to monitor for the validator activity event type.
|
|
6051
|
+
*/
|
|
6052
|
+
declare enum ValidatorActivityKeyType {
|
|
6053
|
+
NODE_ID = "nodeId",
|
|
6054
|
+
SUBNET_ID = "subnetId"
|
|
6055
|
+
}
|
|
6056
|
+
|
|
6057
|
+
type ValidatorActivitySubEvents = {
|
|
6058
|
+
/**
|
|
6059
|
+
* Array of validator activity sub-event types
|
|
6060
|
+
*/
|
|
6061
|
+
validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
|
|
6062
|
+
};
|
|
6063
|
+
|
|
6064
|
+
type ValidatorActivityMetadata = {
|
|
5999
6065
|
/**
|
|
6000
6066
|
* Array of hexadecimal strings of the event signatures.
|
|
6001
6067
|
*/
|
|
6002
6068
|
eventSignatures?: Array<string>;
|
|
6069
|
+
keyType: ValidatorActivityKeyType;
|
|
6070
|
+
/**
|
|
6071
|
+
* Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
|
|
6072
|
+
*/
|
|
6073
|
+
keys: Array<string>;
|
|
6074
|
+
/**
|
|
6075
|
+
* Sub-events to monitor
|
|
6076
|
+
*/
|
|
6077
|
+
subEvents: ValidatorActivitySubEvents;
|
|
6003
6078
|
/**
|
|
6004
6079
|
* Array of node IDs to filter the events
|
|
6005
6080
|
*/
|
|
@@ -6008,26 +6083,22 @@ type PlatformActivityMetadata = {
|
|
|
6008
6083
|
* Array of subnet IDs to filter the events
|
|
6009
6084
|
*/
|
|
6010
6085
|
subnetIds?: Array<string>;
|
|
6011
|
-
/**
|
|
6012
|
-
* Balance threshold filter
|
|
6013
|
-
*/
|
|
6014
|
-
balanceThresholdFilter?: PlatformBalanceThresholdFilter;
|
|
6015
6086
|
/**
|
|
6016
6087
|
* L1 validator fee balance threshold in nAVAX
|
|
6017
6088
|
*/
|
|
6018
6089
|
l1ValidatorFeeBalanceThreshold?: string;
|
|
6019
6090
|
};
|
|
6020
6091
|
|
|
6021
|
-
type
|
|
6092
|
+
type ValidatorActivityResponse = {
|
|
6022
6093
|
id: string;
|
|
6023
|
-
eventType: EventType;
|
|
6024
6094
|
url: string;
|
|
6025
6095
|
chainId: string;
|
|
6026
6096
|
status: WebhookStatusType;
|
|
6027
6097
|
createdAt: number;
|
|
6028
6098
|
name: string;
|
|
6029
6099
|
description: string;
|
|
6030
|
-
|
|
6100
|
+
eventType: ValidatorActivityEventType;
|
|
6101
|
+
metadata: ValidatorActivityMetadata;
|
|
6031
6102
|
};
|
|
6032
6103
|
|
|
6033
6104
|
type ListWebhooksResponse = {
|
|
@@ -6035,33 +6106,29 @@ type ListWebhooksResponse = {
|
|
|
6035
6106
|
* 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.
|
|
6036
6107
|
*/
|
|
6037
6108
|
nextPageToken?: string;
|
|
6038
|
-
webhooks: Array<(EVMAddressActivityResponse |
|
|
6109
|
+
webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6039
6110
|
};
|
|
6040
6111
|
|
|
6041
|
-
|
|
6042
|
-
|
|
6112
|
+
declare enum PrimaryNetworkType {
|
|
6113
|
+
MAINNET = "mainnet",
|
|
6114
|
+
FUJI = "fuji"
|
|
6115
|
+
}
|
|
6116
|
+
|
|
6117
|
+
type PrimaryNetworkAddressActivityRequest = {
|
|
6118
|
+
eventType: PrimaryNetworkAddressActivityRequest.eventType;
|
|
6043
6119
|
url: string;
|
|
6044
|
-
chainId: string;
|
|
6045
|
-
network?: PrimaryNetworkType;
|
|
6046
6120
|
name?: string;
|
|
6047
6121
|
description?: string;
|
|
6122
|
+
network: PrimaryNetworkType;
|
|
6123
|
+
chainId: string;
|
|
6048
6124
|
/**
|
|
6049
|
-
*
|
|
6050
|
-
*/
|
|
6051
|
-
includeInternalTxs?: boolean;
|
|
6052
|
-
/**
|
|
6053
|
-
* Whether to include logs in the webhook payload.
|
|
6054
|
-
*/
|
|
6055
|
-
includeLogs?: boolean;
|
|
6056
|
-
/**
|
|
6057
|
-
* Metadata for platform activity
|
|
6125
|
+
* Metadata for platform address activity event
|
|
6058
6126
|
*/
|
|
6059
|
-
metadata:
|
|
6127
|
+
metadata: PrimaryNetworkAddressActivityMetadata;
|
|
6060
6128
|
};
|
|
6061
|
-
declare namespace
|
|
6129
|
+
declare namespace PrimaryNetworkAddressActivityRequest {
|
|
6062
6130
|
enum eventType {
|
|
6063
|
-
|
|
6064
|
-
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6131
|
+
PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
|
|
6065
6132
|
}
|
|
6066
6133
|
}
|
|
6067
6134
|
|
|
@@ -6081,6 +6148,23 @@ type UpdateWebhookRequest = {
|
|
|
6081
6148
|
includeLogs?: boolean;
|
|
6082
6149
|
};
|
|
6083
6150
|
|
|
6151
|
+
type ValidatorActivityRequest = {
|
|
6152
|
+
eventType: ValidatorActivityRequest.eventType;
|
|
6153
|
+
url: string;
|
|
6154
|
+
name?: string;
|
|
6155
|
+
description?: string;
|
|
6156
|
+
network: PrimaryNetworkType;
|
|
6157
|
+
/**
|
|
6158
|
+
* Metadata for platform validator activity event
|
|
6159
|
+
*/
|
|
6160
|
+
metadata: ValidatorActivityMetadata;
|
|
6161
|
+
};
|
|
6162
|
+
declare namespace ValidatorActivityRequest {
|
|
6163
|
+
enum eventType {
|
|
6164
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6165
|
+
}
|
|
6166
|
+
}
|
|
6167
|
+
|
|
6084
6168
|
declare enum WebhookStatus {
|
|
6085
6169
|
ACTIVE = "active",
|
|
6086
6170
|
INACTIVE = "inactive"
|
|
@@ -6096,8 +6180,8 @@ declare class WebhooksService {
|
|
|
6096
6180
|
* @throws ApiError
|
|
6097
6181
|
*/
|
|
6098
6182
|
createWebhook({ requestBody, }: {
|
|
6099
|
-
requestBody: (EVMAddressActivityRequest |
|
|
6100
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6183
|
+
requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
|
|
6184
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6101
6185
|
/**
|
|
6102
6186
|
* List webhooks
|
|
6103
6187
|
* Lists webhooks for the user.
|
|
@@ -6129,7 +6213,7 @@ declare class WebhooksService {
|
|
|
6129
6213
|
* The webhook identifier.
|
|
6130
6214
|
*/
|
|
6131
6215
|
id: string;
|
|
6132
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6216
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6133
6217
|
/**
|
|
6134
6218
|
* Deactivate a webhook
|
|
6135
6219
|
* Deactivates a webhook by ID.
|
|
@@ -6141,7 +6225,7 @@ declare class WebhooksService {
|
|
|
6141
6225
|
* The webhook identifier.
|
|
6142
6226
|
*/
|
|
6143
6227
|
id: string;
|
|
6144
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6228
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6145
6229
|
/**
|
|
6146
6230
|
* Update a webhook
|
|
6147
6231
|
* Updates an existing webhook.
|
|
@@ -6154,7 +6238,7 @@ declare class WebhooksService {
|
|
|
6154
6238
|
*/
|
|
6155
6239
|
id: string;
|
|
6156
6240
|
requestBody: UpdateWebhookRequest;
|
|
6157
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6241
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6158
6242
|
/**
|
|
6159
6243
|
* Generate or rotate a shared secret
|
|
6160
6244
|
* Generates a new shared secret or rotate an existing one.
|
|
@@ -6219,6 +6303,7 @@ declare class WebhooksService {
|
|
|
6219
6303
|
|
|
6220
6304
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
6221
6305
|
declare class Glacier {
|
|
6306
|
+
readonly avaxSupply: AvaxSupplyService;
|
|
6222
6307
|
readonly dataApiUsageMetrics: DataApiUsageMetricsService;
|
|
6223
6308
|
readonly default: DefaultService;
|
|
6224
6309
|
readonly evmBalances: EvmBalancesService;
|
|
@@ -6517,6 +6602,37 @@ type TooManyRequests = {
|
|
|
6517
6602
|
error: string;
|
|
6518
6603
|
};
|
|
6519
6604
|
|
|
6605
|
+
type WebhookInternalTransaction = {
|
|
6606
|
+
/**
|
|
6607
|
+
* Sender address
|
|
6608
|
+
*/
|
|
6609
|
+
from: string;
|
|
6610
|
+
/**
|
|
6611
|
+
* Recipient address
|
|
6612
|
+
*/
|
|
6613
|
+
to: string;
|
|
6614
|
+
/**
|
|
6615
|
+
* Internal transaction type
|
|
6616
|
+
*/
|
|
6617
|
+
internalTxType: string;
|
|
6618
|
+
/**
|
|
6619
|
+
* Value transferred
|
|
6620
|
+
*/
|
|
6621
|
+
value: string;
|
|
6622
|
+
/**
|
|
6623
|
+
* Gas used
|
|
6624
|
+
*/
|
|
6625
|
+
gasUsed: string;
|
|
6626
|
+
/**
|
|
6627
|
+
* Gas limit
|
|
6628
|
+
*/
|
|
6629
|
+
gasLimit: string;
|
|
6630
|
+
/**
|
|
6631
|
+
* Transaction hash
|
|
6632
|
+
*/
|
|
6633
|
+
transactionHash: string;
|
|
6634
|
+
};
|
|
6635
|
+
|
|
6520
6636
|
type Transaction = {
|
|
6521
6637
|
/**
|
|
6522
6638
|
* Block hash of the transaction
|
|
@@ -6621,7 +6737,7 @@ type Transaction = {
|
|
|
6621
6737
|
/**
|
|
6622
6738
|
* Internal transactions (optional)
|
|
6623
6739
|
*/
|
|
6624
|
-
internalTransactions?: Array<
|
|
6740
|
+
internalTransactions?: Array<WebhookInternalTransaction>;
|
|
6625
6741
|
/**
|
|
6626
6742
|
* Access list (optional)
|
|
6627
6743
|
*/
|
|
@@ -6685,5 +6801,16 @@ declare namespace WebhookAddressActivityResponse {
|
|
|
6685
6801
|
}
|
|
6686
6802
|
}
|
|
6687
6803
|
|
|
6688
|
-
|
|
6689
|
-
|
|
6804
|
+
declare class FetchHttpRequest extends BaseHttpRequest {
|
|
6805
|
+
constructor(config: OpenAPIConfig);
|
|
6806
|
+
/**
|
|
6807
|
+
* Request method
|
|
6808
|
+
* @param options The request options from the service
|
|
6809
|
+
* @returns CancelablePromise<T>
|
|
6810
|
+
* @throws ApiError
|
|
6811
|
+
*/
|
|
6812
|
+
request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
6813
|
+
}
|
|
6814
|
+
|
|
6815
|
+
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityEventType, ApiError, ApiFeature, AvaxSupplyService, BaseHttpRequest, BlockchainId, BlockchainIds, CChainExportTransaction, CChainImportTransaction, CancelError, CancelablePromise, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CurrencyCode, DataApiUsageMetricsService, DefaultService, DelegationStatusType, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMAddressActivityRequest, EVMOperationType, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc721Contract, Erc721Token, Erc721TokenBalance, EvmBalancesService, EvmBlocksService, EvmChainsService, EvmContractsService, EvmTransactionsService, FetchHttpRequest, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, IcmRewardDetails, InterchainMessagingService, InternalTransactionOpCall, Network, NfTsService, NftTokenMetadataStatus, NotificationsService, OpenAPI, OperationStatus, OperationStatusCode, OperationType, OperationsService, PChainId, PChainTransactionType, PendingDelegatorDetails, PendingIcmMessage, PendingTeleporterMessage, PendingValidatorDetails, PlatformAddressActivityKeyType, PrimaryNetworkAddressActivityEventType, PrimaryNetworkAddressActivityRequest, PrimaryNetworkAddressActivitySubEventType, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlocksService, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, RemovedValidatorDetails, RequestType, ResourceLinkType, RewardType, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, SignatureAggregatorService, SortByOption, SortOrder, SubnetRpcTimeIntervalGranularity, TeleporterRewardDetails, TeleporterService, TimeIntervalGranularityExtended, TransactionDirectionType, TransactionMethodType, TransactionStatus, UnknownContract, UsageMetricsGroupByEnum, UsageMetricsValueDTO, UtxoType, ValidationStatusType, ValidatorActivityEventType, ValidatorActivityKeyType, ValidatorActivityRequest, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainTransactionType };
|
|
6816
|
+
export type { AccessListData, AccessRequest, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiRequestOptions, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, Blockchain, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainSharedAssetBalance, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ContractDeploymentDetails, ContractSubmissionBody, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, DataListChainsResponse, DelegatorsDetails, ERCToken, ERCTransfer, EVMAddressActivityResponse, EVMInput, EVMOutput, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Transfer, Erc20TransferDetails, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EvmBlock, EvmNetworkOptions, Forbidden, FullNativeTransactionDetails, Geolocation, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmSourceTransaction, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListIcmMessagesResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Log, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NotFound, NotificationsResponse, OpenAPIConfig, OperationStatusResponse, PChainBalance, PChainSharedAsset, PChainTransaction, PChainUtxo, PendingReward, PricingProviders, PrimaryNetworkAddressActivityMetadata, PrimaryNetworkAddressActivityResponse, PrimaryNetworkAddressActivitySubEvents, PrimaryNetworkBalanceThresholdFilter, PrimaryNetworkBlock, PrimaryNetworkChainInfo, PrimaryNetworkOptions, ProposerDetails, ResourceLink, Rewards, RichAddress, RpcMetrics, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterSourceTransaction, TooManyRequests, Transaction, TransactionDetails, TransactionEvent, TransactionExportMetadata, TransactionVertexDetail, Unauthorized, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsResponseDTO, UtilityAddresses, Utxo, UtxoCredential, ValidatorActivityMetadata, ValidatorActivityResponse, ValidatorActivitySubEvents, ValidatorHealthDetails, ValidatorsDetails, WebhookInternalTransaction, XChainAssetDetails, XChainBalances, XChainSharedAssetBalance, XChainVertex };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseHttpRequest } from './core/BaseHttpRequest.js';
|
|
2
2
|
import { OpenAPIConfig } from './core/OpenAPI.js';
|
|
3
|
+
import { AvaxSupplyService } from './services/AvaxSupplyService.js';
|
|
3
4
|
import { DataApiUsageMetricsService } from './services/DataApiUsageMetricsService.js';
|
|
4
5
|
import { DefaultService } from './services/DefaultService.js';
|
|
5
6
|
import { EvmBalancesService } from './services/EvmBalancesService.js';
|
|
@@ -25,6 +26,7 @@ import { WebhooksService } from './services/WebhooksService.js';
|
|
|
25
26
|
|
|
26
27
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
27
28
|
declare class Glacier {
|
|
29
|
+
readonly avaxSupply: AvaxSupplyService;
|
|
28
30
|
readonly dataApiUsageMetrics: DataApiUsageMetricsService;
|
|
29
31
|
readonly default: DefaultService;
|
|
30
32
|
readonly evmBalances: EvmBalancesService;
|