@avalabs/glacier-sdk 3.1.0-canary.8185ffa.0 → 3.1.0-canary.8540495.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 +288 -100
- 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 +8 -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/PrimaryNetworkAddressesBodyDto.d.ts +8 -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/UtxosSortByOption.d.ts +6 -0
- package/esm/generated/models/UtxosSortByOption.js +1 -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 +4 -4
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +48 -1
- package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
- package/esm/generated/services/WebhooksService.d.ts +9 -7
- package/esm/index.d.ts +22 -8
- package/esm/index.js +1 -1
- package/package.json +5 -5
- 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 = {
|
|
@@ -3235,16 +3245,22 @@ type Blockchain = {
|
|
|
3235
3245
|
vmId: string;
|
|
3236
3246
|
subnetId: string;
|
|
3237
3247
|
blockchainName: string;
|
|
3248
|
+
/**
|
|
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.
|
|
3250
|
+
*/
|
|
3251
|
+
evmChainId: number;
|
|
3252
|
+
/**
|
|
3253
|
+
* The genesis data of the blockchain.
|
|
3254
|
+
*/
|
|
3255
|
+
genesisData?: Record<string, any>;
|
|
3238
3256
|
};
|
|
3239
3257
|
|
|
3240
3258
|
declare enum BlockchainIds {
|
|
3241
3259
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
3242
3260
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
3243
3261
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
3244
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
3245
3262
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
3246
|
-
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
|
|
3247
|
-
V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
|
|
3263
|
+
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
|
|
3248
3264
|
}
|
|
3249
3265
|
|
|
3250
3266
|
type ChainAddressChainIdMap = {
|
|
@@ -3434,6 +3450,10 @@ type ListL1ValidatorsResponse = {
|
|
|
3434
3450
|
* The list of L1 validations for the given Subnet ID, NodeId or validationId
|
|
3435
3451
|
*/
|
|
3436
3452
|
validators: Array<L1ValidatorDetailsFull>;
|
|
3453
|
+
/**
|
|
3454
|
+
* Block height at which the L1 validator's remaining balance is calculated
|
|
3455
|
+
*/
|
|
3456
|
+
blockHeight: string;
|
|
3437
3457
|
};
|
|
3438
3458
|
|
|
3439
3459
|
type L1ValidatorManagerDetails = {
|
|
@@ -3759,7 +3779,6 @@ type XChainAssetDetails = {
|
|
|
3759
3779
|
declare enum XChainId {
|
|
3760
3780
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
3761
3781
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
3762
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
3763
3782
|
X_CHAIN = "x-chain"
|
|
3764
3783
|
}
|
|
3765
3784
|
|
|
@@ -3830,7 +3849,7 @@ declare class PrimaryNetworkService {
|
|
|
3830
3849
|
*/
|
|
3831
3850
|
pageToken?: string;
|
|
3832
3851
|
/**
|
|
3833
|
-
* 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.
|
|
3834
3853
|
*/
|
|
3835
3854
|
pageSize?: number;
|
|
3836
3855
|
/**
|
|
@@ -3870,7 +3889,7 @@ declare class PrimaryNetworkService {
|
|
|
3870
3889
|
*/
|
|
3871
3890
|
pageToken?: string;
|
|
3872
3891
|
/**
|
|
3873
|
-
* 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.
|
|
3874
3893
|
*/
|
|
3875
3894
|
pageSize?: number;
|
|
3876
3895
|
/**
|
|
@@ -3896,7 +3915,7 @@ declare class PrimaryNetworkService {
|
|
|
3896
3915
|
}): CancelablePromise<Subnet>;
|
|
3897
3916
|
/**
|
|
3898
3917
|
* List validators
|
|
3899
|
-
* Lists details for validators. By default, returns details for all validators. Filterable by
|
|
3918
|
+
* Lists details for validators. By default, returns details for all validators. The nodeIds parameter supports substring matching. Filterable by validation status, delegation capacity, time remaining, fee percentage, uptime performance, and subnet id.
|
|
3900
3919
|
* @returns ListValidatorDetailsResponse Successful response
|
|
3901
3920
|
* @throws ApiError
|
|
3902
3921
|
*/
|
|
@@ -3914,7 +3933,7 @@ declare class PrimaryNetworkService {
|
|
|
3914
3933
|
*/
|
|
3915
3934
|
pageSize?: number;
|
|
3916
3935
|
/**
|
|
3917
|
-
* A comma separated list of node ids to filter by.
|
|
3936
|
+
* A comma separated list of node ids to filter by. Supports substring matching.
|
|
3918
3937
|
*/
|
|
3919
3938
|
nodeIds?: string;
|
|
3920
3939
|
/**
|
|
@@ -4075,10 +4094,8 @@ declare enum BlockchainId {
|
|
|
4075
4094
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
4076
4095
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
4077
4096
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
4078
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
4079
4097
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
4080
4098
|
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
|
|
4081
|
-
V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
|
|
4082
4099
|
P_CHAIN = "p-chain",
|
|
4083
4100
|
X_CHAIN = "x-chain",
|
|
4084
4101
|
C_CHAIN = "c-chain"
|
|
@@ -4668,6 +4685,10 @@ type Utxo = {
|
|
|
4668
4685
|
* UTXO ID for this output.
|
|
4669
4686
|
*/
|
|
4670
4687
|
utxoId: string;
|
|
4688
|
+
/**
|
|
4689
|
+
* The bytes of the UTXO
|
|
4690
|
+
*/
|
|
4691
|
+
utxoBytes?: string;
|
|
4671
4692
|
/**
|
|
4672
4693
|
* Unix timestamp in seconds at which this output was consumed.
|
|
4673
4694
|
*/
|
|
@@ -4836,6 +4857,15 @@ type ListCChainAtomicTransactionsResponse = {
|
|
|
4836
4857
|
chainInfo: PrimaryNetworkChainInfo;
|
|
4837
4858
|
};
|
|
4838
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
|
+
|
|
4839
4869
|
type L1ValidatorDetailsTransaction = {
|
|
4840
4870
|
/**
|
|
4841
4871
|
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
@@ -4916,6 +4946,10 @@ type PChainUtxo = {
|
|
|
4916
4946
|
* UTXO ID for this output.
|
|
4917
4947
|
*/
|
|
4918
4948
|
utxoId: string;
|
|
4949
|
+
/**
|
|
4950
|
+
* The bytes of the UTXO
|
|
4951
|
+
*/
|
|
4952
|
+
utxoBytes?: string;
|
|
4919
4953
|
/**
|
|
4920
4954
|
* @deprecated
|
|
4921
4955
|
*/
|
|
@@ -5064,6 +5098,10 @@ type PChainTransaction = {
|
|
|
5064
5098
|
* Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
|
|
5065
5099
|
*/
|
|
5066
5100
|
blsCredentials?: BlsCredentials;
|
|
5101
|
+
/**
|
|
5102
|
+
* Details of the blockchain that was created in the CreateChainTx
|
|
5103
|
+
*/
|
|
5104
|
+
blockchainInfo?: BlockchainInfo;
|
|
5067
5105
|
};
|
|
5068
5106
|
|
|
5069
5107
|
type ListPChainTransactionsResponse = {
|
|
@@ -5434,6 +5472,18 @@ type ListUtxosResponse = {
|
|
|
5434
5472
|
chainInfo: PrimaryNetworkChainInfo;
|
|
5435
5473
|
};
|
|
5436
5474
|
|
|
5475
|
+
type PrimaryNetworkAddressesBodyDto = {
|
|
5476
|
+
/**
|
|
5477
|
+
* Comma-separated list of primary network addresses
|
|
5478
|
+
*/
|
|
5479
|
+
addresses: string;
|
|
5480
|
+
};
|
|
5481
|
+
|
|
5482
|
+
declare enum UtxosSortByOption {
|
|
5483
|
+
TIMESTAMP = "timestamp",
|
|
5484
|
+
AMOUNT = "amount"
|
|
5485
|
+
}
|
|
5486
|
+
|
|
5437
5487
|
declare class PrimaryNetworkUtxOsService {
|
|
5438
5488
|
readonly httpRequest: BaseHttpRequest;
|
|
5439
5489
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -5443,7 +5493,7 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
5443
5493
|
* @returns any Successful response
|
|
5444
5494
|
* @throws ApiError
|
|
5445
5495
|
*/
|
|
5446
|
-
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
|
|
5496
|
+
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortBy, sortOrder, }: {
|
|
5447
5497
|
/**
|
|
5448
5498
|
* A primary network blockchain id or alias.
|
|
5449
5499
|
*/
|
|
@@ -5472,6 +5522,51 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
5472
5522
|
* Boolean filter to include spent UTXOs.
|
|
5473
5523
|
*/
|
|
5474
5524
|
includeSpent?: boolean;
|
|
5525
|
+
/**
|
|
5526
|
+
* Which property to sort by, in conjunction with sortOrder.
|
|
5527
|
+
*/
|
|
5528
|
+
sortBy?: UtxosSortByOption;
|
|
5529
|
+
/**
|
|
5530
|
+
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
5531
|
+
*/
|
|
5532
|
+
sortOrder?: SortOrder;
|
|
5533
|
+
}): CancelablePromise<(ListPChainUtxosResponse | ListUtxosResponse)>;
|
|
5534
|
+
/**
|
|
5535
|
+
* List UTXOs v2 - Supports querying for more addresses
|
|
5536
|
+
* Lists UTXOs on one of the Primary Network chains for the supplied addresses. This v2 route supports increased page size and address limit.
|
|
5537
|
+
* @returns any Successful response
|
|
5538
|
+
* @throws ApiError
|
|
5539
|
+
*/
|
|
5540
|
+
getUtxosByAddressesV2({ blockchainId, network, requestBody, pageToken, pageSize, assetId, includeSpent, sortBy, sortOrder, }: {
|
|
5541
|
+
/**
|
|
5542
|
+
* A primary network blockchain id or alias.
|
|
5543
|
+
*/
|
|
5544
|
+
blockchainId: BlockchainId;
|
|
5545
|
+
/**
|
|
5546
|
+
* Either mainnet or testnet/fuji.
|
|
5547
|
+
*/
|
|
5548
|
+
network: Network;
|
|
5549
|
+
requestBody: PrimaryNetworkAddressesBodyDto;
|
|
5550
|
+
/**
|
|
5551
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
5552
|
+
*/
|
|
5553
|
+
pageToken?: string;
|
|
5554
|
+
/**
|
|
5555
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
5556
|
+
*/
|
|
5557
|
+
pageSize?: number;
|
|
5558
|
+
/**
|
|
5559
|
+
* Asset ID for any asset (only applicable X-Chain)
|
|
5560
|
+
*/
|
|
5561
|
+
assetId?: string;
|
|
5562
|
+
/**
|
|
5563
|
+
* Boolean filter to include spent UTXOs.
|
|
5564
|
+
*/
|
|
5565
|
+
includeSpent?: boolean;
|
|
5566
|
+
/**
|
|
5567
|
+
* Which property to sort by, in conjunction with sortOrder.
|
|
5568
|
+
*/
|
|
5569
|
+
sortBy?: UtxosSortByOption;
|
|
5475
5570
|
/**
|
|
5476
5571
|
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
5477
5572
|
*/
|
|
@@ -5756,7 +5851,7 @@ type ListTeleporterMessagesResponse = {
|
|
|
5756
5851
|
* 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.
|
|
5757
5852
|
*/
|
|
5758
5853
|
nextPageToken?: string;
|
|
5759
|
-
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
|
|
5854
|
+
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
5760
5855
|
};
|
|
5761
5856
|
|
|
5762
5857
|
declare class TeleporterService {
|
|
@@ -5854,28 +5949,23 @@ type AddressesChangeRequest = {
|
|
|
5854
5949
|
};
|
|
5855
5950
|
|
|
5856
5951
|
type AddressActivityMetadata = {
|
|
5857
|
-
/**
|
|
5858
|
-
* Ethereum address(es) for the address_activity event type
|
|
5859
|
-
*/
|
|
5860
|
-
addresses: Array<string>;
|
|
5861
5952
|
/**
|
|
5862
5953
|
* Array of hexadecimal strings of the event signatures.
|
|
5863
5954
|
*/
|
|
5864
5955
|
eventSignatures?: Array<string>;
|
|
5956
|
+
/**
|
|
5957
|
+
* 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.
|
|
5958
|
+
*/
|
|
5959
|
+
addresses: Array<string>;
|
|
5865
5960
|
};
|
|
5866
5961
|
|
|
5867
|
-
declare enum PrimaryNetworkType {
|
|
5868
|
-
MAINNET = "mainnet",
|
|
5869
|
-
FUJI = "fuji"
|
|
5870
|
-
}
|
|
5871
|
-
|
|
5872
5962
|
type EVMAddressActivityRequest = {
|
|
5873
5963
|
eventType: EVMAddressActivityRequest.eventType;
|
|
5874
5964
|
url: string;
|
|
5875
|
-
chainId: string;
|
|
5876
|
-
network?: PrimaryNetworkType;
|
|
5877
5965
|
name?: string;
|
|
5878
5966
|
description?: string;
|
|
5967
|
+
chainId: string;
|
|
5968
|
+
metadata: AddressActivityMetadata;
|
|
5879
5969
|
/**
|
|
5880
5970
|
* Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
|
|
5881
5971
|
*/
|
|
@@ -5884,7 +5974,6 @@ type EVMAddressActivityRequest = {
|
|
|
5884
5974
|
* Whether to include logs in the webhook payload.
|
|
5885
5975
|
*/
|
|
5886
5976
|
includeLogs?: boolean;
|
|
5887
|
-
metadata: AddressActivityMetadata;
|
|
5888
5977
|
};
|
|
5889
5978
|
declare namespace EVMAddressActivityRequest {
|
|
5890
5979
|
enum eventType {
|
|
@@ -5892,10 +5981,8 @@ declare namespace EVMAddressActivityRequest {
|
|
|
5892
5981
|
}
|
|
5893
5982
|
}
|
|
5894
5983
|
|
|
5895
|
-
declare enum
|
|
5896
|
-
ADDRESS_ACTIVITY = "address_activity"
|
|
5897
|
-
PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
|
|
5898
|
-
VALIDATOR_ACTIVITY = "validator_activity"
|
|
5984
|
+
declare enum AddressActivityEventType {
|
|
5985
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
5899
5986
|
}
|
|
5900
5987
|
|
|
5901
5988
|
declare enum WebhookStatusType {
|
|
@@ -5905,13 +5992,13 @@ declare enum WebhookStatusType {
|
|
|
5905
5992
|
|
|
5906
5993
|
type EVMAddressActivityResponse = {
|
|
5907
5994
|
id: string;
|
|
5908
|
-
eventType: EventType;
|
|
5909
5995
|
url: string;
|
|
5910
5996
|
chainId: string;
|
|
5911
5997
|
status: WebhookStatusType;
|
|
5912
5998
|
createdAt: number;
|
|
5913
5999
|
name: string;
|
|
5914
6000
|
description: string;
|
|
6001
|
+
eventType: AddressActivityEventType;
|
|
5915
6002
|
metadata: AddressActivityMetadata;
|
|
5916
6003
|
/**
|
|
5917
6004
|
* Whether to include traces in the webhook payload.
|
|
@@ -5932,30 +6019,28 @@ type ListWebhookAddressesResponse = {
|
|
|
5932
6019
|
totalAddresses: number;
|
|
5933
6020
|
};
|
|
5934
6021
|
|
|
6022
|
+
declare enum PrimaryNetworkAddressActivityEventType {
|
|
6023
|
+
PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
|
|
6024
|
+
}
|
|
6025
|
+
|
|
5935
6026
|
/**
|
|
5936
|
-
* The type of key
|
|
6027
|
+
* The type of key to monitor for the address activity event type.
|
|
5937
6028
|
*/
|
|
5938
|
-
declare enum
|
|
5939
|
-
ADDRESSES = "addresses"
|
|
5940
|
-
NODE_ID = "nodeId",
|
|
5941
|
-
SUBNET_ID = "subnetId"
|
|
6029
|
+
declare enum PlatformAddressActivityKeyType {
|
|
6030
|
+
ADDRESSES = "addresses"
|
|
5942
6031
|
}
|
|
5943
6032
|
|
|
5944
6033
|
/**
|
|
5945
6034
|
* Array of address activity sub-event types
|
|
5946
6035
|
*/
|
|
5947
|
-
declare enum
|
|
5948
|
-
|
|
5949
|
-
|
|
6036
|
+
declare enum PrimaryNetworkAddressActivitySubEventType {
|
|
6037
|
+
BALANCE_CHANGE = "balance_change",
|
|
6038
|
+
BALANCE_THRESHOLD = "balance_threshold",
|
|
5950
6039
|
REWARD_DISTRIBUTION = "reward_distribution"
|
|
5951
6040
|
}
|
|
5952
6041
|
|
|
5953
|
-
type
|
|
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>;
|
|
6042
|
+
type PrimaryNetworkAddressActivitySubEvents = {
|
|
6043
|
+
addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
|
|
5959
6044
|
};
|
|
5960
6045
|
|
|
5961
6046
|
/**
|
|
@@ -5974,7 +6059,7 @@ declare enum CommonBalanceType {
|
|
|
5974
6059
|
ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
|
|
5975
6060
|
}
|
|
5976
6061
|
|
|
5977
|
-
type
|
|
6062
|
+
type PrimaryNetworkBalanceThresholdFilter = {
|
|
5978
6063
|
balanceType: CommonBalanceType;
|
|
5979
6064
|
/**
|
|
5980
6065
|
* Threshold for balance corresponding to balanceType in nAVAX
|
|
@@ -5982,20 +6067,71 @@ type PlatformBalanceThresholdFilter = {
|
|
|
5982
6067
|
balanceThreshold: string;
|
|
5983
6068
|
};
|
|
5984
6069
|
|
|
5985
|
-
type
|
|
5986
|
-
|
|
6070
|
+
type PrimaryNetworkAddressActivityMetadata = {
|
|
6071
|
+
/**
|
|
6072
|
+
* Array of hexadecimal strings of the event signatures.
|
|
6073
|
+
*/
|
|
6074
|
+
eventSignatures?: Array<string>;
|
|
6075
|
+
keyType: PlatformAddressActivityKeyType;
|
|
5987
6076
|
/**
|
|
5988
|
-
* Array of keys like addresses
|
|
6077
|
+
* 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.
|
|
5989
6078
|
*/
|
|
5990
6079
|
keys: Array<string>;
|
|
5991
6080
|
/**
|
|
5992
6081
|
* Sub-events to monitor
|
|
5993
6082
|
*/
|
|
5994
|
-
subEvents
|
|
6083
|
+
subEvents: PrimaryNetworkAddressActivitySubEvents;
|
|
6084
|
+
/**
|
|
6085
|
+
* Balance threshold filter
|
|
6086
|
+
*/
|
|
6087
|
+
balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
|
|
6088
|
+
};
|
|
6089
|
+
|
|
6090
|
+
type PrimaryNetworkAddressActivityResponse = {
|
|
6091
|
+
id: string;
|
|
6092
|
+
url: string;
|
|
6093
|
+
chainId: string;
|
|
6094
|
+
status: WebhookStatusType;
|
|
6095
|
+
createdAt: number;
|
|
6096
|
+
name: string;
|
|
6097
|
+
description: string;
|
|
6098
|
+
eventType: PrimaryNetworkAddressActivityEventType;
|
|
6099
|
+
metadata: PrimaryNetworkAddressActivityMetadata;
|
|
6100
|
+
};
|
|
6101
|
+
|
|
6102
|
+
declare enum ValidatorActivityEventType {
|
|
6103
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6104
|
+
}
|
|
6105
|
+
|
|
6106
|
+
/**
|
|
6107
|
+
* The type of key to monitor for the validator activity event type.
|
|
6108
|
+
*/
|
|
6109
|
+
declare enum ValidatorActivityKeyType {
|
|
6110
|
+
NODE_ID = "nodeId",
|
|
6111
|
+
SUBNET_ID = "subnetId"
|
|
6112
|
+
}
|
|
6113
|
+
|
|
6114
|
+
type ValidatorActivitySubEvents = {
|
|
6115
|
+
/**
|
|
6116
|
+
* Array of validator activity sub-event types
|
|
6117
|
+
*/
|
|
6118
|
+
validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
|
|
6119
|
+
};
|
|
6120
|
+
|
|
6121
|
+
type ValidatorActivityMetadata = {
|
|
5995
6122
|
/**
|
|
5996
6123
|
* Array of hexadecimal strings of the event signatures.
|
|
5997
6124
|
*/
|
|
5998
6125
|
eventSignatures?: Array<string>;
|
|
6126
|
+
keyType: ValidatorActivityKeyType;
|
|
6127
|
+
/**
|
|
6128
|
+
* Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
|
|
6129
|
+
*/
|
|
6130
|
+
keys: Array<string>;
|
|
6131
|
+
/**
|
|
6132
|
+
* Sub-events to monitor
|
|
6133
|
+
*/
|
|
6134
|
+
subEvents: ValidatorActivitySubEvents;
|
|
5999
6135
|
/**
|
|
6000
6136
|
* Array of node IDs to filter the events
|
|
6001
6137
|
*/
|
|
@@ -6004,26 +6140,22 @@ type PlatformActivityMetadata = {
|
|
|
6004
6140
|
* Array of subnet IDs to filter the events
|
|
6005
6141
|
*/
|
|
6006
6142
|
subnetIds?: Array<string>;
|
|
6007
|
-
/**
|
|
6008
|
-
* Balance threshold filter
|
|
6009
|
-
*/
|
|
6010
|
-
balanceThresholdFilter?: PlatformBalanceThresholdFilter;
|
|
6011
6143
|
/**
|
|
6012
6144
|
* L1 validator fee balance threshold in nAVAX
|
|
6013
6145
|
*/
|
|
6014
6146
|
l1ValidatorFeeBalanceThreshold?: string;
|
|
6015
6147
|
};
|
|
6016
6148
|
|
|
6017
|
-
type
|
|
6149
|
+
type ValidatorActivityResponse = {
|
|
6018
6150
|
id: string;
|
|
6019
|
-
eventType: EventType;
|
|
6020
6151
|
url: string;
|
|
6021
6152
|
chainId: string;
|
|
6022
6153
|
status: WebhookStatusType;
|
|
6023
6154
|
createdAt: number;
|
|
6024
6155
|
name: string;
|
|
6025
6156
|
description: string;
|
|
6026
|
-
|
|
6157
|
+
eventType: ValidatorActivityEventType;
|
|
6158
|
+
metadata: ValidatorActivityMetadata;
|
|
6027
6159
|
};
|
|
6028
6160
|
|
|
6029
6161
|
type ListWebhooksResponse = {
|
|
@@ -6031,33 +6163,29 @@ type ListWebhooksResponse = {
|
|
|
6031
6163
|
* 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.
|
|
6032
6164
|
*/
|
|
6033
6165
|
nextPageToken?: string;
|
|
6034
|
-
webhooks: Array<(EVMAddressActivityResponse |
|
|
6166
|
+
webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6035
6167
|
};
|
|
6036
6168
|
|
|
6037
|
-
|
|
6038
|
-
|
|
6169
|
+
declare enum PrimaryNetworkType {
|
|
6170
|
+
MAINNET = "mainnet",
|
|
6171
|
+
FUJI = "fuji"
|
|
6172
|
+
}
|
|
6173
|
+
|
|
6174
|
+
type PrimaryNetworkAddressActivityRequest = {
|
|
6175
|
+
eventType: PrimaryNetworkAddressActivityRequest.eventType;
|
|
6039
6176
|
url: string;
|
|
6040
|
-
chainId: string;
|
|
6041
|
-
network?: PrimaryNetworkType;
|
|
6042
6177
|
name?: string;
|
|
6043
6178
|
description?: string;
|
|
6179
|
+
network: PrimaryNetworkType;
|
|
6180
|
+
chainId: string;
|
|
6044
6181
|
/**
|
|
6045
|
-
*
|
|
6046
|
-
*/
|
|
6047
|
-
includeInternalTxs?: boolean;
|
|
6048
|
-
/**
|
|
6049
|
-
* Whether to include logs in the webhook payload.
|
|
6050
|
-
*/
|
|
6051
|
-
includeLogs?: boolean;
|
|
6052
|
-
/**
|
|
6053
|
-
* Metadata for platform activity
|
|
6182
|
+
* Metadata for platform address activity event
|
|
6054
6183
|
*/
|
|
6055
|
-
metadata:
|
|
6184
|
+
metadata: PrimaryNetworkAddressActivityMetadata;
|
|
6056
6185
|
};
|
|
6057
|
-
declare namespace
|
|
6186
|
+
declare namespace PrimaryNetworkAddressActivityRequest {
|
|
6058
6187
|
enum eventType {
|
|
6059
|
-
|
|
6060
|
-
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6188
|
+
PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
|
|
6061
6189
|
}
|
|
6062
6190
|
}
|
|
6063
6191
|
|
|
@@ -6077,6 +6205,23 @@ type UpdateWebhookRequest = {
|
|
|
6077
6205
|
includeLogs?: boolean;
|
|
6078
6206
|
};
|
|
6079
6207
|
|
|
6208
|
+
type ValidatorActivityRequest = {
|
|
6209
|
+
eventType: ValidatorActivityRequest.eventType;
|
|
6210
|
+
url: string;
|
|
6211
|
+
name?: string;
|
|
6212
|
+
description?: string;
|
|
6213
|
+
network: PrimaryNetworkType;
|
|
6214
|
+
/**
|
|
6215
|
+
* Metadata for platform validator activity event
|
|
6216
|
+
*/
|
|
6217
|
+
metadata: ValidatorActivityMetadata;
|
|
6218
|
+
};
|
|
6219
|
+
declare namespace ValidatorActivityRequest {
|
|
6220
|
+
enum eventType {
|
|
6221
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6222
|
+
}
|
|
6223
|
+
}
|
|
6224
|
+
|
|
6080
6225
|
declare enum WebhookStatus {
|
|
6081
6226
|
ACTIVE = "active",
|
|
6082
6227
|
INACTIVE = "inactive"
|
|
@@ -6092,8 +6237,8 @@ declare class WebhooksService {
|
|
|
6092
6237
|
* @throws ApiError
|
|
6093
6238
|
*/
|
|
6094
6239
|
createWebhook({ requestBody, }: {
|
|
6095
|
-
requestBody: (EVMAddressActivityRequest |
|
|
6096
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6240
|
+
requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
|
|
6241
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6097
6242
|
/**
|
|
6098
6243
|
* List webhooks
|
|
6099
6244
|
* Lists webhooks for the user.
|
|
@@ -6125,7 +6270,7 @@ declare class WebhooksService {
|
|
|
6125
6270
|
* The webhook identifier.
|
|
6126
6271
|
*/
|
|
6127
6272
|
id: string;
|
|
6128
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6273
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6129
6274
|
/**
|
|
6130
6275
|
* Deactivate a webhook
|
|
6131
6276
|
* Deactivates a webhook by ID.
|
|
@@ -6137,7 +6282,7 @@ declare class WebhooksService {
|
|
|
6137
6282
|
* The webhook identifier.
|
|
6138
6283
|
*/
|
|
6139
6284
|
id: string;
|
|
6140
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6285
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6141
6286
|
/**
|
|
6142
6287
|
* Update a webhook
|
|
6143
6288
|
* Updates an existing webhook.
|
|
@@ -6150,7 +6295,7 @@ declare class WebhooksService {
|
|
|
6150
6295
|
*/
|
|
6151
6296
|
id: string;
|
|
6152
6297
|
requestBody: UpdateWebhookRequest;
|
|
6153
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6298
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6154
6299
|
/**
|
|
6155
6300
|
* Generate or rotate a shared secret
|
|
6156
6301
|
* Generates a new shared secret or rotate an existing one.
|
|
@@ -6215,6 +6360,7 @@ declare class WebhooksService {
|
|
|
6215
6360
|
|
|
6216
6361
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
6217
6362
|
declare class Glacier {
|
|
6363
|
+
readonly avaxSupply: AvaxSupplyService;
|
|
6218
6364
|
readonly dataApiUsageMetrics: DataApiUsageMetricsService;
|
|
6219
6365
|
readonly default: DefaultService;
|
|
6220
6366
|
readonly evmBalances: EvmBalancesService;
|
|
@@ -6513,6 +6659,37 @@ type TooManyRequests = {
|
|
|
6513
6659
|
error: string;
|
|
6514
6660
|
};
|
|
6515
6661
|
|
|
6662
|
+
type WebhookInternalTransaction = {
|
|
6663
|
+
/**
|
|
6664
|
+
* Sender address
|
|
6665
|
+
*/
|
|
6666
|
+
from: string;
|
|
6667
|
+
/**
|
|
6668
|
+
* Recipient address
|
|
6669
|
+
*/
|
|
6670
|
+
to: string;
|
|
6671
|
+
/**
|
|
6672
|
+
* Internal transaction type
|
|
6673
|
+
*/
|
|
6674
|
+
internalTxType: string;
|
|
6675
|
+
/**
|
|
6676
|
+
* Value transferred
|
|
6677
|
+
*/
|
|
6678
|
+
value: string;
|
|
6679
|
+
/**
|
|
6680
|
+
* Gas used
|
|
6681
|
+
*/
|
|
6682
|
+
gasUsed: string;
|
|
6683
|
+
/**
|
|
6684
|
+
* Gas limit
|
|
6685
|
+
*/
|
|
6686
|
+
gasLimit: string;
|
|
6687
|
+
/**
|
|
6688
|
+
* Transaction hash
|
|
6689
|
+
*/
|
|
6690
|
+
transactionHash: string;
|
|
6691
|
+
};
|
|
6692
|
+
|
|
6516
6693
|
type Transaction = {
|
|
6517
6694
|
/**
|
|
6518
6695
|
* Block hash of the transaction
|
|
@@ -6617,7 +6794,7 @@ type Transaction = {
|
|
|
6617
6794
|
/**
|
|
6618
6795
|
* Internal transactions (optional)
|
|
6619
6796
|
*/
|
|
6620
|
-
internalTransactions?: Array<
|
|
6797
|
+
internalTransactions?: Array<WebhookInternalTransaction>;
|
|
6621
6798
|
/**
|
|
6622
6799
|
* Access list (optional)
|
|
6623
6800
|
*/
|
|
@@ -6681,5 +6858,16 @@ declare namespace WebhookAddressActivityResponse {
|
|
|
6681
6858
|
}
|
|
6682
6859
|
}
|
|
6683
6860
|
|
|
6684
|
-
|
|
6685
|
-
|
|
6861
|
+
declare class FetchHttpRequest extends BaseHttpRequest {
|
|
6862
|
+
constructor(config: OpenAPIConfig);
|
|
6863
|
+
/**
|
|
6864
|
+
* Request method
|
|
6865
|
+
* @param options The request options from the service
|
|
6866
|
+
* @returns CancelablePromise<T>
|
|
6867
|
+
* @throws ApiError
|
|
6868
|
+
*/
|
|
6869
|
+
request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
6870
|
+
}
|
|
6871
|
+
|
|
6872
|
+
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, UtxosSortByOption, ValidationStatusType, ValidatorActivityEventType, ValidatorActivityKeyType, ValidatorActivityRequest, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainTransactionType };
|
|
6873
|
+
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, PrimaryNetworkAddressesBodyDto, 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 };
|