@avalabs/glacier-sdk 3.1.0-canary.8fe169c.0 → 3.1.0-canary.9180fa3.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 +222 -98
- package/esm/generated/Glacier.d.ts +2 -0
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/core/ApiRequestOptions.d.ts +1 -1
- package/esm/generated/core/ApiResult.d.ts +1 -1
- package/esm/generated/core/CancelablePromise.d.ts +2 -1
- package/esm/generated/core/FetchHttpRequest.d.ts +17 -0
- package/esm/generated/core/OpenAPI.d.ts +2 -1
- package/esm/generated/core/OpenAPI.js +1 -1
- package/esm/generated/models/AccessListData.d.ts +1 -1
- package/esm/generated/models/AccessRequest.d.ts +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 +5 -5
- package/esm/generated/models/AddressesChangeRequest.d.ts +1 -1
- package/esm/generated/models/AggregatedAssetAmount.d.ts +1 -1
- package/esm/generated/models/AssetAmount.d.ts +1 -1
- package/esm/generated/models/AssetWithPriceInfo.d.ts +1 -1
- package/esm/generated/models/BadGateway.d.ts +1 -1
- package/esm/generated/models/BadRequest.d.ts +1 -1
- package/esm/generated/models/BalanceOwner.d.ts +1 -1
- package/esm/generated/models/Blockchain.d.ts +9 -1
- 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/BlsCredentials.d.ts +1 -1
- package/esm/generated/models/CChainAtomicBalances.d.ts +1 -1
- package/esm/generated/models/CChainSharedAssetBalance.d.ts +1 -1
- package/esm/generated/models/ChainAddressChainIdMap.d.ts +1 -1
- package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +1 -1
- package/esm/generated/models/ChainInfo.d.ts +1 -1
- package/esm/generated/models/ContractDeploymentDetails.d.ts +1 -1
- package/esm/generated/models/ContractSubmissionBody.d.ts +1 -1
- package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +1 -1
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +1 -1
- package/esm/generated/models/DataListChainsResponse.d.ts +1 -1
- package/esm/generated/models/DelegatorsDetails.d.ts +1 -1
- package/esm/generated/models/ERCToken.d.ts +1 -1
- package/esm/generated/models/ERCTransfer.d.ts +1 -1
- package/esm/generated/models/EVMAddressActivityRequest.d.ts +2 -4
- package/esm/generated/models/EVMAddressActivityResponse.d.ts +3 -3
- package/esm/generated/models/EVMInput.d.ts +1 -1
- package/esm/generated/models/EVMOutput.d.ts +1 -1
- package/esm/generated/models/Erc1155TokenMetadata.d.ts +1 -1
- package/esm/generated/models/Erc1155Transfer.d.ts +1 -1
- package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
- package/esm/generated/models/Erc20Transfer.d.ts +1 -1
- package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
- package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
- package/esm/generated/models/Erc721Transfer.d.ts +1 -1
- package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
- package/esm/generated/models/EvmBlock.d.ts +1 -1
- package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
- package/esm/generated/models/Forbidden.d.ts +1 -1
- package/esm/generated/models/FullNativeTransactionDetails.d.ts +1 -1
- package/esm/generated/models/Geolocation.d.ts +1 -1
- package/esm/generated/models/GetChainResponse.d.ts +1 -1
- package/esm/generated/models/GetEvmBlockResponse.d.ts +1 -1
- package/esm/generated/models/GetNativeBalanceResponse.d.ts +1 -1
- package/esm/generated/models/GetNetworkDetailsResponse.d.ts +1 -1
- package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -1
- package/esm/generated/models/GetTransactionResponse.d.ts +1 -1
- package/esm/generated/models/HistoricalReward.d.ts +1 -1
- package/esm/generated/models/IcmDestinationTransaction.d.ts +1 -1
- package/esm/generated/models/IcmReceipt.d.ts +1 -1
- package/esm/generated/models/IcmSourceTransaction.d.ts +1 -1
- package/esm/generated/models/ImageAsset.d.ts +1 -1
- package/esm/generated/models/InternalServerError.d.ts +1 -1
- package/esm/generated/models/InternalTransaction.d.ts +17 -16
- package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
- package/esm/generated/models/L1ValidatorDetailsFull.d.ts +1 -1
- package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +1 -1
- package/esm/generated/models/L1ValidatorManagerDetails.d.ts +1 -1
- package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
- package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
- package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListChainsResponse.d.ts +1 -1
- package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListContractsResponse.d.ts +1 -1
- package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc1155BalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc20BalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc721BalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
- package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
- package/esm/generated/models/ListIcmMessagesResponse.d.ts +3 -2
- package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListL1ValidatorsResponse.d.ts +5 -1
- package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListNftTokens.d.ts +1 -1
- package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
- package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
- package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
- package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
- package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +3 -2
- package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
- package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
- package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
- package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
- package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
- package/esm/generated/models/ListWebhooksResponse.d.ts +4 -3
- package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
- package/esm/generated/models/Log.d.ts +1 -1
- package/esm/generated/models/LogsFormat.d.ts +1 -1
- package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
- package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
- package/esm/generated/models/Method.d.ts +1 -1
- package/esm/generated/models/Metric.d.ts +1 -1
- package/esm/generated/models/Money.d.ts +1 -1
- package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
- package/esm/generated/models/NativeTransaction.d.ts +1 -1
- package/esm/generated/models/NetworkToken.d.ts +1 -1
- package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
- package/esm/generated/models/NetworkTokenInfo.d.ts +1 -1
- package/esm/generated/models/NextPageToken.d.ts +1 -1
- package/esm/generated/models/NotFound.d.ts +1 -1
- package/esm/generated/models/NotificationsResponse.d.ts +1 -1
- package/esm/generated/models/OperationStatusResponse.d.ts +1 -1
- package/esm/generated/models/PChainBalance.d.ts +1 -1
- package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
- package/esm/generated/models/PChainTransaction.d.ts +6 -1
- package/esm/generated/models/PChainUtxo.d.ts +1 -1
- package/esm/generated/models/PendingReward.d.ts +1 -1
- package/esm/generated/models/PlatformAddressActivityKeyType.d.ts +8 -0
- package/esm/generated/models/PlatformAddressActivityKeyType.js +1 -0
- package/esm/generated/models/PricingProviders.d.ts +1 -1
- 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/PrimaryNetworkBlock.d.ts +1 -1
- package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +1 -1
- package/esm/generated/models/PrimaryNetworkOptions.d.ts +2 -2
- package/esm/generated/models/ProposerDetails.d.ts +1 -1
- package/esm/generated/models/ResourceLink.d.ts +1 -1
- package/esm/generated/models/Rewards.d.ts +1 -1
- package/esm/generated/models/RichAddress.d.ts +1 -1
- package/esm/generated/models/RpcMetrics.d.ts +1 -1
- package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
- package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
- package/esm/generated/models/SignatureAggregationResponse.d.ts +1 -1
- package/esm/generated/models/SignatureAggregatorRequest.d.ts +1 -1
- package/esm/generated/models/StakingDistribution.d.ts +1 -1
- package/esm/generated/models/Subnet.d.ts +1 -1
- package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
- package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +1 -1
- package/esm/generated/models/SubscribeRequest.d.ts +1 -1
- package/esm/generated/models/SubscriptionsRequest.d.ts +1 -1
- package/esm/generated/models/SubscriptionsResponse.d.ts +1 -1
- package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
- package/esm/generated/models/TeleporterMessageInfo.d.ts +3 -3
- package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
- package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
- package/esm/generated/models/TooManyRequests.d.ts +1 -1
- package/esm/generated/models/Transaction.d.ts +3 -3
- package/esm/generated/models/TransactionDetails.d.ts +1 -1
- package/esm/generated/models/TransactionEvent.d.ts +1 -1
- package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
- package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
- package/esm/generated/models/Unauthorized.d.ts +1 -1
- package/esm/generated/models/UnsubscribeRequest.d.ts +1 -1
- package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
- package/esm/generated/models/UpdateWebhookRequest.d.ts +1 -1
- package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
- package/esm/generated/models/UtilityAddresses.d.ts +1 -1
- package/esm/generated/models/Utxo.d.ts +1 -1
- package/esm/generated/models/UtxoCredential.d.ts +1 -1
- 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/ValidatorHealthDetails.d.ts +1 -1
- package/esm/generated/models/ValidatorsDetails.d.ts +1 -1
- package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
- package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
- package/esm/generated/models/XChainBalances.d.ts +1 -1
- package/esm/generated/models/XChainId.d.ts +0 -1
- package/esm/generated/models/XChainId.js +1 -1
- package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
- package/esm/generated/models/XChainVertex.d.ts +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/WebhooksService.d.ts +9 -7
- package/esm/index.d.ts +20 -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"
|
|
@@ -4836,6 +4853,15 @@ type ListCChainAtomicTransactionsResponse = {
|
|
|
4836
4853
|
chainInfo: PrimaryNetworkChainInfo;
|
|
4837
4854
|
};
|
|
4838
4855
|
|
|
4856
|
+
type BlockchainInfo = {
|
|
4857
|
+
chainName: string;
|
|
4858
|
+
vmId: string;
|
|
4859
|
+
/**
|
|
4860
|
+
* 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
|
|
4861
|
+
*/
|
|
4862
|
+
genesisData?: Record<string, any>;
|
|
4863
|
+
};
|
|
4864
|
+
|
|
4839
4865
|
type L1ValidatorDetailsTransaction = {
|
|
4840
4866
|
/**
|
|
4841
4867
|
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
@@ -5064,6 +5090,10 @@ type PChainTransaction = {
|
|
|
5064
5090
|
* Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
|
|
5065
5091
|
*/
|
|
5066
5092
|
blsCredentials?: BlsCredentials;
|
|
5093
|
+
/**
|
|
5094
|
+
* Details of the blockchain that was created in the CreateChainTx
|
|
5095
|
+
*/
|
|
5096
|
+
blockchainInfo?: BlockchainInfo;
|
|
5067
5097
|
};
|
|
5068
5098
|
|
|
5069
5099
|
type ListPChainTransactionsResponse = {
|
|
@@ -5756,7 +5786,7 @@ type ListTeleporterMessagesResponse = {
|
|
|
5756
5786
|
* 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
5787
|
*/
|
|
5758
5788
|
nextPageToken?: string;
|
|
5759
|
-
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
|
|
5789
|
+
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
5760
5790
|
};
|
|
5761
5791
|
|
|
5762
5792
|
declare class TeleporterService {
|
|
@@ -5854,28 +5884,23 @@ type AddressesChangeRequest = {
|
|
|
5854
5884
|
};
|
|
5855
5885
|
|
|
5856
5886
|
type AddressActivityMetadata = {
|
|
5857
|
-
/**
|
|
5858
|
-
* Ethereum address(es) for the address_activity event type
|
|
5859
|
-
*/
|
|
5860
|
-
addresses: Array<string>;
|
|
5861
5887
|
/**
|
|
5862
5888
|
* Array of hexadecimal strings of the event signatures.
|
|
5863
5889
|
*/
|
|
5864
5890
|
eventSignatures?: Array<string>;
|
|
5891
|
+
/**
|
|
5892
|
+
* 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.
|
|
5893
|
+
*/
|
|
5894
|
+
addresses: Array<string>;
|
|
5865
5895
|
};
|
|
5866
5896
|
|
|
5867
|
-
declare enum PrimaryNetworkType {
|
|
5868
|
-
MAINNET = "mainnet",
|
|
5869
|
-
FUJI = "fuji"
|
|
5870
|
-
}
|
|
5871
|
-
|
|
5872
5897
|
type EVMAddressActivityRequest = {
|
|
5873
5898
|
eventType: EVMAddressActivityRequest.eventType;
|
|
5874
5899
|
url: string;
|
|
5875
|
-
chainId: string;
|
|
5876
|
-
network?: PrimaryNetworkType;
|
|
5877
5900
|
name?: string;
|
|
5878
5901
|
description?: string;
|
|
5902
|
+
chainId: string;
|
|
5903
|
+
metadata: AddressActivityMetadata;
|
|
5879
5904
|
/**
|
|
5880
5905
|
* Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
|
|
5881
5906
|
*/
|
|
@@ -5884,7 +5909,6 @@ type EVMAddressActivityRequest = {
|
|
|
5884
5909
|
* Whether to include logs in the webhook payload.
|
|
5885
5910
|
*/
|
|
5886
5911
|
includeLogs?: boolean;
|
|
5887
|
-
metadata: AddressActivityMetadata;
|
|
5888
5912
|
};
|
|
5889
5913
|
declare namespace EVMAddressActivityRequest {
|
|
5890
5914
|
enum eventType {
|
|
@@ -5892,10 +5916,8 @@ declare namespace EVMAddressActivityRequest {
|
|
|
5892
5916
|
}
|
|
5893
5917
|
}
|
|
5894
5918
|
|
|
5895
|
-
declare enum
|
|
5896
|
-
ADDRESS_ACTIVITY = "address_activity"
|
|
5897
|
-
PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
|
|
5898
|
-
VALIDATOR_ACTIVITY = "validator_activity"
|
|
5919
|
+
declare enum AddressActivityEventType {
|
|
5920
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
5899
5921
|
}
|
|
5900
5922
|
|
|
5901
5923
|
declare enum WebhookStatusType {
|
|
@@ -5905,13 +5927,13 @@ declare enum WebhookStatusType {
|
|
|
5905
5927
|
|
|
5906
5928
|
type EVMAddressActivityResponse = {
|
|
5907
5929
|
id: string;
|
|
5908
|
-
eventType: EventType;
|
|
5909
5930
|
url: string;
|
|
5910
5931
|
chainId: string;
|
|
5911
5932
|
status: WebhookStatusType;
|
|
5912
5933
|
createdAt: number;
|
|
5913
5934
|
name: string;
|
|
5914
5935
|
description: string;
|
|
5936
|
+
eventType: AddressActivityEventType;
|
|
5915
5937
|
metadata: AddressActivityMetadata;
|
|
5916
5938
|
/**
|
|
5917
5939
|
* Whether to include traces in the webhook payload.
|
|
@@ -5932,30 +5954,28 @@ type ListWebhookAddressesResponse = {
|
|
|
5932
5954
|
totalAddresses: number;
|
|
5933
5955
|
};
|
|
5934
5956
|
|
|
5957
|
+
declare enum PrimaryNetworkAddressActivityEventType {
|
|
5958
|
+
PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
|
|
5959
|
+
}
|
|
5960
|
+
|
|
5935
5961
|
/**
|
|
5936
|
-
* The type of key
|
|
5962
|
+
* The type of key to monitor for the address activity event type.
|
|
5937
5963
|
*/
|
|
5938
|
-
declare enum
|
|
5939
|
-
ADDRESSES = "addresses"
|
|
5940
|
-
NODE_ID = "nodeId",
|
|
5941
|
-
SUBNET_ID = "subnetId"
|
|
5964
|
+
declare enum PlatformAddressActivityKeyType {
|
|
5965
|
+
ADDRESSES = "addresses"
|
|
5942
5966
|
}
|
|
5943
5967
|
|
|
5944
5968
|
/**
|
|
5945
5969
|
* Array of address activity sub-event types
|
|
5946
5970
|
*/
|
|
5947
|
-
declare enum
|
|
5948
|
-
|
|
5949
|
-
|
|
5971
|
+
declare enum PrimaryNetworkAddressActivitySubEventType {
|
|
5972
|
+
BALANCE_CHANGE = "balance_change",
|
|
5973
|
+
BALANCE_THRESHOLD = "balance_threshold",
|
|
5950
5974
|
REWARD_DISTRIBUTION = "reward_distribution"
|
|
5951
5975
|
}
|
|
5952
5976
|
|
|
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>;
|
|
5977
|
+
type PrimaryNetworkAddressActivitySubEvents = {
|
|
5978
|
+
addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
|
|
5959
5979
|
};
|
|
5960
5980
|
|
|
5961
5981
|
/**
|
|
@@ -5974,7 +5994,7 @@ declare enum CommonBalanceType {
|
|
|
5974
5994
|
ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
|
|
5975
5995
|
}
|
|
5976
5996
|
|
|
5977
|
-
type
|
|
5997
|
+
type PrimaryNetworkBalanceThresholdFilter = {
|
|
5978
5998
|
balanceType: CommonBalanceType;
|
|
5979
5999
|
/**
|
|
5980
6000
|
* Threshold for balance corresponding to balanceType in nAVAX
|
|
@@ -5982,20 +6002,71 @@ type PlatformBalanceThresholdFilter = {
|
|
|
5982
6002
|
balanceThreshold: string;
|
|
5983
6003
|
};
|
|
5984
6004
|
|
|
5985
|
-
type
|
|
5986
|
-
|
|
6005
|
+
type PrimaryNetworkAddressActivityMetadata = {
|
|
6006
|
+
/**
|
|
6007
|
+
* Array of hexadecimal strings of the event signatures.
|
|
6008
|
+
*/
|
|
6009
|
+
eventSignatures?: Array<string>;
|
|
6010
|
+
keyType: PlatformAddressActivityKeyType;
|
|
5987
6011
|
/**
|
|
5988
|
-
* Array of keys like addresses
|
|
6012
|
+
* 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
6013
|
*/
|
|
5990
6014
|
keys: Array<string>;
|
|
5991
6015
|
/**
|
|
5992
6016
|
* Sub-events to monitor
|
|
5993
6017
|
*/
|
|
5994
|
-
subEvents
|
|
6018
|
+
subEvents: PrimaryNetworkAddressActivitySubEvents;
|
|
6019
|
+
/**
|
|
6020
|
+
* Balance threshold filter
|
|
6021
|
+
*/
|
|
6022
|
+
balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
|
|
6023
|
+
};
|
|
6024
|
+
|
|
6025
|
+
type PrimaryNetworkAddressActivityResponse = {
|
|
6026
|
+
id: string;
|
|
6027
|
+
url: string;
|
|
6028
|
+
chainId: string;
|
|
6029
|
+
status: WebhookStatusType;
|
|
6030
|
+
createdAt: number;
|
|
6031
|
+
name: string;
|
|
6032
|
+
description: string;
|
|
6033
|
+
eventType: PrimaryNetworkAddressActivityEventType;
|
|
6034
|
+
metadata: PrimaryNetworkAddressActivityMetadata;
|
|
6035
|
+
};
|
|
6036
|
+
|
|
6037
|
+
declare enum ValidatorActivityEventType {
|
|
6038
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6039
|
+
}
|
|
6040
|
+
|
|
6041
|
+
/**
|
|
6042
|
+
* The type of key to monitor for the validator activity event type.
|
|
6043
|
+
*/
|
|
6044
|
+
declare enum ValidatorActivityKeyType {
|
|
6045
|
+
NODE_ID = "nodeId",
|
|
6046
|
+
SUBNET_ID = "subnetId"
|
|
6047
|
+
}
|
|
6048
|
+
|
|
6049
|
+
type ValidatorActivitySubEvents = {
|
|
6050
|
+
/**
|
|
6051
|
+
* Array of validator activity sub-event types
|
|
6052
|
+
*/
|
|
6053
|
+
validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
|
|
6054
|
+
};
|
|
6055
|
+
|
|
6056
|
+
type ValidatorActivityMetadata = {
|
|
5995
6057
|
/**
|
|
5996
6058
|
* Array of hexadecimal strings of the event signatures.
|
|
5997
6059
|
*/
|
|
5998
6060
|
eventSignatures?: Array<string>;
|
|
6061
|
+
keyType: ValidatorActivityKeyType;
|
|
6062
|
+
/**
|
|
6063
|
+
* Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
|
|
6064
|
+
*/
|
|
6065
|
+
keys: Array<string>;
|
|
6066
|
+
/**
|
|
6067
|
+
* Sub-events to monitor
|
|
6068
|
+
*/
|
|
6069
|
+
subEvents: ValidatorActivitySubEvents;
|
|
5999
6070
|
/**
|
|
6000
6071
|
* Array of node IDs to filter the events
|
|
6001
6072
|
*/
|
|
@@ -6004,26 +6075,22 @@ type PlatformActivityMetadata = {
|
|
|
6004
6075
|
* Array of subnet IDs to filter the events
|
|
6005
6076
|
*/
|
|
6006
6077
|
subnetIds?: Array<string>;
|
|
6007
|
-
/**
|
|
6008
|
-
* Balance threshold filter
|
|
6009
|
-
*/
|
|
6010
|
-
balanceThresholdFilter?: PlatformBalanceThresholdFilter;
|
|
6011
6078
|
/**
|
|
6012
6079
|
* L1 validator fee balance threshold in nAVAX
|
|
6013
6080
|
*/
|
|
6014
6081
|
l1ValidatorFeeBalanceThreshold?: string;
|
|
6015
6082
|
};
|
|
6016
6083
|
|
|
6017
|
-
type
|
|
6084
|
+
type ValidatorActivityResponse = {
|
|
6018
6085
|
id: string;
|
|
6019
|
-
eventType: EventType;
|
|
6020
6086
|
url: string;
|
|
6021
6087
|
chainId: string;
|
|
6022
6088
|
status: WebhookStatusType;
|
|
6023
6089
|
createdAt: number;
|
|
6024
6090
|
name: string;
|
|
6025
6091
|
description: string;
|
|
6026
|
-
|
|
6092
|
+
eventType: ValidatorActivityEventType;
|
|
6093
|
+
metadata: ValidatorActivityMetadata;
|
|
6027
6094
|
};
|
|
6028
6095
|
|
|
6029
6096
|
type ListWebhooksResponse = {
|
|
@@ -6031,33 +6098,29 @@ type ListWebhooksResponse = {
|
|
|
6031
6098
|
* 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
6099
|
*/
|
|
6033
6100
|
nextPageToken?: string;
|
|
6034
|
-
webhooks: Array<(EVMAddressActivityResponse |
|
|
6101
|
+
webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6035
6102
|
};
|
|
6036
6103
|
|
|
6037
|
-
|
|
6038
|
-
|
|
6104
|
+
declare enum PrimaryNetworkType {
|
|
6105
|
+
MAINNET = "mainnet",
|
|
6106
|
+
FUJI = "fuji"
|
|
6107
|
+
}
|
|
6108
|
+
|
|
6109
|
+
type PrimaryNetworkAddressActivityRequest = {
|
|
6110
|
+
eventType: PrimaryNetworkAddressActivityRequest.eventType;
|
|
6039
6111
|
url: string;
|
|
6040
|
-
chainId: string;
|
|
6041
|
-
network?: PrimaryNetworkType;
|
|
6042
6112
|
name?: string;
|
|
6043
6113
|
description?: string;
|
|
6114
|
+
network: PrimaryNetworkType;
|
|
6115
|
+
chainId: string;
|
|
6044
6116
|
/**
|
|
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
|
|
6117
|
+
* Metadata for platform address activity event
|
|
6054
6118
|
*/
|
|
6055
|
-
metadata:
|
|
6119
|
+
metadata: PrimaryNetworkAddressActivityMetadata;
|
|
6056
6120
|
};
|
|
6057
|
-
declare namespace
|
|
6121
|
+
declare namespace PrimaryNetworkAddressActivityRequest {
|
|
6058
6122
|
enum eventType {
|
|
6059
|
-
|
|
6060
|
-
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6123
|
+
PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
|
|
6061
6124
|
}
|
|
6062
6125
|
}
|
|
6063
6126
|
|
|
@@ -6077,6 +6140,23 @@ type UpdateWebhookRequest = {
|
|
|
6077
6140
|
includeLogs?: boolean;
|
|
6078
6141
|
};
|
|
6079
6142
|
|
|
6143
|
+
type ValidatorActivityRequest = {
|
|
6144
|
+
eventType: ValidatorActivityRequest.eventType;
|
|
6145
|
+
url: string;
|
|
6146
|
+
name?: string;
|
|
6147
|
+
description?: string;
|
|
6148
|
+
network: PrimaryNetworkType;
|
|
6149
|
+
/**
|
|
6150
|
+
* Metadata for platform validator activity event
|
|
6151
|
+
*/
|
|
6152
|
+
metadata: ValidatorActivityMetadata;
|
|
6153
|
+
};
|
|
6154
|
+
declare namespace ValidatorActivityRequest {
|
|
6155
|
+
enum eventType {
|
|
6156
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6157
|
+
}
|
|
6158
|
+
}
|
|
6159
|
+
|
|
6080
6160
|
declare enum WebhookStatus {
|
|
6081
6161
|
ACTIVE = "active",
|
|
6082
6162
|
INACTIVE = "inactive"
|
|
@@ -6092,8 +6172,8 @@ declare class WebhooksService {
|
|
|
6092
6172
|
* @throws ApiError
|
|
6093
6173
|
*/
|
|
6094
6174
|
createWebhook({ requestBody, }: {
|
|
6095
|
-
requestBody: (EVMAddressActivityRequest |
|
|
6096
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6175
|
+
requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
|
|
6176
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6097
6177
|
/**
|
|
6098
6178
|
* List webhooks
|
|
6099
6179
|
* Lists webhooks for the user.
|
|
@@ -6125,7 +6205,7 @@ declare class WebhooksService {
|
|
|
6125
6205
|
* The webhook identifier.
|
|
6126
6206
|
*/
|
|
6127
6207
|
id: string;
|
|
6128
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6208
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6129
6209
|
/**
|
|
6130
6210
|
* Deactivate a webhook
|
|
6131
6211
|
* Deactivates a webhook by ID.
|
|
@@ -6137,7 +6217,7 @@ declare class WebhooksService {
|
|
|
6137
6217
|
* The webhook identifier.
|
|
6138
6218
|
*/
|
|
6139
6219
|
id: string;
|
|
6140
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6220
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6141
6221
|
/**
|
|
6142
6222
|
* Update a webhook
|
|
6143
6223
|
* Updates an existing webhook.
|
|
@@ -6150,7 +6230,7 @@ declare class WebhooksService {
|
|
|
6150
6230
|
*/
|
|
6151
6231
|
id: string;
|
|
6152
6232
|
requestBody: UpdateWebhookRequest;
|
|
6153
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6233
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6154
6234
|
/**
|
|
6155
6235
|
* Generate or rotate a shared secret
|
|
6156
6236
|
* Generates a new shared secret or rotate an existing one.
|
|
@@ -6215,6 +6295,7 @@ declare class WebhooksService {
|
|
|
6215
6295
|
|
|
6216
6296
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
6217
6297
|
declare class Glacier {
|
|
6298
|
+
readonly avaxSupply: AvaxSupplyService;
|
|
6218
6299
|
readonly dataApiUsageMetrics: DataApiUsageMetricsService;
|
|
6219
6300
|
readonly default: DefaultService;
|
|
6220
6301
|
readonly evmBalances: EvmBalancesService;
|
|
@@ -6513,6 +6594,37 @@ type TooManyRequests = {
|
|
|
6513
6594
|
error: string;
|
|
6514
6595
|
};
|
|
6515
6596
|
|
|
6597
|
+
type WebhookInternalTransaction = {
|
|
6598
|
+
/**
|
|
6599
|
+
* Sender address
|
|
6600
|
+
*/
|
|
6601
|
+
from: string;
|
|
6602
|
+
/**
|
|
6603
|
+
* Recipient address
|
|
6604
|
+
*/
|
|
6605
|
+
to: string;
|
|
6606
|
+
/**
|
|
6607
|
+
* Internal transaction type
|
|
6608
|
+
*/
|
|
6609
|
+
internalTxType: string;
|
|
6610
|
+
/**
|
|
6611
|
+
* Value transferred
|
|
6612
|
+
*/
|
|
6613
|
+
value: string;
|
|
6614
|
+
/**
|
|
6615
|
+
* Gas used
|
|
6616
|
+
*/
|
|
6617
|
+
gasUsed: string;
|
|
6618
|
+
/**
|
|
6619
|
+
* Gas limit
|
|
6620
|
+
*/
|
|
6621
|
+
gasLimit: string;
|
|
6622
|
+
/**
|
|
6623
|
+
* Transaction hash
|
|
6624
|
+
*/
|
|
6625
|
+
transactionHash: string;
|
|
6626
|
+
};
|
|
6627
|
+
|
|
6516
6628
|
type Transaction = {
|
|
6517
6629
|
/**
|
|
6518
6630
|
* Block hash of the transaction
|
|
@@ -6617,7 +6729,7 @@ type Transaction = {
|
|
|
6617
6729
|
/**
|
|
6618
6730
|
* Internal transactions (optional)
|
|
6619
6731
|
*/
|
|
6620
|
-
internalTransactions?: Array<
|
|
6732
|
+
internalTransactions?: Array<WebhookInternalTransaction>;
|
|
6621
6733
|
/**
|
|
6622
6734
|
* Access list (optional)
|
|
6623
6735
|
*/
|
|
@@ -6681,4 +6793,16 @@ declare namespace WebhookAddressActivityResponse {
|
|
|
6681
6793
|
}
|
|
6682
6794
|
}
|
|
6683
6795
|
|
|
6684
|
-
|
|
6796
|
+
declare class FetchHttpRequest extends BaseHttpRequest {
|
|
6797
|
+
constructor(config: OpenAPIConfig);
|
|
6798
|
+
/**
|
|
6799
|
+
* Request method
|
|
6800
|
+
* @param options The request options from the service
|
|
6801
|
+
* @returns CancelablePromise<T>
|
|
6802
|
+
* @throws ApiError
|
|
6803
|
+
*/
|
|
6804
|
+
request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
6805
|
+
}
|
|
6806
|
+
|
|
6807
|
+
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 };
|
|
6808
|
+
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;
|