@avalabs/glacier-sdk 3.1.0-canary.b074965.0 → 3.1.0-canary.b394da3.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 +619 -102
- 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/AvaxSupplyResponse.d.ts +48 -0
- 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 +11 -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 +12 -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/EvmGenesisAllocDto.d.ts +16 -0
- package/esm/generated/models/EvmGenesisAllowListConfigDto.d.ts +20 -0
- package/esm/generated/models/EvmGenesisConfigDto.d.ts +96 -0
- package/esm/generated/models/EvmGenesisDto.d.ts +75 -0
- package/esm/generated/models/EvmGenesisFeeConfigDto.d.ts +36 -0
- package/esm/generated/models/EvmGenesisWarpConfigDto.d.ts +16 -0
- 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 +5 -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/PrimaryNetworkAddressesBodyDto.d.ts +8 -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 +22 -2
- 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 +5 -1
- package/esm/generated/models/UtxoCredential.d.ts +1 -1
- 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/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 +17 -0
- package/esm/generated/services/AvaxSupplyService.js +1 -0
- package/esm/generated/services/HealthCheckService.d.ts +9 -2
- package/esm/generated/services/HealthCheckService.js +1 -1
- package/esm/generated/services/PrimaryNetworkService.d.ts +4 -4
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +56 -1
- package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
- package/esm/generated/services/WebhooksService.d.ts +9 -7
- package/esm/index.d.ts +29 -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,65 @@ declare abstract class BaseHttpRequest {
|
|
|
54
54
|
abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
type AvaxSupplyResponse = {
|
|
58
|
+
/**
|
|
59
|
+
* The circulating supply of AVAX.
|
|
60
|
+
*/
|
|
61
|
+
circulatingSupply: string;
|
|
62
|
+
/**
|
|
63
|
+
* The total supply of AVAX.
|
|
64
|
+
*/
|
|
65
|
+
totalSupply: string;
|
|
66
|
+
/**
|
|
67
|
+
* Represents the total amount of AVAX burned on the P-Chain. This value includes AVAX lost when the sum of input UTXOs exceeds the sum of output UTXOs—potentially by more than the expected transaction fee, such as in malformed or improperly constructed transactions—as well as all L1 validator fees that have been burned to date.
|
|
68
|
+
*/
|
|
69
|
+
totalPBurned: string;
|
|
70
|
+
/**
|
|
71
|
+
* Represents the total amount of AVAX burned on the C-Chain. This value includes the total amount of AVAX burned on the C-Chain in evm txns and the total amount of AVAX burned on the C-Chain in atomic txns.
|
|
72
|
+
*/
|
|
73
|
+
totalCBurned: string;
|
|
74
|
+
/**
|
|
75
|
+
* The total X-chain burned fees of AVAX.
|
|
76
|
+
*/
|
|
77
|
+
totalXBurned: string;
|
|
78
|
+
/**
|
|
79
|
+
* The total staked AVAX.
|
|
80
|
+
*/
|
|
81
|
+
totalStaked: string;
|
|
82
|
+
/**
|
|
83
|
+
* The total locked AVAX.
|
|
84
|
+
*/
|
|
85
|
+
totalLocked: string;
|
|
86
|
+
/**
|
|
87
|
+
* The total rewards AVAX.
|
|
88
|
+
*/
|
|
89
|
+
totalRewards: string;
|
|
90
|
+
/**
|
|
91
|
+
* The last updated time of the AVAX supply.
|
|
92
|
+
*/
|
|
93
|
+
lastUpdated: string;
|
|
94
|
+
/**
|
|
95
|
+
* The genesis unlock amount of the AVAX supply.
|
|
96
|
+
*/
|
|
97
|
+
genesisUnlock: string;
|
|
98
|
+
/**
|
|
99
|
+
* The total L1 validator fees of AVAX.
|
|
100
|
+
*/
|
|
101
|
+
l1ValidatorFees: string;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
declare class AvaxSupplyService {
|
|
105
|
+
readonly httpRequest: BaseHttpRequest;
|
|
106
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
107
|
+
/**
|
|
108
|
+
* Get AVAX supply information
|
|
109
|
+
* 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.
|
|
110
|
+
* @returns AvaxSupplyResponse Successful response
|
|
111
|
+
* @throws ApiError
|
|
112
|
+
*/
|
|
113
|
+
getAvaxSupply(): CancelablePromise<AvaxSupplyResponse>;
|
|
114
|
+
}
|
|
115
|
+
|
|
57
116
|
type LogsFormatMetadata = {
|
|
58
117
|
/**
|
|
59
118
|
* The IP address of the client that made the request.
|
|
@@ -2084,11 +2143,11 @@ type TeleporterMessageInfo = {
|
|
|
2084
2143
|
/**
|
|
2085
2144
|
* chain id of the source chain. valid only for destination transactions
|
|
2086
2145
|
*/
|
|
2087
|
-
sourceChainId?:
|
|
2146
|
+
sourceChainId?: string;
|
|
2088
2147
|
/**
|
|
2089
2148
|
* chain id of the destination chain. valid only for source transactions
|
|
2090
2149
|
*/
|
|
2091
|
-
destinationChainId?:
|
|
2150
|
+
destinationChainId?: string;
|
|
2092
2151
|
};
|
|
2093
2152
|
|
|
2094
2153
|
type GetTransactionResponse = {
|
|
@@ -2221,33 +2280,31 @@ type ListErc721TransactionsResponse = {
|
|
|
2221
2280
|
|
|
2222
2281
|
type InternalTransaction = {
|
|
2223
2282
|
/**
|
|
2224
|
-
*
|
|
2283
|
+
* The block number on the chain.
|
|
2225
2284
|
*/
|
|
2226
|
-
|
|
2285
|
+
blockNumber: string;
|
|
2227
2286
|
/**
|
|
2228
|
-
*
|
|
2287
|
+
* The block finality timestamp.
|
|
2229
2288
|
*/
|
|
2230
|
-
|
|
2289
|
+
blockTimestamp: number;
|
|
2231
2290
|
/**
|
|
2232
|
-
*
|
|
2291
|
+
* The block hash identifier.
|
|
2233
2292
|
*/
|
|
2234
|
-
|
|
2293
|
+
blockHash: string;
|
|
2235
2294
|
/**
|
|
2236
|
-
*
|
|
2295
|
+
* The transaction hash identifier.
|
|
2237
2296
|
*/
|
|
2297
|
+
txHash: string;
|
|
2298
|
+
from: RichAddress;
|
|
2299
|
+
to: RichAddress;
|
|
2300
|
+
internalTxType: InternalTransactionOpCall;
|
|
2238
2301
|
value: string;
|
|
2239
2302
|
/**
|
|
2240
|
-
*
|
|
2303
|
+
* True if the internal transaction was reverted.
|
|
2241
2304
|
*/
|
|
2305
|
+
isReverted: boolean;
|
|
2242
2306
|
gasUsed: string;
|
|
2243
|
-
/**
|
|
2244
|
-
* Gas limit
|
|
2245
|
-
*/
|
|
2246
2307
|
gasLimit: string;
|
|
2247
|
-
/**
|
|
2248
|
-
* Transaction hash
|
|
2249
|
-
*/
|
|
2250
|
-
transactionHash: string;
|
|
2251
2308
|
};
|
|
2252
2309
|
|
|
2253
2310
|
type ListInternalTransactionsResponse = {
|
|
@@ -2706,11 +2763,18 @@ declare class HealthCheckService {
|
|
|
2706
2763
|
constructor(httpRequest: BaseHttpRequest);
|
|
2707
2764
|
/**
|
|
2708
2765
|
* Get the health of the service
|
|
2709
|
-
* Check the health of the service.
|
|
2710
|
-
* @returns HealthCheckResultDto The health of the service
|
|
2766
|
+
* Check the health of the service. This checks the read and write health of the database and cache.
|
|
2767
|
+
* @returns HealthCheckResultDto The health of the service. This checks the read and write health of the database and cache.
|
|
2711
2768
|
* @throws ApiError
|
|
2712
2769
|
*/
|
|
2713
2770
|
dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
|
|
2771
|
+
/**
|
|
2772
|
+
* Get the liveliness of the service (reads only)
|
|
2773
|
+
* Check the liveliness of the service (reads only).
|
|
2774
|
+
* @returns HealthCheckResultDto The liveliness of the service (reads only)
|
|
2775
|
+
* @throws ApiError
|
|
2776
|
+
*/
|
|
2777
|
+
liveCheck(): CancelablePromise<HealthCheckResultDto>;
|
|
2714
2778
|
}
|
|
2715
2779
|
|
|
2716
2780
|
type IcmDestinationTransaction = {
|
|
@@ -2844,7 +2908,7 @@ type ListIcmMessagesResponse = {
|
|
|
2844
2908
|
* 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
2909
|
*/
|
|
2846
2910
|
nextPageToken?: string;
|
|
2847
|
-
messages: Array<(PendingIcmMessage | DeliveredIcmMessage)>;
|
|
2911
|
+
messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
2848
2912
|
};
|
|
2849
2913
|
|
|
2850
2914
|
declare class InterchainMessagingService {
|
|
@@ -3140,7 +3204,7 @@ declare enum PrimaryNetworkOperationType {
|
|
|
3140
3204
|
type PrimaryNetworkOptions = {
|
|
3141
3205
|
addresses?: Array<string>;
|
|
3142
3206
|
cChainEvmAddresses?: Array<string>;
|
|
3143
|
-
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '
|
|
3207
|
+
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
|
|
3144
3208
|
};
|
|
3145
3209
|
|
|
3146
3210
|
type CreatePrimaryNetworkTransactionExportRequest = {
|
|
@@ -3228,6 +3292,252 @@ declare class OperationsService {
|
|
|
3228
3292
|
}): CancelablePromise<OperationStatusResponse>;
|
|
3229
3293
|
}
|
|
3230
3294
|
|
|
3295
|
+
type EvmGenesisAllocDto = {
|
|
3296
|
+
/**
|
|
3297
|
+
* Account balance in hex format
|
|
3298
|
+
*/
|
|
3299
|
+
balance?: string;
|
|
3300
|
+
/**
|
|
3301
|
+
* Contract bytecode in hex format
|
|
3302
|
+
*/
|
|
3303
|
+
code?: string;
|
|
3304
|
+
/**
|
|
3305
|
+
* Contract storage slots
|
|
3306
|
+
*/
|
|
3307
|
+
storage?: Record<string, string>;
|
|
3308
|
+
};
|
|
3309
|
+
|
|
3310
|
+
type EvmGenesisAllowListConfigDto = {
|
|
3311
|
+
/**
|
|
3312
|
+
* Block timestamp
|
|
3313
|
+
*/
|
|
3314
|
+
blockTimestamp?: number;
|
|
3315
|
+
/**
|
|
3316
|
+
* Admin addresses
|
|
3317
|
+
*/
|
|
3318
|
+
adminAddresses?: Array<string>;
|
|
3319
|
+
/**
|
|
3320
|
+
* Manager addresses
|
|
3321
|
+
*/
|
|
3322
|
+
managerAddresses?: Array<string>;
|
|
3323
|
+
/**
|
|
3324
|
+
* Enabled addresses
|
|
3325
|
+
*/
|
|
3326
|
+
enabledAddresses?: Array<string>;
|
|
3327
|
+
};
|
|
3328
|
+
|
|
3329
|
+
type EvmGenesisFeeConfigDto = {
|
|
3330
|
+
/**
|
|
3331
|
+
* Base fee change denominator
|
|
3332
|
+
*/
|
|
3333
|
+
baseFeeChangeDenominator?: number;
|
|
3334
|
+
/**
|
|
3335
|
+
* Block gas cost step
|
|
3336
|
+
*/
|
|
3337
|
+
blockGasCostStep?: number;
|
|
3338
|
+
/**
|
|
3339
|
+
* Gas limit
|
|
3340
|
+
*/
|
|
3341
|
+
gasLimit?: number;
|
|
3342
|
+
/**
|
|
3343
|
+
* Maximum block gas cost
|
|
3344
|
+
*/
|
|
3345
|
+
maxBlockGasCost?: number;
|
|
3346
|
+
/**
|
|
3347
|
+
* Minimum base fee
|
|
3348
|
+
*/
|
|
3349
|
+
minBaseFee?: number;
|
|
3350
|
+
/**
|
|
3351
|
+
* Minimum block gas cost
|
|
3352
|
+
*/
|
|
3353
|
+
minBlockGasCost?: number;
|
|
3354
|
+
/**
|
|
3355
|
+
* Target block rate
|
|
3356
|
+
*/
|
|
3357
|
+
targetBlockRate?: number;
|
|
3358
|
+
/**
|
|
3359
|
+
* Target gas
|
|
3360
|
+
*/
|
|
3361
|
+
targetGas?: number;
|
|
3362
|
+
};
|
|
3363
|
+
|
|
3364
|
+
type EvmGenesisWarpConfigDto = {
|
|
3365
|
+
/**
|
|
3366
|
+
* Block timestamp
|
|
3367
|
+
*/
|
|
3368
|
+
blockTimestamp?: number;
|
|
3369
|
+
/**
|
|
3370
|
+
* Quorum numerator
|
|
3371
|
+
*/
|
|
3372
|
+
quorumNumerator?: number;
|
|
3373
|
+
/**
|
|
3374
|
+
* Require primary network signers
|
|
3375
|
+
*/
|
|
3376
|
+
requirePrimaryNetworkSigners?: boolean;
|
|
3377
|
+
};
|
|
3378
|
+
|
|
3379
|
+
type EvmGenesisConfigDto = {
|
|
3380
|
+
/**
|
|
3381
|
+
* Berlin block number
|
|
3382
|
+
*/
|
|
3383
|
+
berlinBlock?: number;
|
|
3384
|
+
/**
|
|
3385
|
+
* Byzantium block number
|
|
3386
|
+
*/
|
|
3387
|
+
byzantiumBlock?: number;
|
|
3388
|
+
/**
|
|
3389
|
+
* Chain ID
|
|
3390
|
+
*/
|
|
3391
|
+
chainId?: number;
|
|
3392
|
+
/**
|
|
3393
|
+
* Constantinople block number
|
|
3394
|
+
*/
|
|
3395
|
+
constantinopleBlock?: number;
|
|
3396
|
+
/**
|
|
3397
|
+
* EIP-150 block number
|
|
3398
|
+
*/
|
|
3399
|
+
eip150Block?: number;
|
|
3400
|
+
/**
|
|
3401
|
+
* EIP-150 hash
|
|
3402
|
+
*/
|
|
3403
|
+
eip150Hash?: string;
|
|
3404
|
+
/**
|
|
3405
|
+
* EIP-155 block number
|
|
3406
|
+
*/
|
|
3407
|
+
eip155Block?: number;
|
|
3408
|
+
/**
|
|
3409
|
+
* EIP-158 block number
|
|
3410
|
+
*/
|
|
3411
|
+
eip158Block?: number;
|
|
3412
|
+
/**
|
|
3413
|
+
* Fee configuration
|
|
3414
|
+
*/
|
|
3415
|
+
feeConfig?: EvmGenesisFeeConfigDto;
|
|
3416
|
+
/**
|
|
3417
|
+
* Homestead block number
|
|
3418
|
+
*/
|
|
3419
|
+
homesteadBlock?: number;
|
|
3420
|
+
/**
|
|
3421
|
+
* Istanbul block number
|
|
3422
|
+
*/
|
|
3423
|
+
istanbulBlock?: number;
|
|
3424
|
+
/**
|
|
3425
|
+
* London block number
|
|
3426
|
+
*/
|
|
3427
|
+
londonBlock?: number;
|
|
3428
|
+
/**
|
|
3429
|
+
* Muir Glacier block number
|
|
3430
|
+
*/
|
|
3431
|
+
muirGlacierBlock?: number;
|
|
3432
|
+
/**
|
|
3433
|
+
* Petersburg block number
|
|
3434
|
+
*/
|
|
3435
|
+
petersburgBlock?: number;
|
|
3436
|
+
/**
|
|
3437
|
+
* Subnet EVM timestamp
|
|
3438
|
+
*/
|
|
3439
|
+
subnetEVMTimestamp?: number;
|
|
3440
|
+
/**
|
|
3441
|
+
* Allow fee recipients
|
|
3442
|
+
*/
|
|
3443
|
+
allowFeeRecipients?: boolean;
|
|
3444
|
+
/**
|
|
3445
|
+
* Warp configuration
|
|
3446
|
+
*/
|
|
3447
|
+
warpConfig?: EvmGenesisWarpConfigDto;
|
|
3448
|
+
/**
|
|
3449
|
+
* Transaction allow list configuration
|
|
3450
|
+
*/
|
|
3451
|
+
txAllowListConfig?: EvmGenesisAllowListConfigDto;
|
|
3452
|
+
/**
|
|
3453
|
+
* Contract deployer allow list configuration
|
|
3454
|
+
*/
|
|
3455
|
+
contractDeployerAllowListConfig?: EvmGenesisAllowListConfigDto;
|
|
3456
|
+
/**
|
|
3457
|
+
* Contract native minter configuration
|
|
3458
|
+
*/
|
|
3459
|
+
contractNativeMinterConfig?: EvmGenesisAllowListConfigDto;
|
|
3460
|
+
/**
|
|
3461
|
+
* Fee manager configuration
|
|
3462
|
+
*/
|
|
3463
|
+
feeManagerConfig?: EvmGenesisAllowListConfigDto;
|
|
3464
|
+
/**
|
|
3465
|
+
* Reward manager configuration
|
|
3466
|
+
*/
|
|
3467
|
+
rewardManagerConfig?: EvmGenesisAllowListConfigDto;
|
|
3468
|
+
};
|
|
3469
|
+
|
|
3470
|
+
type EvmGenesisDto = {
|
|
3471
|
+
/**
|
|
3472
|
+
* Airdrop amount
|
|
3473
|
+
*/
|
|
3474
|
+
airdropAmount?: number | null;
|
|
3475
|
+
/**
|
|
3476
|
+
* Airdrop hash
|
|
3477
|
+
*/
|
|
3478
|
+
airdropHash?: string;
|
|
3479
|
+
/**
|
|
3480
|
+
* Allocation of accounts and balances
|
|
3481
|
+
*/
|
|
3482
|
+
alloc?: Record<string, EvmGenesisAllocDto>;
|
|
3483
|
+
/**
|
|
3484
|
+
* Base fee per gas
|
|
3485
|
+
*/
|
|
3486
|
+
baseFeePerGas?: number | null;
|
|
3487
|
+
/**
|
|
3488
|
+
* Blob gas used
|
|
3489
|
+
*/
|
|
3490
|
+
blobGasUsed?: string | null;
|
|
3491
|
+
/**
|
|
3492
|
+
* Coinbase address
|
|
3493
|
+
*/
|
|
3494
|
+
coinbase?: string;
|
|
3495
|
+
/**
|
|
3496
|
+
* Genesis configuration
|
|
3497
|
+
*/
|
|
3498
|
+
config?: EvmGenesisConfigDto;
|
|
3499
|
+
/**
|
|
3500
|
+
* Difficulty
|
|
3501
|
+
*/
|
|
3502
|
+
difficulty?: string;
|
|
3503
|
+
/**
|
|
3504
|
+
* Excess blob gas
|
|
3505
|
+
*/
|
|
3506
|
+
excessBlobGas?: string | null;
|
|
3507
|
+
/**
|
|
3508
|
+
* Extra data
|
|
3509
|
+
*/
|
|
3510
|
+
extraData?: string;
|
|
3511
|
+
/**
|
|
3512
|
+
* Gas limit
|
|
3513
|
+
*/
|
|
3514
|
+
gasLimit?: string;
|
|
3515
|
+
/**
|
|
3516
|
+
* Gas used
|
|
3517
|
+
*/
|
|
3518
|
+
gasUsed?: string;
|
|
3519
|
+
/**
|
|
3520
|
+
* Mix hash
|
|
3521
|
+
*/
|
|
3522
|
+
mixHash?: string;
|
|
3523
|
+
/**
|
|
3524
|
+
* Nonce
|
|
3525
|
+
*/
|
|
3526
|
+
nonce?: string;
|
|
3527
|
+
/**
|
|
3528
|
+
* Block number
|
|
3529
|
+
*/
|
|
3530
|
+
number?: string;
|
|
3531
|
+
/**
|
|
3532
|
+
* Parent hash
|
|
3533
|
+
*/
|
|
3534
|
+
parentHash?: string;
|
|
3535
|
+
/**
|
|
3536
|
+
* Block timestamp
|
|
3537
|
+
*/
|
|
3538
|
+
timestamp?: string;
|
|
3539
|
+
};
|
|
3540
|
+
|
|
3231
3541
|
type Blockchain = {
|
|
3232
3542
|
createBlockTimestamp: number;
|
|
3233
3543
|
createBlockNumber: string;
|
|
@@ -3235,16 +3545,22 @@ type Blockchain = {
|
|
|
3235
3545
|
vmId: string;
|
|
3236
3546
|
subnetId: string;
|
|
3237
3547
|
blockchainName: string;
|
|
3548
|
+
/**
|
|
3549
|
+
* 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.
|
|
3550
|
+
*/
|
|
3551
|
+
evmChainId?: number;
|
|
3552
|
+
/**
|
|
3553
|
+
* The genesis data of the blockchain. Can be either a parsed EvmGenesisDto object or a raw JSON string.
|
|
3554
|
+
*/
|
|
3555
|
+
genesisData?: (EvmGenesisDto | string);
|
|
3238
3556
|
};
|
|
3239
3557
|
|
|
3240
3558
|
declare enum BlockchainIds {
|
|
3241
3559
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
3242
3560
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
3243
3561
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
3244
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
3245
3562
|
_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"
|
|
3563
|
+
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
|
|
3248
3564
|
}
|
|
3249
3565
|
|
|
3250
3566
|
type ChainAddressChainIdMap = {
|
|
@@ -3434,6 +3750,10 @@ type ListL1ValidatorsResponse = {
|
|
|
3434
3750
|
* The list of L1 validations for the given Subnet ID, NodeId or validationId
|
|
3435
3751
|
*/
|
|
3436
3752
|
validators: Array<L1ValidatorDetailsFull>;
|
|
3753
|
+
/**
|
|
3754
|
+
* Block height at which the L1 validator's remaining balance is calculated
|
|
3755
|
+
*/
|
|
3756
|
+
blockHeight: string;
|
|
3437
3757
|
};
|
|
3438
3758
|
|
|
3439
3759
|
type L1ValidatorManagerDetails = {
|
|
@@ -3759,7 +4079,6 @@ type XChainAssetDetails = {
|
|
|
3759
4079
|
declare enum XChainId {
|
|
3760
4080
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
3761
4081
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
3762
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
3763
4082
|
X_CHAIN = "x-chain"
|
|
3764
4083
|
}
|
|
3765
4084
|
|
|
@@ -3830,7 +4149,7 @@ declare class PrimaryNetworkService {
|
|
|
3830
4149
|
*/
|
|
3831
4150
|
pageToken?: string;
|
|
3832
4151
|
/**
|
|
3833
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
4152
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
|
|
3834
4153
|
*/
|
|
3835
4154
|
pageSize?: number;
|
|
3836
4155
|
/**
|
|
@@ -3870,7 +4189,7 @@ declare class PrimaryNetworkService {
|
|
|
3870
4189
|
*/
|
|
3871
4190
|
pageToken?: string;
|
|
3872
4191
|
/**
|
|
3873
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
4192
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
|
|
3874
4193
|
*/
|
|
3875
4194
|
pageSize?: number;
|
|
3876
4195
|
/**
|
|
@@ -3896,7 +4215,7 @@ declare class PrimaryNetworkService {
|
|
|
3896
4215
|
}): CancelablePromise<Subnet>;
|
|
3897
4216
|
/**
|
|
3898
4217
|
* List validators
|
|
3899
|
-
* Lists details for validators. By default, returns details for all validators. Filterable by
|
|
4218
|
+
* 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
4219
|
* @returns ListValidatorDetailsResponse Successful response
|
|
3901
4220
|
* @throws ApiError
|
|
3902
4221
|
*/
|
|
@@ -3914,7 +4233,7 @@ declare class PrimaryNetworkService {
|
|
|
3914
4233
|
*/
|
|
3915
4234
|
pageSize?: number;
|
|
3916
4235
|
/**
|
|
3917
|
-
* A comma separated list of node ids to filter by.
|
|
4236
|
+
* A comma separated list of node ids to filter by. Supports substring matching.
|
|
3918
4237
|
*/
|
|
3919
4238
|
nodeIds?: string;
|
|
3920
4239
|
/**
|
|
@@ -4075,10 +4394,8 @@ declare enum BlockchainId {
|
|
|
4075
4394
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
4076
4395
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
4077
4396
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
4078
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
4079
4397
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
4080
4398
|
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
|
|
4081
|
-
V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
|
|
4082
4399
|
P_CHAIN = "p-chain",
|
|
4083
4400
|
X_CHAIN = "x-chain",
|
|
4084
4401
|
C_CHAIN = "c-chain"
|
|
@@ -4668,6 +4985,10 @@ type Utxo = {
|
|
|
4668
4985
|
* UTXO ID for this output.
|
|
4669
4986
|
*/
|
|
4670
4987
|
utxoId: string;
|
|
4988
|
+
/**
|
|
4989
|
+
* The bytes of the UTXO
|
|
4990
|
+
*/
|
|
4991
|
+
utxoBytes?: string;
|
|
4671
4992
|
/**
|
|
4672
4993
|
* Unix timestamp in seconds at which this output was consumed.
|
|
4673
4994
|
*/
|
|
@@ -4836,6 +5157,15 @@ type ListCChainAtomicTransactionsResponse = {
|
|
|
4836
5157
|
chainInfo: PrimaryNetworkChainInfo;
|
|
4837
5158
|
};
|
|
4838
5159
|
|
|
5160
|
+
type BlockchainInfo = {
|
|
5161
|
+
chainName: string;
|
|
5162
|
+
vmId: string;
|
|
5163
|
+
/**
|
|
5164
|
+
* 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
|
|
5165
|
+
*/
|
|
5166
|
+
genesisData?: (EvmGenesisDto | string);
|
|
5167
|
+
};
|
|
5168
|
+
|
|
4839
5169
|
type L1ValidatorDetailsTransaction = {
|
|
4840
5170
|
/**
|
|
4841
5171
|
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
@@ -4916,6 +5246,10 @@ type PChainUtxo = {
|
|
|
4916
5246
|
* UTXO ID for this output.
|
|
4917
5247
|
*/
|
|
4918
5248
|
utxoId: string;
|
|
5249
|
+
/**
|
|
5250
|
+
* The bytes of the UTXO
|
|
5251
|
+
*/
|
|
5252
|
+
utxoBytes?: string;
|
|
4919
5253
|
/**
|
|
4920
5254
|
* @deprecated
|
|
4921
5255
|
*/
|
|
@@ -5064,6 +5398,10 @@ type PChainTransaction = {
|
|
|
5064
5398
|
* Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
|
|
5065
5399
|
*/
|
|
5066
5400
|
blsCredentials?: BlsCredentials;
|
|
5401
|
+
/**
|
|
5402
|
+
* Details of the blockchain that was created in the CreateChainTx
|
|
5403
|
+
*/
|
|
5404
|
+
blockchainInfo?: BlockchainInfo;
|
|
5067
5405
|
};
|
|
5068
5406
|
|
|
5069
5407
|
type ListPChainTransactionsResponse = {
|
|
@@ -5434,6 +5772,18 @@ type ListUtxosResponse = {
|
|
|
5434
5772
|
chainInfo: PrimaryNetworkChainInfo;
|
|
5435
5773
|
};
|
|
5436
5774
|
|
|
5775
|
+
type PrimaryNetworkAddressesBodyDto = {
|
|
5776
|
+
/**
|
|
5777
|
+
* Comma-separated list of primary network addresses
|
|
5778
|
+
*/
|
|
5779
|
+
addresses: string;
|
|
5780
|
+
};
|
|
5781
|
+
|
|
5782
|
+
declare enum UtxosSortByOption {
|
|
5783
|
+
TIMESTAMP = "timestamp",
|
|
5784
|
+
AMOUNT = "amount"
|
|
5785
|
+
}
|
|
5786
|
+
|
|
5437
5787
|
declare class PrimaryNetworkUtxOsService {
|
|
5438
5788
|
readonly httpRequest: BaseHttpRequest;
|
|
5439
5789
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -5443,7 +5793,7 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
5443
5793
|
* @returns any Successful response
|
|
5444
5794
|
* @throws ApiError
|
|
5445
5795
|
*/
|
|
5446
|
-
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
|
|
5796
|
+
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
|
|
5447
5797
|
/**
|
|
5448
5798
|
* A primary network blockchain id or alias.
|
|
5449
5799
|
*/
|
|
@@ -5468,10 +5818,63 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
5468
5818
|
* Asset ID for any asset (only applicable X-Chain)
|
|
5469
5819
|
*/
|
|
5470
5820
|
assetId?: string;
|
|
5821
|
+
/**
|
|
5822
|
+
* The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
|
|
5823
|
+
*/
|
|
5824
|
+
minUtxoAmount?: number;
|
|
5825
|
+
/**
|
|
5826
|
+
* Boolean filter to include spent UTXOs.
|
|
5827
|
+
*/
|
|
5828
|
+
includeSpent?: boolean;
|
|
5829
|
+
/**
|
|
5830
|
+
* Which property to sort by, in conjunction with sortOrder.
|
|
5831
|
+
*/
|
|
5832
|
+
sortBy?: UtxosSortByOption;
|
|
5833
|
+
/**
|
|
5834
|
+
* 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.
|
|
5835
|
+
*/
|
|
5836
|
+
sortOrder?: SortOrder;
|
|
5837
|
+
}): CancelablePromise<(ListPChainUtxosResponse | ListUtxosResponse)>;
|
|
5838
|
+
/**
|
|
5839
|
+
* List UTXOs v2 - Supports querying for more addresses
|
|
5840
|
+
* Lists UTXOs on one of the Primary Network chains for the supplied addresses. This v2 route supports increased page size and address limit.
|
|
5841
|
+
* @returns any Successful response
|
|
5842
|
+
* @throws ApiError
|
|
5843
|
+
*/
|
|
5844
|
+
getUtxosByAddressesV2({ blockchainId, network, requestBody, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
|
|
5845
|
+
/**
|
|
5846
|
+
* A primary network blockchain id or alias.
|
|
5847
|
+
*/
|
|
5848
|
+
blockchainId: BlockchainId;
|
|
5849
|
+
/**
|
|
5850
|
+
* Either mainnet or testnet/fuji.
|
|
5851
|
+
*/
|
|
5852
|
+
network: Network;
|
|
5853
|
+
requestBody: PrimaryNetworkAddressesBodyDto;
|
|
5854
|
+
/**
|
|
5855
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
5856
|
+
*/
|
|
5857
|
+
pageToken?: string;
|
|
5858
|
+
/**
|
|
5859
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 1024.
|
|
5860
|
+
*/
|
|
5861
|
+
pageSize?: number;
|
|
5862
|
+
/**
|
|
5863
|
+
* Asset ID for any asset (only applicable X-Chain)
|
|
5864
|
+
*/
|
|
5865
|
+
assetId?: string;
|
|
5866
|
+
/**
|
|
5867
|
+
* The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
|
|
5868
|
+
*/
|
|
5869
|
+
minUtxoAmount?: number;
|
|
5471
5870
|
/**
|
|
5472
5871
|
* Boolean filter to include spent UTXOs.
|
|
5473
5872
|
*/
|
|
5474
5873
|
includeSpent?: boolean;
|
|
5874
|
+
/**
|
|
5875
|
+
* Which property to sort by, in conjunction with sortOrder.
|
|
5876
|
+
*/
|
|
5877
|
+
sortBy?: UtxosSortByOption;
|
|
5475
5878
|
/**
|
|
5476
5879
|
* 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
5880
|
*/
|
|
@@ -5585,10 +5988,30 @@ type SignatureAggregationResponse = {
|
|
|
5585
5988
|
};
|
|
5586
5989
|
|
|
5587
5990
|
type SignatureAggregatorRequest = {
|
|
5588
|
-
|
|
5991
|
+
/**
|
|
5992
|
+
* Either Message or Justification must be provided. Hex-encoded message, optionally prefixed with "0x"
|
|
5993
|
+
*/
|
|
5994
|
+
message?: string;
|
|
5995
|
+
/**
|
|
5996
|
+
* Either Justification or Message must be provided. Hex-encoded justification, optionally prefixed with "0x"
|
|
5997
|
+
*/
|
|
5589
5998
|
justification?: string;
|
|
5999
|
+
/**
|
|
6000
|
+
* Optional hex or cb58 encoded signing subnet ID. If omitted will default to the subnetID of the source blockchain.
|
|
6001
|
+
*/
|
|
5590
6002
|
signingSubnetId?: string;
|
|
6003
|
+
/**
|
|
6004
|
+
* Optional. Integer from 0 to 100 representing the percentage of the weight of the signing Subnet that is required to sign the message. Defaults to 67 if omitted.
|
|
6005
|
+
*/
|
|
5591
6006
|
quorumPercentage?: number;
|
|
6007
|
+
/**
|
|
6008
|
+
* Optional. Integer from 0 to 100 representing the additional percentage of weight of the signing Subnet that will be attempted to add to the signature. QuorumPercentage+QuorumPercentageBuffer must be less than or equal to 100. Obtaining signatures from more validators can take a longer time, but signatures representing a large percentage of the Subnet weight are less prone to become invalid due to validator weight changes. Defaults to 0 if omitted.
|
|
6009
|
+
*/
|
|
6010
|
+
quorumPercentageBuffer?: number;
|
|
6011
|
+
/**
|
|
6012
|
+
* Optional P-Chain height for validator set selection. If 0 (default), validators at proposed height will be used. If non-zero, validators at the specified P-Chain height will be used for signature aggregation.
|
|
6013
|
+
*/
|
|
6014
|
+
pChainHeight?: number;
|
|
5592
6015
|
};
|
|
5593
6016
|
|
|
5594
6017
|
declare class SignatureAggregatorService {
|
|
@@ -5756,7 +6179,7 @@ type ListTeleporterMessagesResponse = {
|
|
|
5756
6179
|
* 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
6180
|
*/
|
|
5758
6181
|
nextPageToken?: string;
|
|
5759
|
-
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
|
|
6182
|
+
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
5760
6183
|
};
|
|
5761
6184
|
|
|
5762
6185
|
declare class TeleporterService {
|
|
@@ -5854,28 +6277,23 @@ type AddressesChangeRequest = {
|
|
|
5854
6277
|
};
|
|
5855
6278
|
|
|
5856
6279
|
type AddressActivityMetadata = {
|
|
5857
|
-
/**
|
|
5858
|
-
* Ethereum address(es) for the address_activity event type
|
|
5859
|
-
*/
|
|
5860
|
-
addresses: Array<string>;
|
|
5861
6280
|
/**
|
|
5862
6281
|
* Array of hexadecimal strings of the event signatures.
|
|
5863
6282
|
*/
|
|
5864
6283
|
eventSignatures?: Array<string>;
|
|
6284
|
+
/**
|
|
6285
|
+
* 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.
|
|
6286
|
+
*/
|
|
6287
|
+
addresses: Array<string>;
|
|
5865
6288
|
};
|
|
5866
6289
|
|
|
5867
|
-
declare enum PrimaryNetworkType {
|
|
5868
|
-
MAINNET = "mainnet",
|
|
5869
|
-
FUJI = "fuji"
|
|
5870
|
-
}
|
|
5871
|
-
|
|
5872
6290
|
type EVMAddressActivityRequest = {
|
|
5873
6291
|
eventType: EVMAddressActivityRequest.eventType;
|
|
5874
6292
|
url: string;
|
|
5875
|
-
chainId: string;
|
|
5876
|
-
network?: PrimaryNetworkType;
|
|
5877
6293
|
name?: string;
|
|
5878
6294
|
description?: string;
|
|
6295
|
+
chainId: string;
|
|
6296
|
+
metadata: AddressActivityMetadata;
|
|
5879
6297
|
/**
|
|
5880
6298
|
* Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
|
|
5881
6299
|
*/
|
|
@@ -5884,7 +6302,6 @@ type EVMAddressActivityRequest = {
|
|
|
5884
6302
|
* Whether to include logs in the webhook payload.
|
|
5885
6303
|
*/
|
|
5886
6304
|
includeLogs?: boolean;
|
|
5887
|
-
metadata: AddressActivityMetadata;
|
|
5888
6305
|
};
|
|
5889
6306
|
declare namespace EVMAddressActivityRequest {
|
|
5890
6307
|
enum eventType {
|
|
@@ -5892,10 +6309,8 @@ declare namespace EVMAddressActivityRequest {
|
|
|
5892
6309
|
}
|
|
5893
6310
|
}
|
|
5894
6311
|
|
|
5895
|
-
declare enum
|
|
5896
|
-
ADDRESS_ACTIVITY = "address_activity"
|
|
5897
|
-
PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
|
|
5898
|
-
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6312
|
+
declare enum AddressActivityEventType {
|
|
6313
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
5899
6314
|
}
|
|
5900
6315
|
|
|
5901
6316
|
declare enum WebhookStatusType {
|
|
@@ -5905,13 +6320,13 @@ declare enum WebhookStatusType {
|
|
|
5905
6320
|
|
|
5906
6321
|
type EVMAddressActivityResponse = {
|
|
5907
6322
|
id: string;
|
|
5908
|
-
eventType: EventType;
|
|
5909
6323
|
url: string;
|
|
5910
6324
|
chainId: string;
|
|
5911
6325
|
status: WebhookStatusType;
|
|
5912
6326
|
createdAt: number;
|
|
5913
6327
|
name: string;
|
|
5914
6328
|
description: string;
|
|
6329
|
+
eventType: AddressActivityEventType;
|
|
5915
6330
|
metadata: AddressActivityMetadata;
|
|
5916
6331
|
/**
|
|
5917
6332
|
* Whether to include traces in the webhook payload.
|
|
@@ -5932,30 +6347,28 @@ type ListWebhookAddressesResponse = {
|
|
|
5932
6347
|
totalAddresses: number;
|
|
5933
6348
|
};
|
|
5934
6349
|
|
|
6350
|
+
declare enum PrimaryNetworkAddressActivityEventType {
|
|
6351
|
+
PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
|
|
6352
|
+
}
|
|
6353
|
+
|
|
5935
6354
|
/**
|
|
5936
|
-
* The type of key
|
|
6355
|
+
* The type of key to monitor for the address activity event type.
|
|
5937
6356
|
*/
|
|
5938
|
-
declare enum
|
|
5939
|
-
ADDRESSES = "addresses"
|
|
5940
|
-
NODE_ID = "nodeId",
|
|
5941
|
-
SUBNET_ID = "subnetId"
|
|
6357
|
+
declare enum PlatformAddressActivityKeyType {
|
|
6358
|
+
ADDRESSES = "addresses"
|
|
5942
6359
|
}
|
|
5943
6360
|
|
|
5944
6361
|
/**
|
|
5945
6362
|
* Array of address activity sub-event types
|
|
5946
6363
|
*/
|
|
5947
|
-
declare enum
|
|
5948
|
-
|
|
5949
|
-
|
|
6364
|
+
declare enum PrimaryNetworkAddressActivitySubEventType {
|
|
6365
|
+
BALANCE_CHANGE = "balance_change",
|
|
6366
|
+
BALANCE_THRESHOLD = "balance_threshold",
|
|
5950
6367
|
REWARD_DISTRIBUTION = "reward_distribution"
|
|
5951
6368
|
}
|
|
5952
6369
|
|
|
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>;
|
|
6370
|
+
type PrimaryNetworkAddressActivitySubEvents = {
|
|
6371
|
+
addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
|
|
5959
6372
|
};
|
|
5960
6373
|
|
|
5961
6374
|
/**
|
|
@@ -5974,7 +6387,7 @@ declare enum CommonBalanceType {
|
|
|
5974
6387
|
ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
|
|
5975
6388
|
}
|
|
5976
6389
|
|
|
5977
|
-
type
|
|
6390
|
+
type PrimaryNetworkBalanceThresholdFilter = {
|
|
5978
6391
|
balanceType: CommonBalanceType;
|
|
5979
6392
|
/**
|
|
5980
6393
|
* Threshold for balance corresponding to balanceType in nAVAX
|
|
@@ -5982,20 +6395,71 @@ type PlatformBalanceThresholdFilter = {
|
|
|
5982
6395
|
balanceThreshold: string;
|
|
5983
6396
|
};
|
|
5984
6397
|
|
|
5985
|
-
type
|
|
5986
|
-
keyType: PlatformActivityKeyType;
|
|
6398
|
+
type PrimaryNetworkAddressActivityMetadata = {
|
|
5987
6399
|
/**
|
|
5988
|
-
* Array of
|
|
6400
|
+
* Array of hexadecimal strings of the event signatures.
|
|
6401
|
+
*/
|
|
6402
|
+
eventSignatures?: Array<string>;
|
|
6403
|
+
keyType: PlatformAddressActivityKeyType;
|
|
6404
|
+
/**
|
|
6405
|
+
* 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
6406
|
*/
|
|
5990
6407
|
keys: Array<string>;
|
|
5991
6408
|
/**
|
|
5992
6409
|
* Sub-events to monitor
|
|
5993
6410
|
*/
|
|
5994
|
-
subEvents
|
|
6411
|
+
subEvents: PrimaryNetworkAddressActivitySubEvents;
|
|
6412
|
+
/**
|
|
6413
|
+
* Balance threshold filter
|
|
6414
|
+
*/
|
|
6415
|
+
balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
|
|
6416
|
+
};
|
|
6417
|
+
|
|
6418
|
+
type PrimaryNetworkAddressActivityResponse = {
|
|
6419
|
+
id: string;
|
|
6420
|
+
url: string;
|
|
6421
|
+
chainId: string;
|
|
6422
|
+
status: WebhookStatusType;
|
|
6423
|
+
createdAt: number;
|
|
6424
|
+
name: string;
|
|
6425
|
+
description: string;
|
|
6426
|
+
eventType: PrimaryNetworkAddressActivityEventType;
|
|
6427
|
+
metadata: PrimaryNetworkAddressActivityMetadata;
|
|
6428
|
+
};
|
|
6429
|
+
|
|
6430
|
+
declare enum ValidatorActivityEventType {
|
|
6431
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6432
|
+
}
|
|
6433
|
+
|
|
6434
|
+
/**
|
|
6435
|
+
* The type of key to monitor for the validator activity event type.
|
|
6436
|
+
*/
|
|
6437
|
+
declare enum ValidatorActivityKeyType {
|
|
6438
|
+
NODE_ID = "nodeId",
|
|
6439
|
+
SUBNET_ID = "subnetId"
|
|
6440
|
+
}
|
|
6441
|
+
|
|
6442
|
+
type ValidatorActivitySubEvents = {
|
|
6443
|
+
/**
|
|
6444
|
+
* Array of validator activity sub-event types
|
|
6445
|
+
*/
|
|
6446
|
+
validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
|
|
6447
|
+
};
|
|
6448
|
+
|
|
6449
|
+
type ValidatorActivityMetadata = {
|
|
5995
6450
|
/**
|
|
5996
6451
|
* Array of hexadecimal strings of the event signatures.
|
|
5997
6452
|
*/
|
|
5998
6453
|
eventSignatures?: Array<string>;
|
|
6454
|
+
keyType: ValidatorActivityKeyType;
|
|
6455
|
+
/**
|
|
6456
|
+
* Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
|
|
6457
|
+
*/
|
|
6458
|
+
keys: Array<string>;
|
|
6459
|
+
/**
|
|
6460
|
+
* Sub-events to monitor
|
|
6461
|
+
*/
|
|
6462
|
+
subEvents: ValidatorActivitySubEvents;
|
|
5999
6463
|
/**
|
|
6000
6464
|
* Array of node IDs to filter the events
|
|
6001
6465
|
*/
|
|
@@ -6004,26 +6468,22 @@ type PlatformActivityMetadata = {
|
|
|
6004
6468
|
* Array of subnet IDs to filter the events
|
|
6005
6469
|
*/
|
|
6006
6470
|
subnetIds?: Array<string>;
|
|
6007
|
-
/**
|
|
6008
|
-
* Balance threshold filter
|
|
6009
|
-
*/
|
|
6010
|
-
balanceThresholdFilter?: PlatformBalanceThresholdFilter;
|
|
6011
6471
|
/**
|
|
6012
6472
|
* L1 validator fee balance threshold in nAVAX
|
|
6013
6473
|
*/
|
|
6014
6474
|
l1ValidatorFeeBalanceThreshold?: string;
|
|
6015
6475
|
};
|
|
6016
6476
|
|
|
6017
|
-
type
|
|
6477
|
+
type ValidatorActivityResponse = {
|
|
6018
6478
|
id: string;
|
|
6019
|
-
eventType: EventType;
|
|
6020
6479
|
url: string;
|
|
6021
6480
|
chainId: string;
|
|
6022
6481
|
status: WebhookStatusType;
|
|
6023
6482
|
createdAt: number;
|
|
6024
6483
|
name: string;
|
|
6025
6484
|
description: string;
|
|
6026
|
-
|
|
6485
|
+
eventType: ValidatorActivityEventType;
|
|
6486
|
+
metadata: ValidatorActivityMetadata;
|
|
6027
6487
|
};
|
|
6028
6488
|
|
|
6029
6489
|
type ListWebhooksResponse = {
|
|
@@ -6031,33 +6491,29 @@ type ListWebhooksResponse = {
|
|
|
6031
6491
|
* 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
6492
|
*/
|
|
6033
6493
|
nextPageToken?: string;
|
|
6034
|
-
webhooks: Array<(EVMAddressActivityResponse |
|
|
6494
|
+
webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6035
6495
|
};
|
|
6036
6496
|
|
|
6037
|
-
|
|
6038
|
-
|
|
6497
|
+
declare enum PrimaryNetworkType {
|
|
6498
|
+
MAINNET = "mainnet",
|
|
6499
|
+
FUJI = "fuji"
|
|
6500
|
+
}
|
|
6501
|
+
|
|
6502
|
+
type PrimaryNetworkAddressActivityRequest = {
|
|
6503
|
+
eventType: PrimaryNetworkAddressActivityRequest.eventType;
|
|
6039
6504
|
url: string;
|
|
6040
|
-
chainId: string;
|
|
6041
|
-
network?: PrimaryNetworkType;
|
|
6042
6505
|
name?: string;
|
|
6043
6506
|
description?: string;
|
|
6507
|
+
network: PrimaryNetworkType;
|
|
6508
|
+
chainId: string;
|
|
6044
6509
|
/**
|
|
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
|
|
6510
|
+
* Metadata for platform address activity event
|
|
6054
6511
|
*/
|
|
6055
|
-
metadata:
|
|
6512
|
+
metadata: PrimaryNetworkAddressActivityMetadata;
|
|
6056
6513
|
};
|
|
6057
|
-
declare namespace
|
|
6514
|
+
declare namespace PrimaryNetworkAddressActivityRequest {
|
|
6058
6515
|
enum eventType {
|
|
6059
|
-
|
|
6060
|
-
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6516
|
+
PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
|
|
6061
6517
|
}
|
|
6062
6518
|
}
|
|
6063
6519
|
|
|
@@ -6077,6 +6533,23 @@ type UpdateWebhookRequest = {
|
|
|
6077
6533
|
includeLogs?: boolean;
|
|
6078
6534
|
};
|
|
6079
6535
|
|
|
6536
|
+
type ValidatorActivityRequest = {
|
|
6537
|
+
eventType: ValidatorActivityRequest.eventType;
|
|
6538
|
+
url: string;
|
|
6539
|
+
name?: string;
|
|
6540
|
+
description?: string;
|
|
6541
|
+
network: PrimaryNetworkType;
|
|
6542
|
+
/**
|
|
6543
|
+
* Metadata for platform validator activity event
|
|
6544
|
+
*/
|
|
6545
|
+
metadata: ValidatorActivityMetadata;
|
|
6546
|
+
};
|
|
6547
|
+
declare namespace ValidatorActivityRequest {
|
|
6548
|
+
enum eventType {
|
|
6549
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6550
|
+
}
|
|
6551
|
+
}
|
|
6552
|
+
|
|
6080
6553
|
declare enum WebhookStatus {
|
|
6081
6554
|
ACTIVE = "active",
|
|
6082
6555
|
INACTIVE = "inactive"
|
|
@@ -6092,8 +6565,8 @@ declare class WebhooksService {
|
|
|
6092
6565
|
* @throws ApiError
|
|
6093
6566
|
*/
|
|
6094
6567
|
createWebhook({ requestBody, }: {
|
|
6095
|
-
requestBody: (EVMAddressActivityRequest |
|
|
6096
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6568
|
+
requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
|
|
6569
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6097
6570
|
/**
|
|
6098
6571
|
* List webhooks
|
|
6099
6572
|
* Lists webhooks for the user.
|
|
@@ -6125,7 +6598,7 @@ declare class WebhooksService {
|
|
|
6125
6598
|
* The webhook identifier.
|
|
6126
6599
|
*/
|
|
6127
6600
|
id: string;
|
|
6128
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6601
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6129
6602
|
/**
|
|
6130
6603
|
* Deactivate a webhook
|
|
6131
6604
|
* Deactivates a webhook by ID.
|
|
@@ -6137,7 +6610,7 @@ declare class WebhooksService {
|
|
|
6137
6610
|
* The webhook identifier.
|
|
6138
6611
|
*/
|
|
6139
6612
|
id: string;
|
|
6140
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6613
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6141
6614
|
/**
|
|
6142
6615
|
* Update a webhook
|
|
6143
6616
|
* Updates an existing webhook.
|
|
@@ -6150,7 +6623,7 @@ declare class WebhooksService {
|
|
|
6150
6623
|
*/
|
|
6151
6624
|
id: string;
|
|
6152
6625
|
requestBody: UpdateWebhookRequest;
|
|
6153
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6626
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6154
6627
|
/**
|
|
6155
6628
|
* Generate or rotate a shared secret
|
|
6156
6629
|
* Generates a new shared secret or rotate an existing one.
|
|
@@ -6215,6 +6688,7 @@ declare class WebhooksService {
|
|
|
6215
6688
|
|
|
6216
6689
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
6217
6690
|
declare class Glacier {
|
|
6691
|
+
readonly avaxSupply: AvaxSupplyService;
|
|
6218
6692
|
readonly dataApiUsageMetrics: DataApiUsageMetricsService;
|
|
6219
6693
|
readonly default: DefaultService;
|
|
6220
6694
|
readonly evmBalances: EvmBalancesService;
|
|
@@ -6513,6 +6987,37 @@ type TooManyRequests = {
|
|
|
6513
6987
|
error: string;
|
|
6514
6988
|
};
|
|
6515
6989
|
|
|
6990
|
+
type WebhookInternalTransaction = {
|
|
6991
|
+
/**
|
|
6992
|
+
* Sender address
|
|
6993
|
+
*/
|
|
6994
|
+
from: string;
|
|
6995
|
+
/**
|
|
6996
|
+
* Recipient address
|
|
6997
|
+
*/
|
|
6998
|
+
to: string;
|
|
6999
|
+
/**
|
|
7000
|
+
* Internal transaction type
|
|
7001
|
+
*/
|
|
7002
|
+
internalTxType: string;
|
|
7003
|
+
/**
|
|
7004
|
+
* Value transferred
|
|
7005
|
+
*/
|
|
7006
|
+
value: string;
|
|
7007
|
+
/**
|
|
7008
|
+
* Gas used
|
|
7009
|
+
*/
|
|
7010
|
+
gasUsed: string;
|
|
7011
|
+
/**
|
|
7012
|
+
* Gas limit
|
|
7013
|
+
*/
|
|
7014
|
+
gasLimit: string;
|
|
7015
|
+
/**
|
|
7016
|
+
* Transaction hash
|
|
7017
|
+
*/
|
|
7018
|
+
transactionHash: string;
|
|
7019
|
+
};
|
|
7020
|
+
|
|
6516
7021
|
type Transaction = {
|
|
6517
7022
|
/**
|
|
6518
7023
|
* Block hash of the transaction
|
|
@@ -6617,7 +7122,7 @@ type Transaction = {
|
|
|
6617
7122
|
/**
|
|
6618
7123
|
* Internal transactions (optional)
|
|
6619
7124
|
*/
|
|
6620
|
-
internalTransactions?: Array<
|
|
7125
|
+
internalTransactions?: Array<WebhookInternalTransaction>;
|
|
6621
7126
|
/**
|
|
6622
7127
|
* Access list (optional)
|
|
6623
7128
|
*/
|
|
@@ -6681,4 +7186,16 @@ declare namespace WebhookAddressActivityResponse {
|
|
|
6681
7186
|
}
|
|
6682
7187
|
}
|
|
6683
7188
|
|
|
6684
|
-
|
|
7189
|
+
declare class FetchHttpRequest extends BaseHttpRequest {
|
|
7190
|
+
constructor(config: OpenAPIConfig);
|
|
7191
|
+
/**
|
|
7192
|
+
* Request method
|
|
7193
|
+
* @param options The request options from the service
|
|
7194
|
+
* @returns CancelablePromise<T>
|
|
7195
|
+
* @throws ApiError
|
|
7196
|
+
*/
|
|
7197
|
+
request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
7198
|
+
}
|
|
7199
|
+
|
|
7200
|
+
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 };
|
|
7201
|
+
export type { AccessListData, AccessRequest, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiRequestOptions, AssetAmount, AssetWithPriceInfo, AvaxSupplyResponse, 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, EvmGenesisAllocDto, EvmGenesisAllowListConfigDto, EvmGenesisConfigDto, EvmGenesisDto, EvmGenesisFeeConfigDto, EvmGenesisWarpConfigDto, 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 };
|