@avalabs/glacier-sdk 3.1.0-canary.939f97f.0 → 3.1.0-canary.96ccf93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +2181 -354
- package/esm/generated/Glacier.d.ts +6 -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 +12 -0
- package/esm/generated/models/AccessRequest.d.ts +12 -0
- package/esm/generated/models/ActiveValidatorDetails.d.ts +26 -0
- package/esm/generated/models/AddressActivityEventType.d.ts +5 -0
- package/esm/generated/models/{EventType.js → AddressActivityEventType.js} +1 -1
- 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 +9 -2
- 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/CommonBalanceType.d.ts +17 -0
- package/esm/generated/models/CommonBalanceType.js +1 -0
- package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -0
- package/esm/generated/models/CompletedValidatorDetails.d.ts +3 -0
- 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/DeliveredIcmMessage.d.ts +31 -0
- package/esm/generated/models/DeliveredIcmMessage.js +1 -0
- package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.d.ts +29 -0
- package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.js +1 -0
- package/esm/generated/models/ERCToken.d.ts +24 -0
- package/esm/generated/models/ERCTransfer.d.ts +50 -0
- package/esm/generated/models/{CreateWebhookRequest.d.ts → EVMAddressActivityRequest.d.ts} +10 -6
- package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
- package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +10 -10
- package/esm/generated/models/EVMInput.d.ts +1 -1
- package/esm/generated/models/EVMOutput.d.ts +1 -1
- package/esm/generated/models/Erc1155Contract.d.ts +1 -1
- package/esm/generated/models/Erc1155TokenMetadata.d.ts +1 -1
- package/esm/generated/models/Erc1155Transfer.d.ts +2 -2
- package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
- package/esm/generated/models/Erc20Contract.d.ts +1 -1
- package/esm/generated/models/Erc20TokenBalance.d.ts +11 -0
- package/esm/generated/models/Erc20TokenBalance.js +1 -1
- package/esm/generated/models/Erc20Transfer.d.ts +2 -2
- package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
- package/esm/generated/models/Erc721Contract.d.ts +1 -1
- package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
- package/esm/generated/models/Erc721Transfer.d.ts +2 -2
- package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
- package/esm/generated/models/EvmBlock.d.ts +14 -2
- 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 +14 -2
- package/esm/generated/models/Geolocation.d.ts +24 -0
- package/esm/generated/models/GetChainResponse.d.ts +1 -1
- package/esm/generated/models/GetEvmBlockResponse.d.ts +14 -2
- 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 +2 -2
- package/esm/generated/models/HealthCheckResultDto.d.ts +17 -0
- package/esm/generated/models/HealthCheckResultDto.js +1 -0
- package/esm/generated/models/HealthIndicatorResultDto.d.ts +17 -0
- package/esm/generated/models/HealthIndicatorResultDto.js +1 -0
- package/esm/generated/models/HistoricalReward.d.ts +1 -1
- package/esm/generated/models/IcmDestinationTransaction.d.ts +9 -0
- package/esm/generated/models/IcmReceipt.d.ts +6 -0
- package/esm/generated/models/IcmRewardDetails.d.ts +37 -0
- package/esm/generated/models/IcmRewardDetails.js +1 -0
- package/esm/generated/models/IcmSourceTransaction.d.ts +7 -0
- package/esm/generated/models/ImageAsset.d.ts +1 -1
- package/esm/generated/models/InternalServerError.d.ts +1 -1
- package/esm/generated/models/InternalTransaction.d.ts +2 -2
- package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
- package/esm/generated/models/InternalTransactionOpCall.d.ts +1 -0
- package/esm/generated/models/InternalTransactionOpCall.js +1 -1
- package/esm/generated/models/L1ValidatorDetailsFull.d.ts +5 -1
- package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +6 -2
- 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 +6 -1
- package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc20BalancesResponse.d.ts +6 -1
- package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc721BalancesResponse.d.ts +6 -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 +13 -0
- 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 +5 -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 +40 -0
- 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 +14 -2
- package/esm/generated/models/Network.d.ts +1 -2
- package/esm/generated/models/Network.js +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 +20 -0
- 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 +5 -0
- package/esm/generated/models/OperationStatusResponse.d.ts +2 -2
- 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 +27 -10
- package/esm/generated/models/PChainUtxo.d.ts +32 -1
- package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -0
- package/esm/generated/models/PendingIcmMessage.d.ts +29 -0
- package/esm/generated/models/PendingIcmMessage.js +1 -0
- package/esm/generated/models/PendingReward.d.ts +1 -1
- package/esm/generated/models/PendingValidatorDetails.d.ts +3 -0
- 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/PrimaryNetworkBalanceThresholdFilter.d.ts +11 -0
- 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/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +10 -0
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -0
- package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.d.ts +8 -0
- package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js +1 -0
- package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.d.ts +27 -0
- package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js +1 -0
- package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
- package/esm/generated/models/PrimaryNetworkType.js +1 -0
- package/esm/generated/models/ProposerDetails.d.ts +1 -1
- package/esm/generated/models/RemovedValidatorDetails.d.ts +9 -0
- 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/RpcUsageMetricsGroupByEnum.d.ts +7 -0
- package/esm/generated/models/RpcUsageMetricsGroupByEnum.js +1 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +8 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.js +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 +10 -1
- package/esm/generated/models/Subnet.d.ts +7 -3
- package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
- package/esm/generated/models/SubnetRpcTimeIntervalGranularity.d.ts +8 -0
- package/esm/generated/models/SubnetRpcTimeIntervalGranularity.js +1 -0
- package/esm/generated/models/{RpcUsageMetricsResponseDTO.d.ts → SubnetRpcUsageMetricsResponseDTO.d.ts} +6 -6
- package/esm/generated/models/SubscribeRequest.d.ts +16 -0
- package/esm/generated/models/SubscriptionsRequest.d.ts +8 -0
- package/esm/generated/models/SubscriptionsResponse.d.ts +14 -0
- package/esm/generated/models/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 +121 -0
- package/esm/generated/models/TransactionDetails.d.ts +2 -2
- package/esm/generated/models/TransactionEvent.d.ts +15 -0
- 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/UnknownContract.d.ts +1 -1
- package/esm/generated/models/UnsubscribeRequest.d.ts +12 -0
- 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/UtxoType.d.ts +3 -0
- package/esm/generated/models/UtxosSortByOption.d.ts +6 -0
- package/esm/generated/models/UtxosSortByOption.js +1 -0
- package/esm/generated/models/ValidatorActivityEventType.d.ts +5 -0
- package/esm/generated/models/ValidatorActivityEventType.js +1 -0
- package/esm/generated/models/ValidatorActivityKeyType.d.ts +9 -0
- package/esm/generated/models/ValidatorActivityKeyType.js +1 -0
- package/esm/generated/models/ValidatorActivityMetadata.d.ts +32 -0
- package/esm/generated/models/ValidatorActivityRequest.d.ts +21 -0
- package/esm/generated/models/ValidatorActivityRequest.js +1 -0
- package/esm/generated/models/ValidatorActivityResponse.d.ts +17 -0
- package/esm/generated/models/ValidatorActivitySubEvents.d.ts +8 -0
- package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
- package/esm/generated/models/ValidatorsDetails.d.ts +7 -1
- package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
- package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
- 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/DataApiUsageMetricsService.d.ts +119 -20
- package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
- package/esm/generated/services/EvmBalancesService.d.ts +4 -4
- package/esm/generated/services/EvmBlocksService.d.ts +21 -0
- package/esm/generated/services/EvmBlocksService.js +1 -1
- package/esm/generated/services/EvmChainsService.d.ts +69 -4
- package/esm/generated/services/EvmChainsService.js +1 -1
- package/esm/generated/services/EvmTransactionsService.d.ts +35 -2
- package/esm/generated/services/EvmTransactionsService.js +1 -1
- package/esm/generated/services/HealthCheckService.d.ts +11 -7
- package/esm/generated/services/HealthCheckService.js +1 -1
- package/esm/generated/services/InterchainMessagingService.d.ts +90 -0
- package/esm/generated/services/InterchainMessagingService.js +1 -0
- package/esm/generated/services/NotificationsService.d.ts +51 -0
- package/esm/generated/services/NotificationsService.js +1 -0
- package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +18 -2
- package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
- package/esm/generated/services/PrimaryNetworkService.d.ts +22 -5
- 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/SignatureAggregatorService.d.ts +22 -1
- package/esm/generated/services/SignatureAggregatorService.js +1 -1
- package/esm/generated/services/TeleporterService.d.ts +12 -6
- package/esm/generated/services/WebhooksService.d.ts +28 -24
- package/esm/generated/services/WebhooksService.js +1 -1
- package/esm/index.d.ts +65 -4
- package/esm/index.js +1 -1
- package/package.json +13 -4
- package/dist/index.js +0 -1
- package/esm/generated/models/EventType.d.ts +0 -5
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.
|
|
@@ -148,6 +207,28 @@ type LogsResponseDTO = {
|
|
|
148
207
|
logs: Array<LogsFormat>;
|
|
149
208
|
};
|
|
150
209
|
|
|
210
|
+
declare enum Network {
|
|
211
|
+
MAINNET = "mainnet",
|
|
212
|
+
FUJI = "fuji",
|
|
213
|
+
TESTNET = "testnet"
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
declare enum PrimaryNetworkRpcMetricsGroupByEnum {
|
|
217
|
+
RPC_METHOD = "rpcMethod",
|
|
218
|
+
REQUEST_PATH = "requestPath",
|
|
219
|
+
RESPONSE_CODE = "responseCode",
|
|
220
|
+
COUNTRY = "country",
|
|
221
|
+
CONTINENT = "continent",
|
|
222
|
+
USER_AGENT = "userAgent"
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
declare enum PrimaryNetworkRpcTimeIntervalGranularity {
|
|
226
|
+
HOURLY = "hourly",
|
|
227
|
+
DAILY = "daily",
|
|
228
|
+
WEEKLY = "weekly",
|
|
229
|
+
MONTHLY = "monthly"
|
|
230
|
+
}
|
|
231
|
+
|
|
151
232
|
type RpcUsageMetricsValueAggregated = {
|
|
152
233
|
/**
|
|
153
234
|
* The total number of requests
|
|
@@ -173,6 +254,10 @@ type RpcUsageMetricsValueAggregated = {
|
|
|
173
254
|
* The number of invalid requests
|
|
174
255
|
*/
|
|
175
256
|
invalidRequests: number;
|
|
257
|
+
/**
|
|
258
|
+
* The number of API credits wasted on invalid requests
|
|
259
|
+
*/
|
|
260
|
+
apiCreditsWasted: number;
|
|
176
261
|
/**
|
|
177
262
|
* Column name used for data aggregation
|
|
178
263
|
*/
|
|
@@ -190,6 +275,10 @@ declare namespace RpcUsageMetricsValueAggregated {
|
|
|
190
275
|
RPC_METHOD = "rpcMethod",
|
|
191
276
|
RESPONSE_CODE = "responseCode",
|
|
192
277
|
RL_BYPASS_TOKEN = "rlBypassToken",
|
|
278
|
+
REQUEST_PATH = "requestPath",
|
|
279
|
+
COUNTRY = "country",
|
|
280
|
+
CONTINENT = "continent",
|
|
281
|
+
USER_AGENT = "userAgent",
|
|
193
282
|
NONE = "None"
|
|
194
283
|
}
|
|
195
284
|
}
|
|
@@ -205,19 +294,56 @@ type RpcMetrics = {
|
|
|
205
294
|
values: Array<RpcUsageMetricsValueAggregated>;
|
|
206
295
|
};
|
|
207
296
|
|
|
208
|
-
type
|
|
297
|
+
type PrimaryNetworkRpcUsageMetricsResponseDTO = {
|
|
209
298
|
/**
|
|
210
299
|
* Duration in which the metrics value is aggregated
|
|
211
300
|
*/
|
|
212
301
|
aggregateDuration: string;
|
|
213
302
|
/**
|
|
214
|
-
*
|
|
303
|
+
* Metrics values
|
|
215
304
|
*/
|
|
216
|
-
|
|
305
|
+
metrics: Array<RpcMetrics>;
|
|
306
|
+
/**
|
|
307
|
+
* Network type for which the metrics are aggregated
|
|
308
|
+
*/
|
|
309
|
+
network: PrimaryNetworkRpcUsageMetricsResponseDTO.network;
|
|
310
|
+
};
|
|
311
|
+
declare namespace PrimaryNetworkRpcUsageMetricsResponseDTO {
|
|
312
|
+
/**
|
|
313
|
+
* Network type for which the metrics are aggregated
|
|
314
|
+
*/
|
|
315
|
+
enum network {
|
|
316
|
+
MAINNET = "mainnet",
|
|
317
|
+
TESTNET = "testnet"
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
declare enum RpcUsageMetricsGroupByEnum {
|
|
322
|
+
RPC_METHOD = "rpcMethod",
|
|
323
|
+
RESPONSE_CODE = "responseCode",
|
|
324
|
+
RL_BYPASS_TOKEN = "rlBypassToken"
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
declare enum SubnetRpcTimeIntervalGranularity {
|
|
328
|
+
HOURLY = "hourly",
|
|
329
|
+
DAILY = "daily",
|
|
330
|
+
WEEKLY = "weekly",
|
|
331
|
+
MONTHLY = "monthly"
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
type SubnetRpcUsageMetricsResponseDTO = {
|
|
335
|
+
/**
|
|
336
|
+
* Duration in which the metrics value is aggregated
|
|
337
|
+
*/
|
|
338
|
+
aggregateDuration: string;
|
|
217
339
|
/**
|
|
218
340
|
* Metrics values
|
|
219
341
|
*/
|
|
220
342
|
metrics: Array<RpcMetrics>;
|
|
343
|
+
/**
|
|
344
|
+
* ChainId for which the metrics are aggregated
|
|
345
|
+
*/
|
|
346
|
+
chainId: string;
|
|
221
347
|
};
|
|
222
348
|
|
|
223
349
|
declare enum TimeIntervalGranularityExtended {
|
|
@@ -323,7 +449,7 @@ declare class DataApiUsageMetricsService {
|
|
|
323
449
|
* @returns UsageMetricsResponseDTO Successful response
|
|
324
450
|
* @throws ApiError
|
|
325
451
|
*/
|
|
326
|
-
getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId,
|
|
452
|
+
getApiUsageMetrics({ orgId, startTimestamp, endTimestamp, timeInterval, groupBy, chainId, responseCode, requestType, apiKeyId, requestPath, }: {
|
|
327
453
|
/**
|
|
328
454
|
* Organization ID to fetch usage metrics for
|
|
329
455
|
*/
|
|
@@ -348,10 +474,6 @@ declare class DataApiUsageMetricsService {
|
|
|
348
474
|
* Filter data by chain ID.
|
|
349
475
|
*/
|
|
350
476
|
chainId?: string;
|
|
351
|
-
/**
|
|
352
|
-
* Filter data by request path.
|
|
353
|
-
*/
|
|
354
|
-
requestPath?: string;
|
|
355
477
|
/**
|
|
356
478
|
* Filter data by response status code.
|
|
357
479
|
*/
|
|
@@ -364,6 +486,10 @@ declare class DataApiUsageMetricsService {
|
|
|
364
486
|
* Filter data by API key ID.
|
|
365
487
|
*/
|
|
366
488
|
apiKeyId?: string;
|
|
489
|
+
/**
|
|
490
|
+
* Filter data by request path.
|
|
491
|
+
*/
|
|
492
|
+
requestPath?: string;
|
|
367
493
|
}): CancelablePromise<UsageMetricsResponseDTO>;
|
|
368
494
|
/**
|
|
369
495
|
* Get logs for requests made by client
|
|
@@ -371,7 +497,7 @@ declare class DataApiUsageMetricsService {
|
|
|
371
497
|
* @returns LogsResponseDTO Successful response
|
|
372
498
|
* @throws ApiError
|
|
373
499
|
*/
|
|
374
|
-
getApiLogs({ orgId, startTimestamp, endTimestamp, chainId,
|
|
500
|
+
getApiLogs({ orgId, startTimestamp, endTimestamp, chainId, responseCode, requestType, apiKeyId, requestPath, pageToken, pageSize, }: {
|
|
375
501
|
/**
|
|
376
502
|
* Organization ID to fetch usage metrics for
|
|
377
503
|
*/
|
|
@@ -388,10 +514,6 @@ declare class DataApiUsageMetricsService {
|
|
|
388
514
|
* Filter data by chain ID.
|
|
389
515
|
*/
|
|
390
516
|
chainId?: string;
|
|
391
|
-
/**
|
|
392
|
-
* Filter data by request path.
|
|
393
|
-
*/
|
|
394
|
-
requestPath?: string;
|
|
395
517
|
/**
|
|
396
518
|
* Filter data by response status code.
|
|
397
519
|
*/
|
|
@@ -404,6 +526,10 @@ declare class DataApiUsageMetricsService {
|
|
|
404
526
|
* Filter data by API key ID.
|
|
405
527
|
*/
|
|
406
528
|
apiKeyId?: string;
|
|
529
|
+
/**
|
|
530
|
+
* Filter data by request path.
|
|
531
|
+
*/
|
|
532
|
+
requestPath?: string;
|
|
407
533
|
/**
|
|
408
534
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
409
535
|
*/
|
|
@@ -415,15 +541,16 @@ declare class DataApiUsageMetricsService {
|
|
|
415
541
|
}): CancelablePromise<LogsResponseDTO>;
|
|
416
542
|
/**
|
|
417
543
|
* Get usage metrics for the Subnet RPC
|
|
418
|
-
* Gets metrics for Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
419
|
-
* @returns
|
|
544
|
+
* Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
545
|
+
* @returns SubnetRpcUsageMetricsResponseDTO Successful response
|
|
420
546
|
* @throws ApiError
|
|
421
547
|
*/
|
|
422
|
-
|
|
548
|
+
getSubnetRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
|
|
423
549
|
/**
|
|
424
|
-
*
|
|
550
|
+
* Time interval granularity for data aggregation for subnet
|
|
551
|
+
* rpc metrics
|
|
425
552
|
*/
|
|
426
|
-
timeInterval?:
|
|
553
|
+
timeInterval?: SubnetRpcTimeIntervalGranularity;
|
|
427
554
|
/**
|
|
428
555
|
* The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
|
|
429
556
|
*/
|
|
@@ -435,15 +562,54 @@ declare class DataApiUsageMetricsService {
|
|
|
435
562
|
/**
|
|
436
563
|
* Query param for the criterion used for grouping metrics
|
|
437
564
|
*/
|
|
438
|
-
groupBy?:
|
|
565
|
+
groupBy?: RpcUsageMetricsGroupByEnum;
|
|
439
566
|
/**
|
|
440
567
|
* Filter data by chain ID.
|
|
441
568
|
*/
|
|
442
569
|
chainId?: string;
|
|
443
570
|
/**
|
|
444
|
-
* Filter data by
|
|
571
|
+
* Filter data by response status code.
|
|
445
572
|
*/
|
|
446
|
-
|
|
573
|
+
responseCode?: string;
|
|
574
|
+
/**
|
|
575
|
+
* Filter data by RPC method.
|
|
576
|
+
*/
|
|
577
|
+
rpcMethod?: string;
|
|
578
|
+
/**
|
|
579
|
+
* Filter data by Rl Bypass API Token.
|
|
580
|
+
*/
|
|
581
|
+
rlBypassApiToken?: string;
|
|
582
|
+
}): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
|
|
583
|
+
/**
|
|
584
|
+
* @deprecated
|
|
585
|
+
* **[Deprecated]** Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
586
|
+
*
|
|
587
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/subnetRpcUsageMetrics endpoint instead**.
|
|
588
|
+
* @returns SubnetRpcUsageMetricsResponseDTO Successful response
|
|
589
|
+
* @throws ApiError
|
|
590
|
+
*/
|
|
591
|
+
getRpcUsageMetrics({ timeInterval, startTimestamp, endTimestamp, groupBy, chainId, responseCode, rpcMethod, rlBypassApiToken, }: {
|
|
592
|
+
/**
|
|
593
|
+
* Time interval granularity for data aggregation for subnet
|
|
594
|
+
* rpc metrics
|
|
595
|
+
*/
|
|
596
|
+
timeInterval?: SubnetRpcTimeIntervalGranularity;
|
|
597
|
+
/**
|
|
598
|
+
* The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
|
|
599
|
+
*/
|
|
600
|
+
startTimestamp?: number;
|
|
601
|
+
/**
|
|
602
|
+
* The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
|
|
603
|
+
*/
|
|
604
|
+
endTimestamp?: number;
|
|
605
|
+
/**
|
|
606
|
+
* Query param for the criterion used for grouping metrics
|
|
607
|
+
*/
|
|
608
|
+
groupBy?: RpcUsageMetricsGroupByEnum;
|
|
609
|
+
/**
|
|
610
|
+
* Filter data by chain ID.
|
|
611
|
+
*/
|
|
612
|
+
chainId?: string;
|
|
447
613
|
/**
|
|
448
614
|
* Filter data by response status code.
|
|
449
615
|
*/
|
|
@@ -456,7 +622,60 @@ declare class DataApiUsageMetricsService {
|
|
|
456
622
|
* Filter data by Rl Bypass API Token.
|
|
457
623
|
*/
|
|
458
624
|
rlBypassApiToken?: string;
|
|
459
|
-
}): CancelablePromise<
|
|
625
|
+
}): CancelablePromise<SubnetRpcUsageMetricsResponseDTO>;
|
|
626
|
+
/**
|
|
627
|
+
* Get usage metrics for the Primary Network RPC
|
|
628
|
+
* Gets metrics for public Primary Network RPC usage over a specified time interval aggregated at the specified time-duration granularity.
|
|
629
|
+
* @returns PrimaryNetworkRpcUsageMetricsResponseDTO Successful response
|
|
630
|
+
* @throws ApiError
|
|
631
|
+
*/
|
|
632
|
+
getPrimaryNetworkRpcUsageMetrics({ network, timeInterval, startTimestamp, endTimestamp, groupBy, responseCode, requestPath, country, continent, userAgent, rpcMethod, }: {
|
|
633
|
+
/**
|
|
634
|
+
* Either mainnet or testnet/fuji.
|
|
635
|
+
*/
|
|
636
|
+
network: Network;
|
|
637
|
+
/**
|
|
638
|
+
* Time interval granularity for data aggregation for subnet
|
|
639
|
+
* rpc metrics
|
|
640
|
+
*/
|
|
641
|
+
timeInterval?: PrimaryNetworkRpcTimeIntervalGranularity;
|
|
642
|
+
/**
|
|
643
|
+
* The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.
|
|
644
|
+
*/
|
|
645
|
+
startTimestamp?: number;
|
|
646
|
+
/**
|
|
647
|
+
* The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.
|
|
648
|
+
*/
|
|
649
|
+
endTimestamp?: number;
|
|
650
|
+
/**
|
|
651
|
+
* Query param for the criterion used for grouping metrics
|
|
652
|
+
*/
|
|
653
|
+
groupBy?: PrimaryNetworkRpcMetricsGroupByEnum;
|
|
654
|
+
/**
|
|
655
|
+
* Filter data by response status code.
|
|
656
|
+
*/
|
|
657
|
+
responseCode?: string;
|
|
658
|
+
/**
|
|
659
|
+
* Filter data by request path.
|
|
660
|
+
*/
|
|
661
|
+
requestPath?: string;
|
|
662
|
+
/**
|
|
663
|
+
* Filter data by Country. Input must be a valid ISO 3166-1 alpha-2 country code. "XX" - Represents clients without country code data. "T1" - Represents clients using the Tor network.
|
|
664
|
+
*/
|
|
665
|
+
country?: string;
|
|
666
|
+
/**
|
|
667
|
+
* Filter data by Continent. Input must be a valid ISO 3166-1 alpha-2 continent code.
|
|
668
|
+
*/
|
|
669
|
+
continent?: string;
|
|
670
|
+
/**
|
|
671
|
+
* Filter data by User Agent.
|
|
672
|
+
*/
|
|
673
|
+
userAgent?: string;
|
|
674
|
+
/**
|
|
675
|
+
* Filter data by RPC method.
|
|
676
|
+
*/
|
|
677
|
+
rpcMethod?: string;
|
|
678
|
+
}): CancelablePromise<PrimaryNetworkRpcUsageMetricsResponseDTO>;
|
|
460
679
|
}
|
|
461
680
|
|
|
462
681
|
declare class DefaultService {
|
|
@@ -655,6 +874,10 @@ type ListErc1155BalancesResponse = {
|
|
|
655
874
|
* 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.
|
|
656
875
|
*/
|
|
657
876
|
nextPageToken?: string;
|
|
877
|
+
/**
|
|
878
|
+
* The native token balance for the address.
|
|
879
|
+
*/
|
|
880
|
+
nativeTokenBalance: NativeTokenBalance;
|
|
658
881
|
/**
|
|
659
882
|
* The list of ERC-1155 token balances for the address.
|
|
660
883
|
*/
|
|
@@ -699,11 +922,22 @@ type Erc20TokenBalance = {
|
|
|
699
922
|
* The monetary value of the balance, if a price is available for the token.
|
|
700
923
|
*/
|
|
701
924
|
balanceValue?: Money;
|
|
925
|
+
/**
|
|
926
|
+
* Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
|
|
927
|
+
*/
|
|
928
|
+
tokenReputation: Erc20TokenBalance.tokenReputation;
|
|
702
929
|
};
|
|
703
930
|
declare namespace Erc20TokenBalance {
|
|
704
931
|
enum ercType {
|
|
705
932
|
ERC_20 = "ERC-20"
|
|
706
933
|
}
|
|
934
|
+
/**
|
|
935
|
+
* Indicates the reputation of the token based on a security analysis. 'Benign' suggests the token is likely safe, while 'Malicious' indicates potential security risks. This field is nullable and is only populated for tokens on the C-Chain. Possible values are 'Benign', 'Malicious', or null if the reputation is unknown.
|
|
936
|
+
*/
|
|
937
|
+
enum tokenReputation {
|
|
938
|
+
MALICIOUS = "Malicious",
|
|
939
|
+
BENIGN = "Benign"
|
|
940
|
+
}
|
|
707
941
|
}
|
|
708
942
|
|
|
709
943
|
type ListErc20BalancesResponse = {
|
|
@@ -711,6 +945,10 @@ type ListErc20BalancesResponse = {
|
|
|
711
945
|
* 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.
|
|
712
946
|
*/
|
|
713
947
|
nextPageToken?: string;
|
|
948
|
+
/**
|
|
949
|
+
* The native token balance for the address.
|
|
950
|
+
*/
|
|
951
|
+
nativeTokenBalance: NativeTokenBalance;
|
|
714
952
|
/**
|
|
715
953
|
* The list of ERC-20 token balances for the address.
|
|
716
954
|
*/
|
|
@@ -722,6 +960,10 @@ type ListErc721BalancesResponse = {
|
|
|
722
960
|
* 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.
|
|
723
961
|
*/
|
|
724
962
|
nextPageToken?: string;
|
|
963
|
+
/**
|
|
964
|
+
* The native token balance for the address.
|
|
965
|
+
*/
|
|
966
|
+
nativeTokenBalance: NativeTokenBalance;
|
|
725
967
|
/**
|
|
726
968
|
* The list of ERC-721 token balances for the address.
|
|
727
969
|
*/
|
|
@@ -785,7 +1027,7 @@ declare class EvmBalancesService {
|
|
|
785
1027
|
*/
|
|
786
1028
|
pageToken?: string;
|
|
787
1029
|
/**
|
|
788
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
1030
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
|
|
789
1031
|
*/
|
|
790
1032
|
pageSize?: number;
|
|
791
1033
|
/**
|
|
@@ -823,7 +1065,7 @@ declare class EvmBalancesService {
|
|
|
823
1065
|
*/
|
|
824
1066
|
pageToken?: string;
|
|
825
1067
|
/**
|
|
826
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
1068
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
|
|
827
1069
|
*/
|
|
828
1070
|
pageSize?: number;
|
|
829
1071
|
/**
|
|
@@ -859,7 +1101,7 @@ declare class EvmBalancesService {
|
|
|
859
1101
|
*/
|
|
860
1102
|
pageToken?: string;
|
|
861
1103
|
/**
|
|
862
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
1104
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
|
|
863
1105
|
*/
|
|
864
1106
|
pageSize?: number;
|
|
865
1107
|
/**
|
|
@@ -889,7 +1131,7 @@ declare class EvmBalancesService {
|
|
|
889
1131
|
*/
|
|
890
1132
|
pageToken?: string;
|
|
891
1133
|
/**
|
|
892
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
1134
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
|
|
893
1135
|
*/
|
|
894
1136
|
pageSize?: number;
|
|
895
1137
|
/**
|
|
@@ -900,14 +1142,26 @@ declare class EvmBalancesService {
|
|
|
900
1142
|
}
|
|
901
1143
|
|
|
902
1144
|
type GetEvmBlockResponse = {
|
|
1145
|
+
/**
|
|
1146
|
+
* The EVM chain ID on which the block was created.
|
|
1147
|
+
*/
|
|
1148
|
+
chainId: string;
|
|
903
1149
|
/**
|
|
904
1150
|
* The block number on the chain.
|
|
905
1151
|
*/
|
|
906
1152
|
blockNumber: string;
|
|
907
1153
|
/**
|
|
908
|
-
* The block
|
|
1154
|
+
* The block creation (proposal) timestamp in seconds
|
|
909
1155
|
*/
|
|
910
1156
|
blockTimestamp: number;
|
|
1157
|
+
/**
|
|
1158
|
+
* The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
|
|
1159
|
+
*/
|
|
1160
|
+
blockTimestampMilliseconds: number;
|
|
1161
|
+
/**
|
|
1162
|
+
* Minimum block delay in milliseconds. Available only after Granite upgrade.
|
|
1163
|
+
*/
|
|
1164
|
+
blockMinDelayExcess: number;
|
|
911
1165
|
/**
|
|
912
1166
|
* The block hash identifier.
|
|
913
1167
|
*/
|
|
@@ -944,14 +1198,26 @@ type GetEvmBlockResponse = {
|
|
|
944
1198
|
};
|
|
945
1199
|
|
|
946
1200
|
type EvmBlock = {
|
|
1201
|
+
/**
|
|
1202
|
+
* The EVM chain ID on which the block was created.
|
|
1203
|
+
*/
|
|
1204
|
+
chainId: string;
|
|
947
1205
|
/**
|
|
948
1206
|
* The block number on the chain.
|
|
949
1207
|
*/
|
|
950
1208
|
blockNumber: string;
|
|
951
1209
|
/**
|
|
952
|
-
* The block
|
|
1210
|
+
* The block creation (proposal) timestamp in seconds
|
|
953
1211
|
*/
|
|
954
1212
|
blockTimestamp: number;
|
|
1213
|
+
/**
|
|
1214
|
+
* The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
|
|
1215
|
+
*/
|
|
1216
|
+
blockTimestampMilliseconds: number;
|
|
1217
|
+
/**
|
|
1218
|
+
* Minimum block delay in milliseconds. Available only after Granite upgrade.
|
|
1219
|
+
*/
|
|
1220
|
+
blockMinDelayExcess: number;
|
|
955
1221
|
/**
|
|
956
1222
|
* The block hash identifier.
|
|
957
1223
|
*/
|
|
@@ -998,6 +1264,26 @@ type ListEvmBlocksResponse = {
|
|
|
998
1264
|
declare class EvmBlocksService {
|
|
999
1265
|
readonly httpRequest: BaseHttpRequest;
|
|
1000
1266
|
constructor(httpRequest: BaseHttpRequest);
|
|
1267
|
+
/**
|
|
1268
|
+
* List latest blocks across all supported EVM chains
|
|
1269
|
+
* Lists the most recent blocks from all supported EVM-compatible chains. The results can be filtered by network.
|
|
1270
|
+
* @returns ListEvmBlocksResponse Successful response
|
|
1271
|
+
* @throws ApiError
|
|
1272
|
+
*/
|
|
1273
|
+
listLatestBlocksAllChains({ pageToken, pageSize, network, }: {
|
|
1274
|
+
/**
|
|
1275
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1276
|
+
*/
|
|
1277
|
+
pageToken?: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1280
|
+
*/
|
|
1281
|
+
pageSize?: number;
|
|
1282
|
+
/**
|
|
1283
|
+
* Either mainnet or testnet/fuji.
|
|
1284
|
+
*/
|
|
1285
|
+
network?: Network;
|
|
1286
|
+
}): CancelablePromise<ListEvmBlocksResponse>;
|
|
1001
1287
|
/**
|
|
1002
1288
|
* List latest blocks
|
|
1003
1289
|
* Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
|
|
@@ -1129,47 +1415,174 @@ type ListChainsResponse = {
|
|
|
1129
1415
|
chains: Array<ChainInfo>;
|
|
1130
1416
|
};
|
|
1131
1417
|
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1418
|
+
/**
|
|
1419
|
+
* The contract call type. NATIVE_TRANSFER indicates a transfer of the native token without any smart-contract interaction. CONTRACT_CALL indicates a smart-contract interaction. CONTRACT_CREATION indicates a smart-contract creation.
|
|
1420
|
+
*/
|
|
1421
|
+
declare enum TransactionMethodType {
|
|
1422
|
+
NATIVE_TRANSFER = "NATIVE_TRANSFER",
|
|
1423
|
+
CONTRACT_CALL = "CONTRACT_CALL",
|
|
1424
|
+
CONTRACT_CREATION = "CONTRACT_CREATION"
|
|
1137
1425
|
}
|
|
1138
1426
|
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
constructor(httpRequest: BaseHttpRequest);
|
|
1427
|
+
type Method = {
|
|
1428
|
+
callType: TransactionMethodType;
|
|
1142
1429
|
/**
|
|
1143
|
-
*
|
|
1144
|
-
* Lists the supported EVM-compatible chains. Filterable by network.
|
|
1145
|
-
* @returns ListChainsResponse Successful response
|
|
1146
|
-
* @throws ApiError
|
|
1430
|
+
* The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
|
|
1147
1431
|
*/
|
|
1148
|
-
|
|
1149
|
-
/**
|
|
1150
|
-
* Either mainnet or testnet/fuji.
|
|
1151
|
-
*/
|
|
1152
|
-
network?: Network;
|
|
1153
|
-
/**
|
|
1154
|
-
* Filter by feature.
|
|
1155
|
-
*/
|
|
1156
|
-
feature?: ApiFeature;
|
|
1157
|
-
}): CancelablePromise<ListChainsResponse>;
|
|
1432
|
+
methodHash: string;
|
|
1158
1433
|
/**
|
|
1159
|
-
*
|
|
1160
|
-
* Gets chain information for the EVM-compatible chain if supported by the api.
|
|
1161
|
-
* @returns GetChainResponse Successful response
|
|
1162
|
-
* @throws ApiError
|
|
1434
|
+
* The contract method name including parameter types. If the `callType` is `NATIVE_TRANSFER` this is set to 'Native Transfer'. If the `callType` is `CONTRACT_CREATION` this is set to 'Contract Created'.
|
|
1163
1435
|
*/
|
|
1164
|
-
|
|
1436
|
+
methodName?: string;
|
|
1437
|
+
};
|
|
1438
|
+
|
|
1439
|
+
type RichAddress = {
|
|
1440
|
+
/**
|
|
1441
|
+
* The contract name.
|
|
1442
|
+
*/
|
|
1443
|
+
name?: string;
|
|
1444
|
+
/**
|
|
1445
|
+
* The contract symbol.
|
|
1446
|
+
*/
|
|
1447
|
+
symbol?: string;
|
|
1448
|
+
/**
|
|
1449
|
+
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
1450
|
+
*/
|
|
1451
|
+
decimals?: number;
|
|
1452
|
+
/**
|
|
1453
|
+
* The logo uri for the address.
|
|
1454
|
+
*/
|
|
1455
|
+
logoUri?: string;
|
|
1456
|
+
/**
|
|
1457
|
+
* A wallet or contract address in mixed-case checksum encoding.
|
|
1458
|
+
*/
|
|
1459
|
+
address: string;
|
|
1460
|
+
};
|
|
1461
|
+
|
|
1462
|
+
type NativeTransaction = {
|
|
1463
|
+
/**
|
|
1464
|
+
* The block number on the chain.
|
|
1465
|
+
*/
|
|
1466
|
+
blockNumber: string;
|
|
1467
|
+
/**
|
|
1468
|
+
* The block creation (proposal) timestamp in seconds
|
|
1469
|
+
*/
|
|
1470
|
+
blockTimestamp: number;
|
|
1471
|
+
/**
|
|
1472
|
+
* The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
|
|
1473
|
+
*/
|
|
1474
|
+
blockTimestampMilliseconds: number;
|
|
1475
|
+
/**
|
|
1476
|
+
* Minimum block delay in milliseconds. Available only after Granite upgrade.
|
|
1477
|
+
*/
|
|
1478
|
+
blockMinDelayExcess: number;
|
|
1479
|
+
/**
|
|
1480
|
+
* The block hash identifier.
|
|
1481
|
+
*/
|
|
1482
|
+
blockHash: string;
|
|
1483
|
+
/**
|
|
1484
|
+
* The EVM chain ID on which the transaction occured.
|
|
1485
|
+
*/
|
|
1486
|
+
chainId: string;
|
|
1487
|
+
/**
|
|
1488
|
+
* The index at which the transaction occured in the block (0-indexed).
|
|
1489
|
+
*/
|
|
1490
|
+
blockIndex: number;
|
|
1491
|
+
/**
|
|
1492
|
+
* The transaction hash identifier.
|
|
1493
|
+
*/
|
|
1494
|
+
txHash: string;
|
|
1495
|
+
/**
|
|
1496
|
+
* The transaction status, which is either 0 (failed) or 1 (successful).
|
|
1497
|
+
*/
|
|
1498
|
+
txStatus: string;
|
|
1499
|
+
/**
|
|
1500
|
+
* The transaction type.
|
|
1501
|
+
*/
|
|
1502
|
+
txType: number;
|
|
1503
|
+
/**
|
|
1504
|
+
* The gas limit set for the transaction.
|
|
1505
|
+
*/
|
|
1506
|
+
gasLimit: string;
|
|
1507
|
+
/**
|
|
1508
|
+
* The amount of gas used.
|
|
1509
|
+
*/
|
|
1510
|
+
gasUsed: string;
|
|
1511
|
+
/**
|
|
1512
|
+
* The gas price denominated by the number of decimals of the native token.
|
|
1513
|
+
*/
|
|
1514
|
+
gasPrice: string;
|
|
1515
|
+
/**
|
|
1516
|
+
* The nonce used by the sender of the transaction.
|
|
1517
|
+
*/
|
|
1518
|
+
nonce: string;
|
|
1519
|
+
from: RichAddress;
|
|
1520
|
+
to: RichAddress;
|
|
1521
|
+
method?: Method;
|
|
1522
|
+
value: string;
|
|
1523
|
+
};
|
|
1524
|
+
|
|
1525
|
+
type ListNativeTransactionsResponse = {
|
|
1526
|
+
/**
|
|
1527
|
+
* 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.
|
|
1528
|
+
*/
|
|
1529
|
+
nextPageToken?: string;
|
|
1530
|
+
transactions: Array<NativeTransaction>;
|
|
1531
|
+
};
|
|
1532
|
+
|
|
1533
|
+
declare enum TransactionStatus {
|
|
1534
|
+
FAILED = "failed",
|
|
1535
|
+
SUCCESS = "success"
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
declare class EvmChainsService {
|
|
1539
|
+
readonly httpRequest: BaseHttpRequest;
|
|
1540
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
1541
|
+
/**
|
|
1542
|
+
* List all chains associated with a given address
|
|
1543
|
+
* Lists the chains where the specified address has participated in transactions or ERC token transfers, either as a sender or receiver. The data is refreshed every 15 minutes.
|
|
1544
|
+
* @returns ListAddressChainsResponse Successful response
|
|
1545
|
+
* @throws ApiError
|
|
1546
|
+
*/
|
|
1547
|
+
listAddressChains({ address, }: {
|
|
1548
|
+
/**
|
|
1549
|
+
* A wallet address.
|
|
1550
|
+
*/
|
|
1551
|
+
address: string;
|
|
1552
|
+
}): CancelablePromise<ListAddressChainsResponse>;
|
|
1553
|
+
/**
|
|
1554
|
+
* List chains
|
|
1555
|
+
* Lists the AvaCloud supported EVM-compatible chains. Filterable by network.
|
|
1556
|
+
* @returns ListChainsResponse Successful response
|
|
1557
|
+
* @throws ApiError
|
|
1558
|
+
*/
|
|
1559
|
+
supportedChains({ network, feature, }: {
|
|
1560
|
+
/**
|
|
1561
|
+
* Either mainnet or testnet/fuji.
|
|
1562
|
+
*/
|
|
1563
|
+
network?: Network;
|
|
1564
|
+
/**
|
|
1565
|
+
* Filter by feature.
|
|
1566
|
+
*/
|
|
1567
|
+
feature?: ApiFeature;
|
|
1568
|
+
}): CancelablePromise<ListChainsResponse>;
|
|
1569
|
+
/**
|
|
1570
|
+
* Get chain information
|
|
1571
|
+
* Gets chain information for the EVM-compatible chain if supported by AvaCloud.
|
|
1572
|
+
* @returns GetChainResponse Successful response
|
|
1573
|
+
* @throws ApiError
|
|
1574
|
+
*/
|
|
1575
|
+
getChainInfo({ chainId, }: {
|
|
1165
1576
|
/**
|
|
1166
1577
|
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1167
1578
|
*/
|
|
1168
1579
|
chainId: string;
|
|
1169
1580
|
}): CancelablePromise<GetChainResponse>;
|
|
1170
1581
|
/**
|
|
1171
|
-
*
|
|
1172
|
-
* Gets
|
|
1582
|
+
* @deprecated
|
|
1583
|
+
* **[Deprecated]** Gets a list of all chains where the address was either a sender or receiver in a transaction or ERC transfer. The list is currently updated every 15 minutes.
|
|
1584
|
+
*
|
|
1585
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/address/:address/chains endpoint instead** .
|
|
1173
1586
|
* @returns ListAddressChainsResponse Successful response
|
|
1174
1587
|
* @throws ApiError
|
|
1175
1588
|
*/
|
|
@@ -1179,6 +1592,54 @@ declare class EvmChainsService {
|
|
|
1179
1592
|
*/
|
|
1180
1593
|
address: string;
|
|
1181
1594
|
}): CancelablePromise<ListAddressChainsResponse>;
|
|
1595
|
+
/**
|
|
1596
|
+
* @deprecated
|
|
1597
|
+
* **[Deprecated]** Lists the latest transactions for all supported EVM chains. Filterable by status.
|
|
1598
|
+
*
|
|
1599
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/transactions endpoint instead** .
|
|
1600
|
+
* @returns ListNativeTransactionsResponse Successful response
|
|
1601
|
+
* @throws ApiError
|
|
1602
|
+
*/
|
|
1603
|
+
listAllLatestTransactions({ pageToken, pageSize, network, status, }: {
|
|
1604
|
+
/**
|
|
1605
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1606
|
+
*/
|
|
1607
|
+
pageToken?: string;
|
|
1608
|
+
/**
|
|
1609
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1610
|
+
*/
|
|
1611
|
+
pageSize?: number;
|
|
1612
|
+
/**
|
|
1613
|
+
* Either mainnet or testnet/fuji.
|
|
1614
|
+
*/
|
|
1615
|
+
network?: Network;
|
|
1616
|
+
/**
|
|
1617
|
+
* A status filter for listed transactions.
|
|
1618
|
+
*/
|
|
1619
|
+
status?: TransactionStatus;
|
|
1620
|
+
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
1621
|
+
/**
|
|
1622
|
+
* @deprecated
|
|
1623
|
+
* **[Deprecated]** Lists the latest blocks for all supported EVM chains. Filterable by network.
|
|
1624
|
+
*
|
|
1625
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/blocks endpoint instead** .
|
|
1626
|
+
* @returns ListEvmBlocksResponse Successful response
|
|
1627
|
+
* @throws ApiError
|
|
1628
|
+
*/
|
|
1629
|
+
listAllLatestBlocks({ pageToken, pageSize, network, }: {
|
|
1630
|
+
/**
|
|
1631
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1632
|
+
*/
|
|
1633
|
+
pageToken?: string;
|
|
1634
|
+
/**
|
|
1635
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1636
|
+
*/
|
|
1637
|
+
pageSize?: number;
|
|
1638
|
+
/**
|
|
1639
|
+
* Either mainnet or testnet/fuji.
|
|
1640
|
+
*/
|
|
1641
|
+
network?: Network;
|
|
1642
|
+
}): CancelablePromise<ListEvmBlocksResponse>;
|
|
1182
1643
|
}
|
|
1183
1644
|
|
|
1184
1645
|
type ImageAsset = {
|
|
@@ -1350,7 +1811,7 @@ type Erc1155Contract = {
|
|
|
1350
1811
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
1351
1812
|
*/
|
|
1352
1813
|
address: string;
|
|
1353
|
-
deploymentDetails
|
|
1814
|
+
deploymentDetails?: ContractDeploymentDetails;
|
|
1354
1815
|
ercType: Erc1155Contract.ercType;
|
|
1355
1816
|
/**
|
|
1356
1817
|
* The contract symbol.
|
|
@@ -1381,7 +1842,7 @@ type Erc20Contract = {
|
|
|
1381
1842
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
1382
1843
|
*/
|
|
1383
1844
|
address: string;
|
|
1384
|
-
deploymentDetails
|
|
1845
|
+
deploymentDetails?: ContractDeploymentDetails;
|
|
1385
1846
|
ercType: Erc20Contract.ercType;
|
|
1386
1847
|
/**
|
|
1387
1848
|
* The contract symbol.
|
|
@@ -1416,7 +1877,7 @@ type Erc721Contract = {
|
|
|
1416
1877
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
1417
1878
|
*/
|
|
1418
1879
|
address: string;
|
|
1419
|
-
deploymentDetails
|
|
1880
|
+
deploymentDetails?: ContractDeploymentDetails;
|
|
1420
1881
|
ercType: Erc721Contract.ercType;
|
|
1421
1882
|
/**
|
|
1422
1883
|
* The contract symbol.
|
|
@@ -1446,7 +1907,7 @@ type UnknownContract = {
|
|
|
1446
1907
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
1447
1908
|
*/
|
|
1448
1909
|
address: string;
|
|
1449
|
-
deploymentDetails
|
|
1910
|
+
deploymentDetails?: ContractDeploymentDetails;
|
|
1450
1911
|
ercType: UnknownContract.ercType;
|
|
1451
1912
|
};
|
|
1452
1913
|
declare namespace UnknownContract {
|
|
@@ -1513,29 +1974,6 @@ declare namespace Erc1155Token {
|
|
|
1513
1974
|
}
|
|
1514
1975
|
}
|
|
1515
1976
|
|
|
1516
|
-
type RichAddress = {
|
|
1517
|
-
/**
|
|
1518
|
-
* The contract name.
|
|
1519
|
-
*/
|
|
1520
|
-
name?: string;
|
|
1521
|
-
/**
|
|
1522
|
-
* The contract symbol.
|
|
1523
|
-
*/
|
|
1524
|
-
symbol?: string;
|
|
1525
|
-
/**
|
|
1526
|
-
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
1527
|
-
*/
|
|
1528
|
-
decimals?: number;
|
|
1529
|
-
/**
|
|
1530
|
-
* The logo uri for the address.
|
|
1531
|
-
*/
|
|
1532
|
-
logoUri?: string;
|
|
1533
|
-
/**
|
|
1534
|
-
* A wallet or contract address in mixed-case checksum encoding.
|
|
1535
|
-
*/
|
|
1536
|
-
address: string;
|
|
1537
|
-
};
|
|
1538
|
-
|
|
1539
1977
|
type Erc1155TransferDetails = {
|
|
1540
1978
|
from: RichAddress;
|
|
1541
1979
|
to: RichAddress;
|
|
@@ -1620,40 +2058,31 @@ type Erc721TransferDetails = {
|
|
|
1620
2058
|
erc721Token: Erc721Token;
|
|
1621
2059
|
};
|
|
1622
2060
|
|
|
1623
|
-
/**
|
|
1624
|
-
* The contract call type. NATIVE_TRANSFER indicates a transfer of the native token without any smart-contract interaction. CONTRACT_CALL indicates a smart-contract interaction. CONTRACT_CREATION indicates a smart-contract creation.
|
|
1625
|
-
*/
|
|
1626
|
-
declare enum TransactionMethodType {
|
|
1627
|
-
NATIVE_TRANSFER = "NATIVE_TRANSFER",
|
|
1628
|
-
CONTRACT_CALL = "CONTRACT_CALL",
|
|
1629
|
-
CONTRACT_CREATION = "CONTRACT_CREATION"
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
|
-
type Method = {
|
|
1633
|
-
callType: TransactionMethodType;
|
|
1634
|
-
/**
|
|
1635
|
-
* The contract method hash identifier. The method hash is only set if the `callType` is `CONTRACT_CALL`.
|
|
1636
|
-
*/
|
|
1637
|
-
methodHash: string;
|
|
1638
|
-
/**
|
|
1639
|
-
* The contract method name including parameter types. If the `callType` is `NATIVE_TRANSFER` this is set to 'Native Transfer'. If the `callType` is `CONTRACT_CREATION` this is set to 'Contract Created'.
|
|
1640
|
-
*/
|
|
1641
|
-
methodName?: string;
|
|
1642
|
-
};
|
|
1643
|
-
|
|
1644
2061
|
type FullNativeTransactionDetails = {
|
|
1645
2062
|
/**
|
|
1646
2063
|
* The block number on the chain.
|
|
1647
2064
|
*/
|
|
1648
2065
|
blockNumber: string;
|
|
1649
2066
|
/**
|
|
1650
|
-
* The block
|
|
2067
|
+
* The block creation (proposal) timestamp in seconds
|
|
1651
2068
|
*/
|
|
1652
2069
|
blockTimestamp: number;
|
|
2070
|
+
/**
|
|
2071
|
+
* The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
|
|
2072
|
+
*/
|
|
2073
|
+
blockTimestampMilliseconds: number;
|
|
2074
|
+
/**
|
|
2075
|
+
* Minimum block delay in milliseconds. Available only after Granite upgrade.
|
|
2076
|
+
*/
|
|
2077
|
+
blockMinDelayExcess: number;
|
|
1653
2078
|
/**
|
|
1654
2079
|
* The block hash identifier.
|
|
1655
2080
|
*/
|
|
1656
2081
|
blockHash: string;
|
|
2082
|
+
/**
|
|
2083
|
+
* The EVM chain ID on which the transaction occured.
|
|
2084
|
+
*/
|
|
2085
|
+
chainId: string;
|
|
1657
2086
|
/**
|
|
1658
2087
|
* The index at which the transaction occured in the block (0-indexed).
|
|
1659
2088
|
*/
|
|
@@ -1704,6 +2133,7 @@ declare enum InternalTransactionOpCall {
|
|
|
1704
2133
|
CALL = "CALL",
|
|
1705
2134
|
CREATE = "CREATE",
|
|
1706
2135
|
CREATE2 = "CREATE2",
|
|
2136
|
+
CREATE3 = "CREATE3",
|
|
1707
2137
|
CALLCODE = "CALLCODE",
|
|
1708
2138
|
DELEGATECALL = "DELEGATECALL",
|
|
1709
2139
|
STATICCALL = "STATICCALL"
|
|
@@ -1745,11 +2175,11 @@ type TeleporterMessageInfo = {
|
|
|
1745
2175
|
/**
|
|
1746
2176
|
* chain id of the source chain. valid only for destination transactions
|
|
1747
2177
|
*/
|
|
1748
|
-
sourceChainId?:
|
|
2178
|
+
sourceChainId?: string;
|
|
1749
2179
|
/**
|
|
1750
2180
|
* chain id of the destination chain. valid only for source transactions
|
|
1751
2181
|
*/
|
|
1752
|
-
destinationChainId?:
|
|
2182
|
+
destinationChainId?: string;
|
|
1753
2183
|
};
|
|
1754
2184
|
|
|
1755
2185
|
type GetTransactionResponse = {
|
|
@@ -1766,7 +2196,7 @@ type GetTransactionResponse = {
|
|
|
1766
2196
|
*/
|
|
1767
2197
|
erc1155Transfers?: Array<Erc1155TransferDetails>;
|
|
1768
2198
|
/**
|
|
1769
|
-
* The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2
|
|
2199
|
+
* The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2/CREATE3 calls. Use a client provider to recieve a full debug trace of the transaction.
|
|
1770
2200
|
*/
|
|
1771
2201
|
internalTransactions?: Array<InternalTransactionDetails>;
|
|
1772
2202
|
networkTokenDetails: NetworkTokenDetails;
|
|
@@ -1791,7 +2221,7 @@ type Erc1155Transfer = {
|
|
|
1791
2221
|
*/
|
|
1792
2222
|
blockNumber: string;
|
|
1793
2223
|
/**
|
|
1794
|
-
* The block
|
|
2224
|
+
* The block creation (proposal) timestamp in seconds
|
|
1795
2225
|
*/
|
|
1796
2226
|
blockTimestamp: number;
|
|
1797
2227
|
/**
|
|
@@ -1823,7 +2253,7 @@ type Erc20Transfer = {
|
|
|
1823
2253
|
*/
|
|
1824
2254
|
blockNumber: string;
|
|
1825
2255
|
/**
|
|
1826
|
-
* The block
|
|
2256
|
+
* The block creation (proposal) timestamp in seconds
|
|
1827
2257
|
*/
|
|
1828
2258
|
blockTimestamp: number;
|
|
1829
2259
|
/**
|
|
@@ -1855,7 +2285,7 @@ type Erc721Transfer = {
|
|
|
1855
2285
|
*/
|
|
1856
2286
|
blockNumber: string;
|
|
1857
2287
|
/**
|
|
1858
|
-
* The block
|
|
2288
|
+
* The block creation (proposal) timestamp in seconds
|
|
1859
2289
|
*/
|
|
1860
2290
|
blockTimestamp: number;
|
|
1861
2291
|
/**
|
|
@@ -1886,7 +2316,7 @@ type InternalTransaction = {
|
|
|
1886
2316
|
*/
|
|
1887
2317
|
blockNumber: string;
|
|
1888
2318
|
/**
|
|
1889
|
-
* The block
|
|
2319
|
+
* The block creation (proposal) timestamp in seconds
|
|
1890
2320
|
*/
|
|
1891
2321
|
blockTimestamp: number;
|
|
1892
2322
|
/**
|
|
@@ -1917,97 +2347,38 @@ type ListInternalTransactionsResponse = {
|
|
|
1917
2347
|
transactions: Array<InternalTransaction>;
|
|
1918
2348
|
};
|
|
1919
2349
|
|
|
1920
|
-
type
|
|
2350
|
+
type TransactionDetails = {
|
|
1921
2351
|
/**
|
|
1922
|
-
* The
|
|
2352
|
+
* The native (top-level) transaction details.
|
|
1923
2353
|
*/
|
|
1924
|
-
|
|
2354
|
+
nativeTransaction: NativeTransaction;
|
|
1925
2355
|
/**
|
|
1926
|
-
* The
|
|
2356
|
+
* The list of ERC-20 transfers.
|
|
1927
2357
|
*/
|
|
1928
|
-
|
|
2358
|
+
erc20Transfers?: Array<Erc20TransferDetails>;
|
|
1929
2359
|
/**
|
|
1930
|
-
* The
|
|
2360
|
+
* The list of ERC-721 transfers.
|
|
1931
2361
|
*/
|
|
1932
|
-
|
|
2362
|
+
erc721Transfers?: Array<Erc721TransferDetails>;
|
|
1933
2363
|
/**
|
|
1934
|
-
* The
|
|
2364
|
+
* The list of ERC-1155 transfers.
|
|
1935
2365
|
*/
|
|
1936
|
-
|
|
2366
|
+
erc1155Transfers?: Array<Erc1155TransferDetails>;
|
|
1937
2367
|
/**
|
|
1938
|
-
* The
|
|
2368
|
+
* The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2/CREATE3 calls. Use a client provider to recieve a full debug trace of the transaction.
|
|
1939
2369
|
*/
|
|
1940
|
-
|
|
2370
|
+
internalTransactions?: Array<InternalTransactionDetails>;
|
|
2371
|
+
};
|
|
2372
|
+
|
|
2373
|
+
type ListTransactionDetailsResponse = {
|
|
1941
2374
|
/**
|
|
1942
|
-
*
|
|
2375
|
+
* 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.
|
|
1943
2376
|
*/
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
/**
|
|
1950
|
-
* The gas limit set for the transaction.
|
|
1951
|
-
*/
|
|
1952
|
-
gasLimit: string;
|
|
1953
|
-
/**
|
|
1954
|
-
* The amount of gas used.
|
|
1955
|
-
*/
|
|
1956
|
-
gasUsed: string;
|
|
1957
|
-
/**
|
|
1958
|
-
* The gas price denominated by the number of decimals of the native token.
|
|
1959
|
-
*/
|
|
1960
|
-
gasPrice: string;
|
|
1961
|
-
/**
|
|
1962
|
-
* The nonce used by the sender of the transaction.
|
|
1963
|
-
*/
|
|
1964
|
-
nonce: string;
|
|
1965
|
-
from: RichAddress;
|
|
1966
|
-
to: RichAddress;
|
|
1967
|
-
method?: Method;
|
|
1968
|
-
value: string;
|
|
1969
|
-
};
|
|
1970
|
-
|
|
1971
|
-
type ListNativeTransactionsResponse = {
|
|
1972
|
-
/**
|
|
1973
|
-
* 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.
|
|
1974
|
-
*/
|
|
1975
|
-
nextPageToken?: string;
|
|
1976
|
-
transactions: Array<NativeTransaction>;
|
|
1977
|
-
};
|
|
1978
|
-
|
|
1979
|
-
type TransactionDetails = {
|
|
1980
|
-
/**
|
|
1981
|
-
* The native (top-level) transaction details.
|
|
1982
|
-
*/
|
|
1983
|
-
nativeTransaction: NativeTransaction;
|
|
1984
|
-
/**
|
|
1985
|
-
* The list of ERC-20 transfers.
|
|
1986
|
-
*/
|
|
1987
|
-
erc20Transfers?: Array<Erc20TransferDetails>;
|
|
1988
|
-
/**
|
|
1989
|
-
* The list of ERC-721 transfers.
|
|
1990
|
-
*/
|
|
1991
|
-
erc721Transfers?: Array<Erc721TransferDetails>;
|
|
1992
|
-
/**
|
|
1993
|
-
* The list of ERC-1155 transfers.
|
|
1994
|
-
*/
|
|
1995
|
-
erc1155Transfers?: Array<Erc1155TransferDetails>;
|
|
1996
|
-
/**
|
|
1997
|
-
* The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2 calls. Use a client provider to recieve a full debug trace of the transaction.
|
|
1998
|
-
*/
|
|
1999
|
-
internalTransactions?: Array<InternalTransactionDetails>;
|
|
2000
|
-
};
|
|
2001
|
-
|
|
2002
|
-
type ListTransactionDetailsResponse = {
|
|
2003
|
-
/**
|
|
2004
|
-
* 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.
|
|
2005
|
-
*/
|
|
2006
|
-
nextPageToken?: string;
|
|
2007
|
-
transactions: Array<TransactionDetails>;
|
|
2008
|
-
};
|
|
2009
|
-
|
|
2010
|
-
type ListTransfersResponse = {
|
|
2377
|
+
nextPageToken?: string;
|
|
2378
|
+
transactions: Array<TransactionDetails>;
|
|
2379
|
+
};
|
|
2380
|
+
|
|
2381
|
+
type ListTransfersResponse = {
|
|
2011
2382
|
/**
|
|
2012
2383
|
* 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.
|
|
2013
2384
|
*/
|
|
@@ -2020,14 +2391,33 @@ declare enum SortOrder {
|
|
|
2020
2391
|
DESC = "desc"
|
|
2021
2392
|
}
|
|
2022
2393
|
|
|
2023
|
-
declare enum TransactionStatus {
|
|
2024
|
-
FAILED = "failed",
|
|
2025
|
-
SUCCESS = "success"
|
|
2026
|
-
}
|
|
2027
|
-
|
|
2028
2394
|
declare class EvmTransactionsService {
|
|
2029
2395
|
readonly httpRequest: BaseHttpRequest;
|
|
2030
2396
|
constructor(httpRequest: BaseHttpRequest);
|
|
2397
|
+
/**
|
|
2398
|
+
* List the latest transactions across all supported EVM chains
|
|
2399
|
+
* Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.
|
|
2400
|
+
* @returns ListNativeTransactionsResponse Successful response
|
|
2401
|
+
* @throws ApiError
|
|
2402
|
+
*/
|
|
2403
|
+
listLatestTransactionsAllChains({ pageToken, pageSize, network, status, }: {
|
|
2404
|
+
/**
|
|
2405
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2406
|
+
*/
|
|
2407
|
+
pageToken?: string;
|
|
2408
|
+
/**
|
|
2409
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2410
|
+
*/
|
|
2411
|
+
pageSize?: number;
|
|
2412
|
+
/**
|
|
2413
|
+
* Either mainnet or testnet/fuji.
|
|
2414
|
+
*/
|
|
2415
|
+
network?: Network;
|
|
2416
|
+
/**
|
|
2417
|
+
* A status filter for listed transactions.
|
|
2418
|
+
*/
|
|
2419
|
+
status?: TransactionStatus;
|
|
2420
|
+
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
2031
2421
|
/**
|
|
2032
2422
|
* Get deployment transaction
|
|
2033
2423
|
* If the address is a smart contract, returns the transaction in which it was deployed.
|
|
@@ -2274,7 +2664,7 @@ declare class EvmTransactionsService {
|
|
|
2274
2664
|
* List internal transactions
|
|
2275
2665
|
* Returns a list of internal transactions for an address and chain. Filterable by block range.
|
|
2276
2666
|
*
|
|
2277
|
-
* Note that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.
|
|
2667
|
+
* Note that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2`/`CREATE3` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.
|
|
2278
2668
|
* @returns ListInternalTransactionsResponse Successful response
|
|
2279
2669
|
* @throws ApiError
|
|
2280
2670
|
*/
|
|
@@ -2326,7 +2716,7 @@ declare class EvmTransactionsService {
|
|
|
2326
2716
|
* @returns ListNativeTransactionsResponse Successful response
|
|
2327
2717
|
* @throws ApiError
|
|
2328
2718
|
*/
|
|
2329
|
-
getTransactionsForBlock({ chainId, blockId, }: {
|
|
2719
|
+
getTransactionsForBlock({ chainId, blockId, pageToken, pageSize, }: {
|
|
2330
2720
|
/**
|
|
2331
2721
|
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2332
2722
|
*/
|
|
@@ -2335,6 +2725,14 @@ declare class EvmTransactionsService {
|
|
|
2335
2725
|
* A block identifier which is either a block number or the block hash.
|
|
2336
2726
|
*/
|
|
2337
2727
|
blockId: string;
|
|
2728
|
+
/**
|
|
2729
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2730
|
+
*/
|
|
2731
|
+
pageToken?: string;
|
|
2732
|
+
/**
|
|
2733
|
+
* The maximum number of items to return. The minimum page size is 0. The maximum pageSize is 100.
|
|
2734
|
+
*/
|
|
2735
|
+
pageSize?: number;
|
|
2338
2736
|
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
2339
2737
|
/**
|
|
2340
2738
|
* List latest transactions
|
|
@@ -2362,68 +2760,211 @@ declare class EvmTransactionsService {
|
|
|
2362
2760
|
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
2363
2761
|
}
|
|
2364
2762
|
|
|
2763
|
+
type HealthIndicatorResultDto = {
|
|
2764
|
+
/**
|
|
2765
|
+
* Status of the health indicator.
|
|
2766
|
+
*/
|
|
2767
|
+
status?: HealthIndicatorResultDto.status;
|
|
2768
|
+
};
|
|
2769
|
+
declare namespace HealthIndicatorResultDto {
|
|
2770
|
+
/**
|
|
2771
|
+
* Status of the health indicator.
|
|
2772
|
+
*/
|
|
2773
|
+
enum status {
|
|
2774
|
+
UP = "up",
|
|
2775
|
+
DOWN = "down"
|
|
2776
|
+
}
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2779
|
+
type HealthCheckResultDto = {
|
|
2780
|
+
status?: HealthCheckResultDto.status;
|
|
2781
|
+
info?: any | null;
|
|
2782
|
+
error?: any | null;
|
|
2783
|
+
details?: Record<string, HealthIndicatorResultDto>;
|
|
2784
|
+
};
|
|
2785
|
+
declare namespace HealthCheckResultDto {
|
|
2786
|
+
enum status {
|
|
2787
|
+
ERROR = "error",
|
|
2788
|
+
OK = "ok",
|
|
2789
|
+
SHUTTING_DOWN = "shutting_down"
|
|
2790
|
+
}
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2365
2793
|
declare class HealthCheckService {
|
|
2366
2794
|
readonly httpRequest: BaseHttpRequest;
|
|
2367
2795
|
constructor(httpRequest: BaseHttpRequest);
|
|
2368
2796
|
/**
|
|
2369
2797
|
* Get the health of the service
|
|
2370
|
-
*
|
|
2798
|
+
* Check the health of the service. This checks the read and write health of the database and cache.
|
|
2799
|
+
* @returns HealthCheckResultDto The health of the service. This checks the read and write health of the database and cache.
|
|
2371
2800
|
* @throws ApiError
|
|
2372
2801
|
*/
|
|
2373
|
-
dataHealthCheck(): CancelablePromise<
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2802
|
+
dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
|
|
2803
|
+
/**
|
|
2804
|
+
* Get the liveliness of the service (reads only)
|
|
2805
|
+
* Check the liveliness of the service (reads only).
|
|
2806
|
+
* @returns HealthCheckResultDto The liveliness of the service (reads only)
|
|
2807
|
+
* @throws ApiError
|
|
2808
|
+
*/
|
|
2809
|
+
liveCheck(): CancelablePromise<HealthCheckResultDto>;
|
|
2379
2810
|
}
|
|
2380
2811
|
|
|
2381
|
-
type
|
|
2812
|
+
type IcmDestinationTransaction = {
|
|
2813
|
+
txHash: string;
|
|
2814
|
+
timestamp: number;
|
|
2815
|
+
gasSpent: string;
|
|
2816
|
+
rewardRedeemer: string;
|
|
2817
|
+
delivererAddress: string;
|
|
2818
|
+
};
|
|
2819
|
+
|
|
2820
|
+
type IcmReceipt = {
|
|
2821
|
+
receivedMessageNonce: string;
|
|
2822
|
+
relayerRewardAddress: string;
|
|
2823
|
+
};
|
|
2824
|
+
|
|
2825
|
+
type IcmRewardDetails = {
|
|
2826
|
+
/**
|
|
2827
|
+
* A wallet or contract address in mixed-case checksum encoding.
|
|
2828
|
+
*/
|
|
2829
|
+
address: string;
|
|
2830
|
+
/**
|
|
2831
|
+
* The contract name.
|
|
2832
|
+
*/
|
|
2833
|
+
name: string;
|
|
2834
|
+
/**
|
|
2835
|
+
* The contract symbol.
|
|
2836
|
+
*/
|
|
2837
|
+
symbol: string;
|
|
2838
|
+
/**
|
|
2839
|
+
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
2840
|
+
*/
|
|
2841
|
+
decimals: number;
|
|
2842
|
+
/**
|
|
2843
|
+
* The logo uri for the address.
|
|
2844
|
+
*/
|
|
2845
|
+
logoUri?: string;
|
|
2846
|
+
ercType: IcmRewardDetails.ercType;
|
|
2847
|
+
/**
|
|
2848
|
+
* The token price, if available.
|
|
2849
|
+
*/
|
|
2850
|
+
price?: Money;
|
|
2851
|
+
value: string;
|
|
2852
|
+
};
|
|
2853
|
+
declare namespace IcmRewardDetails {
|
|
2854
|
+
enum ercType {
|
|
2855
|
+
ERC_20 = "ERC-20"
|
|
2856
|
+
}
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2859
|
+
type IcmSourceTransaction = {
|
|
2860
|
+
txHash: string;
|
|
2861
|
+
timestamp: number;
|
|
2862
|
+
gasSpent: string;
|
|
2863
|
+
};
|
|
2864
|
+
|
|
2865
|
+
type DeliveredIcmMessage = {
|
|
2866
|
+
messageId: string;
|
|
2867
|
+
icmContractAddress: string;
|
|
2868
|
+
sourceBlockchainId: string;
|
|
2869
|
+
destinationBlockchainId: string;
|
|
2870
|
+
sourceEvmChainId: string;
|
|
2871
|
+
destinationEvmChainId: string;
|
|
2872
|
+
messageNonce: string;
|
|
2873
|
+
from: string;
|
|
2874
|
+
to: string;
|
|
2875
|
+
data?: string;
|
|
2876
|
+
messageExecuted: boolean;
|
|
2877
|
+
receipts: Array<IcmReceipt>;
|
|
2878
|
+
receiptDelivered: boolean;
|
|
2879
|
+
rewardDetails: IcmRewardDetails;
|
|
2880
|
+
sourceTransaction: IcmSourceTransaction;
|
|
2881
|
+
destinationTransaction: IcmDestinationTransaction;
|
|
2882
|
+
status: DeliveredIcmMessage.status;
|
|
2883
|
+
};
|
|
2884
|
+
declare namespace DeliveredIcmMessage {
|
|
2885
|
+
enum status {
|
|
2886
|
+
DELIVERED = "delivered"
|
|
2887
|
+
}
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
type DeliveredSourceNotIndexedIcmMessage = {
|
|
2891
|
+
messageId: string;
|
|
2892
|
+
icmContractAddress: string;
|
|
2893
|
+
sourceBlockchainId: string;
|
|
2894
|
+
destinationBlockchainId: string;
|
|
2895
|
+
sourceEvmChainId: string;
|
|
2896
|
+
destinationEvmChainId: string;
|
|
2897
|
+
messageNonce: string;
|
|
2898
|
+
from: string;
|
|
2899
|
+
to: string;
|
|
2900
|
+
data?: string;
|
|
2901
|
+
messageExecuted: boolean;
|
|
2902
|
+
receipts: Array<IcmReceipt>;
|
|
2903
|
+
receiptDelivered: boolean;
|
|
2904
|
+
rewardDetails: IcmRewardDetails;
|
|
2905
|
+
destinationTransaction: IcmDestinationTransaction;
|
|
2906
|
+
status: DeliveredSourceNotIndexedIcmMessage.status;
|
|
2907
|
+
};
|
|
2908
|
+
declare namespace DeliveredSourceNotIndexedIcmMessage {
|
|
2909
|
+
enum status {
|
|
2910
|
+
DELIVERED_SOURCE_NOT_INDEXED = "delivered_source_not_indexed"
|
|
2911
|
+
}
|
|
2912
|
+
}
|
|
2913
|
+
|
|
2914
|
+
type PendingIcmMessage = {
|
|
2915
|
+
messageId: string;
|
|
2916
|
+
icmContractAddress: string;
|
|
2917
|
+
sourceBlockchainId: string;
|
|
2918
|
+
destinationBlockchainId: string;
|
|
2919
|
+
sourceEvmChainId: string;
|
|
2920
|
+
destinationEvmChainId: string;
|
|
2921
|
+
messageNonce: string;
|
|
2922
|
+
from: string;
|
|
2923
|
+
to: string;
|
|
2924
|
+
data?: string;
|
|
2925
|
+
messageExecuted: boolean;
|
|
2926
|
+
receipts: Array<IcmReceipt>;
|
|
2927
|
+
receiptDelivered: boolean;
|
|
2928
|
+
rewardDetails: IcmRewardDetails;
|
|
2929
|
+
sourceTransaction: IcmSourceTransaction;
|
|
2930
|
+
status: PendingIcmMessage.status;
|
|
2931
|
+
};
|
|
2932
|
+
declare namespace PendingIcmMessage {
|
|
2933
|
+
enum status {
|
|
2934
|
+
PENDING = "pending"
|
|
2935
|
+
}
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2938
|
+
type ListIcmMessagesResponse = {
|
|
2382
2939
|
/**
|
|
2383
2940
|
* 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.
|
|
2384
2941
|
*/
|
|
2385
2942
|
nextPageToken?: string;
|
|
2386
|
-
|
|
2943
|
+
messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
2387
2944
|
};
|
|
2388
2945
|
|
|
2389
|
-
declare class
|
|
2946
|
+
declare class InterchainMessagingService {
|
|
2390
2947
|
readonly httpRequest: BaseHttpRequest;
|
|
2391
2948
|
constructor(httpRequest: BaseHttpRequest);
|
|
2392
2949
|
/**
|
|
2393
|
-
*
|
|
2394
|
-
*
|
|
2950
|
+
* Get an ICM message
|
|
2951
|
+
* Gets an ICM message by teleporter message ID.
|
|
2395
2952
|
* @returns any Successful response
|
|
2396
2953
|
* @throws ApiError
|
|
2397
2954
|
*/
|
|
2398
|
-
|
|
2399
|
-
/**
|
|
2400
|
-
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2401
|
-
*/
|
|
2402
|
-
chainId: string;
|
|
2403
|
-
/**
|
|
2404
|
-
* Contract address on the relevant chain.
|
|
2405
|
-
*/
|
|
2406
|
-
address: string;
|
|
2955
|
+
getIcmMessage({ messageId, }: {
|
|
2407
2956
|
/**
|
|
2408
|
-
*
|
|
2957
|
+
* The teleporter message ID of the ICM message.
|
|
2409
2958
|
*/
|
|
2410
|
-
|
|
2411
|
-
}): CancelablePromise<
|
|
2959
|
+
messageId: string;
|
|
2960
|
+
}): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
2412
2961
|
/**
|
|
2413
|
-
* List
|
|
2414
|
-
* Lists
|
|
2415
|
-
* @returns
|
|
2962
|
+
* List ICM messages
|
|
2963
|
+
* Lists ICM messages. Ordered by timestamp in descending order.
|
|
2964
|
+
* @returns ListIcmMessagesResponse Successful response
|
|
2416
2965
|
* @throws ApiError
|
|
2417
2966
|
*/
|
|
2418
|
-
|
|
2419
|
-
/**
|
|
2420
|
-
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2421
|
-
*/
|
|
2422
|
-
chainId: string;
|
|
2423
|
-
/**
|
|
2424
|
-
* Contract address on the relevant chain.
|
|
2425
|
-
*/
|
|
2426
|
-
address: string;
|
|
2967
|
+
listIcmMessages({ pageToken, pageSize, sourceBlockchainId, destinationBlockchainId, blockchainId, to, from, network, }: {
|
|
2427
2968
|
/**
|
|
2428
2969
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2429
2970
|
*/
|
|
@@ -2432,22 +2973,127 @@ declare class NfTsService {
|
|
|
2432
2973
|
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2433
2974
|
*/
|
|
2434
2975
|
pageSize?: number;
|
|
2435
|
-
}): CancelablePromise<ListNftTokens>;
|
|
2436
|
-
/**
|
|
2437
|
-
* Get token details
|
|
2438
|
-
* Gets token details for a specific token of an NFT contract.
|
|
2439
|
-
* @returns any Successful response
|
|
2440
|
-
* @throws ApiError
|
|
2441
|
-
*/
|
|
2442
|
-
getTokenDetails({ chainId, address, tokenId, }: {
|
|
2443
2976
|
/**
|
|
2444
|
-
*
|
|
2977
|
+
* The base58 encoded blockchain ID or evm chain ID of the source chain that the ICM message was sent from.
|
|
2445
2978
|
*/
|
|
2446
|
-
|
|
2979
|
+
sourceBlockchainId?: string;
|
|
2447
2980
|
/**
|
|
2448
|
-
*
|
|
2981
|
+
* The base58 encoded blockchain ID or evm chain ID of the destination chain that the ICM message was sent to.
|
|
2449
2982
|
*/
|
|
2450
|
-
|
|
2983
|
+
destinationBlockchainId?: string;
|
|
2984
|
+
/**
|
|
2985
|
+
* The base58 encoded blockchain ID of either source or destination chain that one ICM message interacts with.
|
|
2986
|
+
*/
|
|
2987
|
+
blockchainId?: string;
|
|
2988
|
+
/**
|
|
2989
|
+
* The address of the recipient of the ICM message.
|
|
2990
|
+
*/
|
|
2991
|
+
to?: string;
|
|
2992
|
+
/**
|
|
2993
|
+
* The address of the sender of the ICM message.
|
|
2994
|
+
*/
|
|
2995
|
+
from?: string;
|
|
2996
|
+
/**
|
|
2997
|
+
* Either mainnet or testnet/fuji.
|
|
2998
|
+
*/
|
|
2999
|
+
network?: Network;
|
|
3000
|
+
}): CancelablePromise<ListIcmMessagesResponse>;
|
|
3001
|
+
/**
|
|
3002
|
+
* List ICM messages by address
|
|
3003
|
+
* Lists ICM messages by address. Ordered by timestamp in descending order.
|
|
3004
|
+
* @returns ListIcmMessagesResponse Successful response
|
|
3005
|
+
* @throws ApiError
|
|
3006
|
+
*/
|
|
3007
|
+
listIcmMessagesByAddress({ address, pageToken, pageSize, network, }: {
|
|
3008
|
+
/**
|
|
3009
|
+
* An EVM address.
|
|
3010
|
+
*/
|
|
3011
|
+
address: string;
|
|
3012
|
+
/**
|
|
3013
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3014
|
+
*/
|
|
3015
|
+
pageToken?: string;
|
|
3016
|
+
/**
|
|
3017
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3018
|
+
*/
|
|
3019
|
+
pageSize?: number;
|
|
3020
|
+
/**
|
|
3021
|
+
* Either mainnet or testnet/fuji.
|
|
3022
|
+
*/
|
|
3023
|
+
network?: Network;
|
|
3024
|
+
}): CancelablePromise<ListIcmMessagesResponse>;
|
|
3025
|
+
}
|
|
3026
|
+
|
|
3027
|
+
type ListNftTokens = {
|
|
3028
|
+
/**
|
|
3029
|
+
* 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.
|
|
3030
|
+
*/
|
|
3031
|
+
nextPageToken?: string;
|
|
3032
|
+
tokens: Array<(Erc721Token | Erc1155Token)>;
|
|
3033
|
+
};
|
|
3034
|
+
|
|
3035
|
+
declare class NfTsService {
|
|
3036
|
+
readonly httpRequest: BaseHttpRequest;
|
|
3037
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
3038
|
+
/**
|
|
3039
|
+
* Reindex NFT metadata
|
|
3040
|
+
* Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
|
|
3041
|
+
* @returns any Successful response
|
|
3042
|
+
* @throws ApiError
|
|
3043
|
+
*/
|
|
3044
|
+
reindexNft({ chainId, address, tokenId, }: {
|
|
3045
|
+
/**
|
|
3046
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
3047
|
+
*/
|
|
3048
|
+
chainId: string;
|
|
3049
|
+
/**
|
|
3050
|
+
* Contract address on the relevant chain.
|
|
3051
|
+
*/
|
|
3052
|
+
address: string;
|
|
3053
|
+
/**
|
|
3054
|
+
* TokenId on the contract
|
|
3055
|
+
*/
|
|
3056
|
+
tokenId: string;
|
|
3057
|
+
}): CancelablePromise<any>;
|
|
3058
|
+
/**
|
|
3059
|
+
* List tokens
|
|
3060
|
+
* Lists tokens for an NFT contract.
|
|
3061
|
+
* @returns ListNftTokens Successful response
|
|
3062
|
+
* @throws ApiError
|
|
3063
|
+
*/
|
|
3064
|
+
listTokens({ chainId, address, pageToken, pageSize, }: {
|
|
3065
|
+
/**
|
|
3066
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
3067
|
+
*/
|
|
3068
|
+
chainId: string;
|
|
3069
|
+
/**
|
|
3070
|
+
* Contract address on the relevant chain.
|
|
3071
|
+
*/
|
|
3072
|
+
address: string;
|
|
3073
|
+
/**
|
|
3074
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3075
|
+
*/
|
|
3076
|
+
pageToken?: string;
|
|
3077
|
+
/**
|
|
3078
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3079
|
+
*/
|
|
3080
|
+
pageSize?: number;
|
|
3081
|
+
}): CancelablePromise<ListNftTokens>;
|
|
3082
|
+
/**
|
|
3083
|
+
* Get token details
|
|
3084
|
+
* Gets token details for a specific token of an NFT contract.
|
|
3085
|
+
* @returns any Successful response
|
|
3086
|
+
* @throws ApiError
|
|
3087
|
+
*/
|
|
3088
|
+
getTokenDetails({ chainId, address, tokenId, }: {
|
|
3089
|
+
/**
|
|
3090
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
3091
|
+
*/
|
|
3092
|
+
chainId: string;
|
|
3093
|
+
/**
|
|
3094
|
+
* Contract address on the relevant chain.
|
|
3095
|
+
*/
|
|
3096
|
+
address: string;
|
|
2451
3097
|
/**
|
|
2452
3098
|
* TokenId on the contract
|
|
2453
3099
|
*/
|
|
@@ -2455,6 +3101,108 @@ declare class NfTsService {
|
|
|
2455
3101
|
}): CancelablePromise<(Erc721Token | Erc1155Token)>;
|
|
2456
3102
|
}
|
|
2457
3103
|
|
|
3104
|
+
type AccessRequest = {
|
|
3105
|
+
/**
|
|
3106
|
+
* The email address to send the access token to
|
|
3107
|
+
*/
|
|
3108
|
+
email: string;
|
|
3109
|
+
/**
|
|
3110
|
+
* The captcha to verify the user
|
|
3111
|
+
*/
|
|
3112
|
+
captcha: string;
|
|
3113
|
+
};
|
|
3114
|
+
|
|
3115
|
+
type NotificationsResponse = {
|
|
3116
|
+
message: string;
|
|
3117
|
+
};
|
|
3118
|
+
|
|
3119
|
+
type SubscribeRequest = {
|
|
3120
|
+
/**
|
|
3121
|
+
* The access token to use for authentication
|
|
3122
|
+
*/
|
|
3123
|
+
accessToken: string;
|
|
3124
|
+
/**
|
|
3125
|
+
* The node ID to subscribe to
|
|
3126
|
+
*/
|
|
3127
|
+
nodeId: string;
|
|
3128
|
+
/**
|
|
3129
|
+
* The notification types to subscribe to. If not provided, all notification types will be subscribed to
|
|
3130
|
+
*/
|
|
3131
|
+
notifications?: Array<'connectivity' | 'ports' | 'version'>;
|
|
3132
|
+
};
|
|
3133
|
+
|
|
3134
|
+
type SubscriptionsRequest = {
|
|
3135
|
+
/**
|
|
3136
|
+
* The access token to use for authentication
|
|
3137
|
+
*/
|
|
3138
|
+
accessToken: string;
|
|
3139
|
+
};
|
|
3140
|
+
|
|
3141
|
+
type SubscriptionsResponse = {
|
|
3142
|
+
/**
|
|
3143
|
+
* The email address of the user
|
|
3144
|
+
*/
|
|
3145
|
+
email: string;
|
|
3146
|
+
/**
|
|
3147
|
+
* The subscriptions of the user
|
|
3148
|
+
*/
|
|
3149
|
+
subscriptions: Record<string, {
|
|
3150
|
+
notifications?: Array<'connectivity' | 'ports' | 'version'>;
|
|
3151
|
+
}>;
|
|
3152
|
+
};
|
|
3153
|
+
|
|
3154
|
+
type UnsubscribeRequest = {
|
|
3155
|
+
/**
|
|
3156
|
+
* The access token to use for authentication
|
|
3157
|
+
*/
|
|
3158
|
+
accessToken: string;
|
|
3159
|
+
/**
|
|
3160
|
+
* The node ID to subscribe to
|
|
3161
|
+
*/
|
|
3162
|
+
nodeId: string;
|
|
3163
|
+
};
|
|
3164
|
+
|
|
3165
|
+
declare class NotificationsService {
|
|
3166
|
+
readonly httpRequest: BaseHttpRequest;
|
|
3167
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
3168
|
+
/**
|
|
3169
|
+
* Access Notifications
|
|
3170
|
+
* Access notifications.
|
|
3171
|
+
* @returns NotificationsResponse Successful response
|
|
3172
|
+
* @throws ApiError
|
|
3173
|
+
*/
|
|
3174
|
+
access({ requestBody, }: {
|
|
3175
|
+
requestBody: AccessRequest;
|
|
3176
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
3177
|
+
/**
|
|
3178
|
+
* Subscribe to Notifications
|
|
3179
|
+
* Subscribe to receive notifications.
|
|
3180
|
+
* @returns NotificationsResponse Successful response
|
|
3181
|
+
* @throws ApiError
|
|
3182
|
+
*/
|
|
3183
|
+
subscribe({ requestBody, }: {
|
|
3184
|
+
requestBody: SubscribeRequest;
|
|
3185
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
3186
|
+
/**
|
|
3187
|
+
* Unsubscribe from Notifications
|
|
3188
|
+
* Unsubscribe from receiving notifications.
|
|
3189
|
+
* @returns NotificationsResponse Successful response
|
|
3190
|
+
* @throws ApiError
|
|
3191
|
+
*/
|
|
3192
|
+
unsubscribe({ requestBody, }: {
|
|
3193
|
+
requestBody: UnsubscribeRequest;
|
|
3194
|
+
}): CancelablePromise<NotificationsResponse>;
|
|
3195
|
+
/**
|
|
3196
|
+
* Get Subscriptions
|
|
3197
|
+
* Get subscriptions.
|
|
3198
|
+
* @returns SubscriptionsResponse Successful response
|
|
3199
|
+
* @throws ApiError
|
|
3200
|
+
*/
|
|
3201
|
+
subscriptions({ requestBody, }: {
|
|
3202
|
+
requestBody: SubscriptionsRequest;
|
|
3203
|
+
}): CancelablePromise<SubscriptionsResponse>;
|
|
3204
|
+
}
|
|
3205
|
+
|
|
2458
3206
|
type EvmNetworkOptions = {
|
|
2459
3207
|
addresses: Array<string>;
|
|
2460
3208
|
includeChains: Array<string>;
|
|
@@ -2488,7 +3236,7 @@ declare enum PrimaryNetworkOperationType {
|
|
|
2488
3236
|
type PrimaryNetworkOptions = {
|
|
2489
3237
|
addresses?: Array<string>;
|
|
2490
3238
|
cChainEvmAddresses?: Array<string>;
|
|
2491
|
-
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '
|
|
3239
|
+
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
|
|
2492
3240
|
};
|
|
2493
3241
|
|
|
2494
3242
|
type CreatePrimaryNetworkTransactionExportRequest = {
|
|
@@ -2543,7 +3291,7 @@ type OperationStatusResponse = {
|
|
|
2543
3291
|
operationType: OperationType;
|
|
2544
3292
|
operationStatus: OperationStatus;
|
|
2545
3293
|
message?: string;
|
|
2546
|
-
metadata
|
|
3294
|
+
metadata?: TransactionExportMetadata;
|
|
2547
3295
|
createdAtTimestamp: number;
|
|
2548
3296
|
updatedAtTimestamp: number;
|
|
2549
3297
|
};
|
|
@@ -2576,14 +3324,275 @@ declare class OperationsService {
|
|
|
2576
3324
|
}): CancelablePromise<OperationStatusResponse>;
|
|
2577
3325
|
}
|
|
2578
3326
|
|
|
3327
|
+
type EvmGenesisAllocDto = {
|
|
3328
|
+
/**
|
|
3329
|
+
* Account balance in hex format
|
|
3330
|
+
*/
|
|
3331
|
+
balance?: string;
|
|
3332
|
+
/**
|
|
3333
|
+
* Contract bytecode in hex format
|
|
3334
|
+
*/
|
|
3335
|
+
code?: string;
|
|
3336
|
+
/**
|
|
3337
|
+
* Contract storage slots
|
|
3338
|
+
*/
|
|
3339
|
+
storage?: Record<string, string>;
|
|
3340
|
+
};
|
|
3341
|
+
|
|
3342
|
+
type EvmGenesisAllowListConfigDto = {
|
|
3343
|
+
/**
|
|
3344
|
+
* Block timestamp
|
|
3345
|
+
*/
|
|
3346
|
+
blockTimestamp?: number;
|
|
3347
|
+
/**
|
|
3348
|
+
* Admin addresses
|
|
3349
|
+
*/
|
|
3350
|
+
adminAddresses?: Array<string>;
|
|
3351
|
+
/**
|
|
3352
|
+
* Manager addresses
|
|
3353
|
+
*/
|
|
3354
|
+
managerAddresses?: Array<string>;
|
|
3355
|
+
/**
|
|
3356
|
+
* Enabled addresses
|
|
3357
|
+
*/
|
|
3358
|
+
enabledAddresses?: Array<string>;
|
|
3359
|
+
};
|
|
3360
|
+
|
|
3361
|
+
type EvmGenesisFeeConfigDto = {
|
|
3362
|
+
/**
|
|
3363
|
+
* Base fee change denominator
|
|
3364
|
+
*/
|
|
3365
|
+
baseFeeChangeDenominator?: number;
|
|
3366
|
+
/**
|
|
3367
|
+
* Block gas cost step
|
|
3368
|
+
*/
|
|
3369
|
+
blockGasCostStep?: number;
|
|
3370
|
+
/**
|
|
3371
|
+
* Gas limit
|
|
3372
|
+
*/
|
|
3373
|
+
gasLimit?: number;
|
|
3374
|
+
/**
|
|
3375
|
+
* Maximum block gas cost
|
|
3376
|
+
*/
|
|
3377
|
+
maxBlockGasCost?: number;
|
|
3378
|
+
/**
|
|
3379
|
+
* Minimum base fee
|
|
3380
|
+
*/
|
|
3381
|
+
minBaseFee?: number;
|
|
3382
|
+
/**
|
|
3383
|
+
* Minimum block gas cost
|
|
3384
|
+
*/
|
|
3385
|
+
minBlockGasCost?: number;
|
|
3386
|
+
/**
|
|
3387
|
+
* Target block rate
|
|
3388
|
+
*/
|
|
3389
|
+
targetBlockRate?: number;
|
|
3390
|
+
/**
|
|
3391
|
+
* Target gas
|
|
3392
|
+
*/
|
|
3393
|
+
targetGas?: number;
|
|
3394
|
+
};
|
|
3395
|
+
|
|
3396
|
+
type EvmGenesisWarpConfigDto = {
|
|
3397
|
+
/**
|
|
3398
|
+
* Block timestamp
|
|
3399
|
+
*/
|
|
3400
|
+
blockTimestamp?: number;
|
|
3401
|
+
/**
|
|
3402
|
+
* Quorum numerator
|
|
3403
|
+
*/
|
|
3404
|
+
quorumNumerator?: number;
|
|
3405
|
+
/**
|
|
3406
|
+
* Require primary network signers
|
|
3407
|
+
*/
|
|
3408
|
+
requirePrimaryNetworkSigners?: boolean;
|
|
3409
|
+
};
|
|
3410
|
+
|
|
3411
|
+
type EvmGenesisConfigDto = {
|
|
3412
|
+
/**
|
|
3413
|
+
* Berlin block number
|
|
3414
|
+
*/
|
|
3415
|
+
berlinBlock?: number;
|
|
3416
|
+
/**
|
|
3417
|
+
* Byzantium block number
|
|
3418
|
+
*/
|
|
3419
|
+
byzantiumBlock?: number;
|
|
3420
|
+
/**
|
|
3421
|
+
* Chain ID
|
|
3422
|
+
*/
|
|
3423
|
+
chainId?: number;
|
|
3424
|
+
/**
|
|
3425
|
+
* Constantinople block number
|
|
3426
|
+
*/
|
|
3427
|
+
constantinopleBlock?: number;
|
|
3428
|
+
/**
|
|
3429
|
+
* EIP-150 block number
|
|
3430
|
+
*/
|
|
3431
|
+
eip150Block?: number;
|
|
3432
|
+
/**
|
|
3433
|
+
* EIP-150 hash
|
|
3434
|
+
*/
|
|
3435
|
+
eip150Hash?: string;
|
|
3436
|
+
/**
|
|
3437
|
+
* EIP-155 block number
|
|
3438
|
+
*/
|
|
3439
|
+
eip155Block?: number;
|
|
3440
|
+
/**
|
|
3441
|
+
* EIP-158 block number
|
|
3442
|
+
*/
|
|
3443
|
+
eip158Block?: number;
|
|
3444
|
+
/**
|
|
3445
|
+
* Fee configuration
|
|
3446
|
+
*/
|
|
3447
|
+
feeConfig?: EvmGenesisFeeConfigDto;
|
|
3448
|
+
/**
|
|
3449
|
+
* Homestead block number
|
|
3450
|
+
*/
|
|
3451
|
+
homesteadBlock?: number;
|
|
3452
|
+
/**
|
|
3453
|
+
* Istanbul block number
|
|
3454
|
+
*/
|
|
3455
|
+
istanbulBlock?: number;
|
|
3456
|
+
/**
|
|
3457
|
+
* London block number
|
|
3458
|
+
*/
|
|
3459
|
+
londonBlock?: number;
|
|
3460
|
+
/**
|
|
3461
|
+
* Muir Glacier block number
|
|
3462
|
+
*/
|
|
3463
|
+
muirGlacierBlock?: number;
|
|
3464
|
+
/**
|
|
3465
|
+
* Petersburg block number
|
|
3466
|
+
*/
|
|
3467
|
+
petersburgBlock?: number;
|
|
3468
|
+
/**
|
|
3469
|
+
* Subnet EVM timestamp
|
|
3470
|
+
*/
|
|
3471
|
+
subnetEVMTimestamp?: number;
|
|
3472
|
+
/**
|
|
3473
|
+
* Allow fee recipients
|
|
3474
|
+
*/
|
|
3475
|
+
allowFeeRecipients?: boolean;
|
|
3476
|
+
/**
|
|
3477
|
+
* Warp configuration
|
|
3478
|
+
*/
|
|
3479
|
+
warpConfig?: EvmGenesisWarpConfigDto;
|
|
3480
|
+
/**
|
|
3481
|
+
* Transaction allow list configuration
|
|
3482
|
+
*/
|
|
3483
|
+
txAllowListConfig?: EvmGenesisAllowListConfigDto;
|
|
3484
|
+
/**
|
|
3485
|
+
* Contract deployer allow list configuration
|
|
3486
|
+
*/
|
|
3487
|
+
contractDeployerAllowListConfig?: EvmGenesisAllowListConfigDto;
|
|
3488
|
+
/**
|
|
3489
|
+
* Contract native minter configuration
|
|
3490
|
+
*/
|
|
3491
|
+
contractNativeMinterConfig?: EvmGenesisAllowListConfigDto;
|
|
3492
|
+
/**
|
|
3493
|
+
* Fee manager configuration
|
|
3494
|
+
*/
|
|
3495
|
+
feeManagerConfig?: EvmGenesisAllowListConfigDto;
|
|
3496
|
+
/**
|
|
3497
|
+
* Reward manager configuration
|
|
3498
|
+
*/
|
|
3499
|
+
rewardManagerConfig?: EvmGenesisAllowListConfigDto;
|
|
3500
|
+
};
|
|
3501
|
+
|
|
3502
|
+
type EvmGenesisDto = {
|
|
3503
|
+
/**
|
|
3504
|
+
* Airdrop amount
|
|
3505
|
+
*/
|
|
3506
|
+
airdropAmount?: number | null;
|
|
3507
|
+
/**
|
|
3508
|
+
* Airdrop hash
|
|
3509
|
+
*/
|
|
3510
|
+
airdropHash?: string;
|
|
3511
|
+
/**
|
|
3512
|
+
* Allocation of accounts and balances
|
|
3513
|
+
*/
|
|
3514
|
+
alloc?: Record<string, EvmGenesisAllocDto>;
|
|
3515
|
+
/**
|
|
3516
|
+
* Base fee per gas
|
|
3517
|
+
*/
|
|
3518
|
+
baseFeePerGas?: number | null;
|
|
3519
|
+
/**
|
|
3520
|
+
* Blob gas used
|
|
3521
|
+
*/
|
|
3522
|
+
blobGasUsed?: string | null;
|
|
3523
|
+
/**
|
|
3524
|
+
* Coinbase address
|
|
3525
|
+
*/
|
|
3526
|
+
coinbase?: string;
|
|
3527
|
+
/**
|
|
3528
|
+
* Genesis configuration
|
|
3529
|
+
*/
|
|
3530
|
+
config?: EvmGenesisConfigDto;
|
|
3531
|
+
/**
|
|
3532
|
+
* Difficulty
|
|
3533
|
+
*/
|
|
3534
|
+
difficulty?: string;
|
|
3535
|
+
/**
|
|
3536
|
+
* Excess blob gas
|
|
3537
|
+
*/
|
|
3538
|
+
excessBlobGas?: string | null;
|
|
3539
|
+
/**
|
|
3540
|
+
* Extra data
|
|
3541
|
+
*/
|
|
3542
|
+
extraData?: string;
|
|
3543
|
+
/**
|
|
3544
|
+
* Gas limit
|
|
3545
|
+
*/
|
|
3546
|
+
gasLimit?: string;
|
|
3547
|
+
/**
|
|
3548
|
+
* Gas used
|
|
3549
|
+
*/
|
|
3550
|
+
gasUsed?: string;
|
|
3551
|
+
/**
|
|
3552
|
+
* Mix hash
|
|
3553
|
+
*/
|
|
3554
|
+
mixHash?: string;
|
|
3555
|
+
/**
|
|
3556
|
+
* Nonce
|
|
3557
|
+
*/
|
|
3558
|
+
nonce?: string;
|
|
3559
|
+
/**
|
|
3560
|
+
* Block number
|
|
3561
|
+
*/
|
|
3562
|
+
number?: string;
|
|
3563
|
+
/**
|
|
3564
|
+
* Parent hash
|
|
3565
|
+
*/
|
|
3566
|
+
parentHash?: string;
|
|
3567
|
+
/**
|
|
3568
|
+
* Block timestamp
|
|
3569
|
+
*/
|
|
3570
|
+
timestamp?: string;
|
|
3571
|
+
};
|
|
3572
|
+
|
|
3573
|
+
type Blockchain = {
|
|
3574
|
+
createBlockTimestamp: number;
|
|
3575
|
+
createBlockNumber: string;
|
|
3576
|
+
blockchainId: string;
|
|
3577
|
+
vmId: string;
|
|
3578
|
+
subnetId: string;
|
|
3579
|
+
blockchainName: string;
|
|
3580
|
+
/**
|
|
3581
|
+
* 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.
|
|
3582
|
+
*/
|
|
3583
|
+
evmChainId?: number;
|
|
3584
|
+
/**
|
|
3585
|
+
* The genesis data of the blockchain. Can be either a parsed EvmGenesisDto object or a raw JSON string.
|
|
3586
|
+
*/
|
|
3587
|
+
genesisData?: (EvmGenesisDto | string);
|
|
3588
|
+
};
|
|
3589
|
+
|
|
2579
3590
|
declare enum BlockchainIds {
|
|
2580
3591
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
2581
3592
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
2582
3593
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
2583
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
2584
3594
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
2585
|
-
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
|
|
2586
|
-
V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
|
|
3595
|
+
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
|
|
2587
3596
|
}
|
|
2588
3597
|
|
|
2589
3598
|
type ChainAddressChainIdMap = {
|
|
@@ -2607,16 +3616,31 @@ type DelegatorsDetails = {
|
|
|
2607
3616
|
};
|
|
2608
3617
|
|
|
2609
3618
|
type StakingDistribution = {
|
|
3619
|
+
/**
|
|
3620
|
+
* AvalancheGo version for the validator node.
|
|
3621
|
+
*/
|
|
2610
3622
|
version: string;
|
|
3623
|
+
/**
|
|
3624
|
+
* The total amount staked by validators using this version.
|
|
3625
|
+
*/
|
|
2611
3626
|
amountStaked: string;
|
|
3627
|
+
/**
|
|
3628
|
+
* The number of validators using this version.
|
|
3629
|
+
*/
|
|
2612
3630
|
validatorCount: number;
|
|
2613
3631
|
};
|
|
2614
3632
|
|
|
2615
3633
|
type ValidatorsDetails = {
|
|
2616
3634
|
validatorCount: number;
|
|
2617
3635
|
totalAmountStaked: string;
|
|
3636
|
+
/**
|
|
3637
|
+
* Total potential rewards from currently active validations and delegations.
|
|
3638
|
+
*/
|
|
2618
3639
|
estimatedAnnualStakingReward: string;
|
|
2619
3640
|
stakingDistributionByVersion: Array<StakingDistribution>;
|
|
3641
|
+
/**
|
|
3642
|
+
* Ratio of total active stake amount to the current supply.
|
|
3643
|
+
*/
|
|
2620
3644
|
stakingRatio: string;
|
|
2621
3645
|
};
|
|
2622
3646
|
|
|
@@ -2625,15 +3649,6 @@ type GetNetworkDetailsResponse = {
|
|
|
2625
3649
|
delegatorDetails: DelegatorsDetails;
|
|
2626
3650
|
};
|
|
2627
3651
|
|
|
2628
|
-
type Blockchain = {
|
|
2629
|
-
createBlockTimestamp: number;
|
|
2630
|
-
createBlockNumber: string;
|
|
2631
|
-
blockchainId: string;
|
|
2632
|
-
vmId: string;
|
|
2633
|
-
subnetId: string;
|
|
2634
|
-
blockchainName: string;
|
|
2635
|
-
};
|
|
2636
|
-
|
|
2637
3652
|
type ListBlockchainsResponse = {
|
|
2638
3653
|
/**
|
|
2639
3654
|
* 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.
|
|
@@ -2668,7 +3683,13 @@ type CompletedDelegatorDetails = {
|
|
|
2668
3683
|
delegationFee: string;
|
|
2669
3684
|
startTimestamp: number;
|
|
2670
3685
|
endTimestamp: number;
|
|
3686
|
+
/**
|
|
3687
|
+
* Total rewards distributed for the successful delegation.
|
|
3688
|
+
*/
|
|
2671
3689
|
grossReward: string;
|
|
3690
|
+
/**
|
|
3691
|
+
* Net rewards distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
|
|
3692
|
+
*/
|
|
2672
3693
|
netReward: string;
|
|
2673
3694
|
delegationStatus: CompletedDelegatorDetails.delegationStatus;
|
|
2674
3695
|
};
|
|
@@ -2686,7 +3707,13 @@ type PendingDelegatorDetails = {
|
|
|
2686
3707
|
delegationFee: string;
|
|
2687
3708
|
startTimestamp: number;
|
|
2688
3709
|
endTimestamp: number;
|
|
3710
|
+
/**
|
|
3711
|
+
* Estimated total rewards that will be distributed for the successful delegation.
|
|
3712
|
+
*/
|
|
2689
3713
|
estimatedGrossReward: string;
|
|
3714
|
+
/**
|
|
3715
|
+
* Estimated net rewards that will be distributed to the delegator after deducting delegation fee from the gross reward for the successful delegation.
|
|
3716
|
+
*/
|
|
2690
3717
|
estimatedNetReward: string;
|
|
2691
3718
|
delegationStatus: PendingDelegatorDetails.delegationStatus;
|
|
2692
3719
|
};
|
|
@@ -2717,6 +3744,10 @@ type L1ValidatorDetailsFull = {
|
|
|
2717
3744
|
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
2718
3745
|
*/
|
|
2719
3746
|
validationId: string;
|
|
3747
|
+
/**
|
|
3748
|
+
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
|
|
3749
|
+
*/
|
|
3750
|
+
validationIdHex: string;
|
|
2720
3751
|
nodeId: string;
|
|
2721
3752
|
subnetId: string;
|
|
2722
3753
|
/**
|
|
@@ -2751,10 +3782,10 @@ type ListL1ValidatorsResponse = {
|
|
|
2751
3782
|
* The list of L1 validations for the given Subnet ID, NodeId or validationId
|
|
2752
3783
|
*/
|
|
2753
3784
|
validators: Array<L1ValidatorDetailsFull>;
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
3785
|
+
/**
|
|
3786
|
+
* Block height at which the L1 validator's remaining balance is calculated
|
|
3787
|
+
*/
|
|
3788
|
+
blockHeight: string;
|
|
2758
3789
|
};
|
|
2759
3790
|
|
|
2760
3791
|
type L1ValidatorManagerDetails = {
|
|
@@ -2804,11 +3835,15 @@ type Subnet = {
|
|
|
2804
3835
|
* Whether the subnet is an L1 or not.
|
|
2805
3836
|
*/
|
|
2806
3837
|
isL1: boolean;
|
|
3838
|
+
/**
|
|
3839
|
+
* Transaction hash of ConvertSubnetToL1Tx which converted this Subnet to L1.
|
|
3840
|
+
*/
|
|
3841
|
+
l1ConversionTransactionHash?: string;
|
|
2807
3842
|
/**
|
|
2808
3843
|
* L1 validator manager details.
|
|
2809
3844
|
*/
|
|
2810
3845
|
l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
|
|
2811
|
-
blockchains: Array<
|
|
3846
|
+
blockchains: Array<Blockchain>;
|
|
2812
3847
|
};
|
|
2813
3848
|
|
|
2814
3849
|
type ListSubnetsResponse = {
|
|
@@ -2824,6 +3859,29 @@ type BlsCredentials = {
|
|
|
2824
3859
|
proofOfPossession: string;
|
|
2825
3860
|
};
|
|
2826
3861
|
|
|
3862
|
+
type Geolocation = {
|
|
3863
|
+
/**
|
|
3864
|
+
* The name of the validator node.
|
|
3865
|
+
*/
|
|
3866
|
+
city: string;
|
|
3867
|
+
/**
|
|
3868
|
+
* The city of the validator node.
|
|
3869
|
+
*/
|
|
3870
|
+
country: string;
|
|
3871
|
+
/**
|
|
3872
|
+
* The country code of the validator node.
|
|
3873
|
+
*/
|
|
3874
|
+
countryCode: string;
|
|
3875
|
+
/**
|
|
3876
|
+
* The latitude of the validator node.
|
|
3877
|
+
*/
|
|
3878
|
+
latitude: number;
|
|
3879
|
+
/**
|
|
3880
|
+
* The longitude of the validator node.
|
|
3881
|
+
*/
|
|
3882
|
+
longitude: number;
|
|
3883
|
+
};
|
|
3884
|
+
|
|
2827
3885
|
type Rewards = {
|
|
2828
3886
|
validationRewardAmount: string;
|
|
2829
3887
|
delegationRewardAmount: string;
|
|
@@ -2855,6 +3913,9 @@ type ActiveValidatorDetails = {
|
|
|
2855
3913
|
nodeId: string;
|
|
2856
3914
|
subnetId: string;
|
|
2857
3915
|
amountStaked: string;
|
|
3916
|
+
/**
|
|
3917
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
3918
|
+
*/
|
|
2858
3919
|
delegationFee?: string;
|
|
2859
3920
|
startTimestamp: number;
|
|
2860
3921
|
endTimestamp: number;
|
|
@@ -2862,15 +3923,37 @@ type ActiveValidatorDetails = {
|
|
|
2862
3923
|
* Present for AddPermissionlessValidatorTx
|
|
2863
3924
|
*/
|
|
2864
3925
|
blsCredentials?: BlsCredentials;
|
|
3926
|
+
/**
|
|
3927
|
+
* The percentage of this validator's stake amount to the total active stake.
|
|
3928
|
+
*/
|
|
2865
3929
|
stakePercentage: number;
|
|
3930
|
+
/**
|
|
3931
|
+
* The number of delegators linked to the validator.
|
|
3932
|
+
*/
|
|
2866
3933
|
delegatorCount: number;
|
|
3934
|
+
/**
|
|
3935
|
+
* The total amount in nAVAX delegated to the validator.
|
|
3936
|
+
*/
|
|
2867
3937
|
amountDelegated?: string;
|
|
3938
|
+
/**
|
|
3939
|
+
* The validator's uptime percentage, as observed by our internal node and measured over time.
|
|
3940
|
+
*/
|
|
2868
3941
|
uptimePerformance: number;
|
|
2869
3942
|
avalancheGoVersion?: string;
|
|
3943
|
+
/**
|
|
3944
|
+
* The amount of stake in nAVAX that can be delegated to this validator.
|
|
3945
|
+
*/
|
|
2870
3946
|
delegationCapacity?: string;
|
|
3947
|
+
/**
|
|
3948
|
+
* Estimated rewards for the validator if the validation is successful.
|
|
3949
|
+
*/
|
|
2871
3950
|
potentialRewards: Rewards;
|
|
2872
3951
|
validationStatus: ActiveValidatorDetails.validationStatus;
|
|
2873
3952
|
validatorHealth: ValidatorHealthDetails;
|
|
3953
|
+
/**
|
|
3954
|
+
* The geographical location of the validator node, if available.
|
|
3955
|
+
*/
|
|
3956
|
+
geolocation: Geolocation | null;
|
|
2874
3957
|
};
|
|
2875
3958
|
declare namespace ActiveValidatorDetails {
|
|
2876
3959
|
enum validationStatus {
|
|
@@ -2883,6 +3966,9 @@ type CompletedValidatorDetails = {
|
|
|
2883
3966
|
nodeId: string;
|
|
2884
3967
|
subnetId: string;
|
|
2885
3968
|
amountStaked: string;
|
|
3969
|
+
/**
|
|
3970
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
3971
|
+
*/
|
|
2886
3972
|
delegationFee?: string;
|
|
2887
3973
|
startTimestamp: number;
|
|
2888
3974
|
endTimestamp: number;
|
|
@@ -2906,6 +3992,9 @@ type PendingValidatorDetails = {
|
|
|
2906
3992
|
nodeId: string;
|
|
2907
3993
|
subnetId: string;
|
|
2908
3994
|
amountStaked: string;
|
|
3995
|
+
/**
|
|
3996
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
3997
|
+
*/
|
|
2909
3998
|
delegationFee?: string;
|
|
2910
3999
|
startTimestamp: number;
|
|
2911
4000
|
endTimestamp: number;
|
|
@@ -2926,6 +4015,9 @@ type RemovedValidatorDetails = {
|
|
|
2926
4015
|
nodeId: string;
|
|
2927
4016
|
subnetId: string;
|
|
2928
4017
|
amountStaked: string;
|
|
4018
|
+
/**
|
|
4019
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations.
|
|
4020
|
+
*/
|
|
2929
4021
|
delegationFee?: string;
|
|
2930
4022
|
startTimestamp: number;
|
|
2931
4023
|
endTimestamp: number;
|
|
@@ -2933,7 +4025,13 @@ type RemovedValidatorDetails = {
|
|
|
2933
4025
|
* Present for AddPermissionlessValidatorTx
|
|
2934
4026
|
*/
|
|
2935
4027
|
blsCredentials?: BlsCredentials;
|
|
4028
|
+
/**
|
|
4029
|
+
* The transaction hash that removed the permissioned subnet validator.
|
|
4030
|
+
*/
|
|
2936
4031
|
removeTxHash: string;
|
|
4032
|
+
/**
|
|
4033
|
+
* The timestamp of the transaction that removed the permissioned subnet validator.
|
|
4034
|
+
*/
|
|
2937
4035
|
removeTimestamp: number;
|
|
2938
4036
|
validationStatus: RemovedValidatorDetails.validationStatus;
|
|
2939
4037
|
};
|
|
@@ -3013,7 +4111,6 @@ type XChainAssetDetails = {
|
|
|
3013
4111
|
declare enum XChainId {
|
|
3014
4112
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
3015
4113
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
3016
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
3017
4114
|
X_CHAIN = "x-chain"
|
|
3018
4115
|
}
|
|
3019
4116
|
|
|
@@ -3084,7 +4181,7 @@ declare class PrimaryNetworkService {
|
|
|
3084
4181
|
*/
|
|
3085
4182
|
pageToken?: string;
|
|
3086
4183
|
/**
|
|
3087
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
4184
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
|
|
3088
4185
|
*/
|
|
3089
4186
|
pageSize?: number;
|
|
3090
4187
|
/**
|
|
@@ -3092,6 +4189,22 @@ declare class PrimaryNetworkService {
|
|
|
3092
4189
|
*/
|
|
3093
4190
|
sortOrder?: SortOrder;
|
|
3094
4191
|
}): CancelablePromise<ListBlockchainsResponse>;
|
|
4192
|
+
/**
|
|
4193
|
+
* Get blockchain details by ID
|
|
4194
|
+
* Get details of the blockchain registered on the network.
|
|
4195
|
+
* @returns Blockchain Successful response
|
|
4196
|
+
* @throws ApiError
|
|
4197
|
+
*/
|
|
4198
|
+
getBlockchainById({ blockchainId, network, }: {
|
|
4199
|
+
/**
|
|
4200
|
+
* The blockchain ID of the blockchain to retrieve.
|
|
4201
|
+
*/
|
|
4202
|
+
blockchainId: string;
|
|
4203
|
+
/**
|
|
4204
|
+
* Either mainnet or testnet/fuji.
|
|
4205
|
+
*/
|
|
4206
|
+
network: Network;
|
|
4207
|
+
}): CancelablePromise<Blockchain>;
|
|
3095
4208
|
/**
|
|
3096
4209
|
* List subnets
|
|
3097
4210
|
* Lists all subnets registered on the network.
|
|
@@ -3108,7 +4221,7 @@ declare class PrimaryNetworkService {
|
|
|
3108
4221
|
*/
|
|
3109
4222
|
pageToken?: string;
|
|
3110
4223
|
/**
|
|
3111
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
4224
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
|
|
3112
4225
|
*/
|
|
3113
4226
|
pageSize?: number;
|
|
3114
4227
|
/**
|
|
@@ -3134,7 +4247,7 @@ declare class PrimaryNetworkService {
|
|
|
3134
4247
|
}): CancelablePromise<Subnet>;
|
|
3135
4248
|
/**
|
|
3136
4249
|
* List validators
|
|
3137
|
-
* Lists details for validators. By default, returns details for all validators. Filterable by
|
|
4250
|
+
* 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.
|
|
3138
4251
|
* @returns ListValidatorDetailsResponse Successful response
|
|
3139
4252
|
* @throws ApiError
|
|
3140
4253
|
*/
|
|
@@ -3152,7 +4265,7 @@ declare class PrimaryNetworkService {
|
|
|
3152
4265
|
*/
|
|
3153
4266
|
pageSize?: number;
|
|
3154
4267
|
/**
|
|
3155
|
-
* A comma separated list of node ids to filter by.
|
|
4268
|
+
* A comma separated list of node ids to filter by. Supports substring matching.
|
|
3156
4269
|
*/
|
|
3157
4270
|
nodeIds?: string;
|
|
3158
4271
|
/**
|
|
@@ -3296,7 +4409,7 @@ declare class PrimaryNetworkService {
|
|
|
3296
4409
|
/**
|
|
3297
4410
|
* The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
|
|
3298
4411
|
*/
|
|
3299
|
-
l1ValidationId?:
|
|
4412
|
+
l1ValidationId?: string;
|
|
3300
4413
|
includeInactiveL1Validators?: boolean;
|
|
3301
4414
|
/**
|
|
3302
4415
|
* A valid node ID in format 'NodeID-HASH'.
|
|
@@ -3313,10 +4426,8 @@ declare enum BlockchainId {
|
|
|
3313
4426
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
3314
4427
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
3315
4428
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
3316
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
3317
4429
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
3318
4430
|
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
|
|
3319
|
-
V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
|
|
3320
4431
|
P_CHAIN = "p-chain",
|
|
3321
4432
|
X_CHAIN = "x-chain",
|
|
3322
4433
|
C_CHAIN = "c-chain"
|
|
@@ -3612,7 +4723,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3612
4723
|
* @returns ListPrimaryNetworkBlocksResponse Successful response
|
|
3613
4724
|
* @throws ApiError
|
|
3614
4725
|
*/
|
|
3615
|
-
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
|
|
4726
|
+
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
3616
4727
|
/**
|
|
3617
4728
|
* A primary network blockchain id or alias.
|
|
3618
4729
|
*/
|
|
@@ -3625,6 +4736,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3625
4736
|
* A primary network (P or X chain) nodeId.
|
|
3626
4737
|
*/
|
|
3627
4738
|
nodeId: string;
|
|
4739
|
+
/**
|
|
4740
|
+
* Query param for retrieving items after a specific timestamp.
|
|
4741
|
+
*/
|
|
4742
|
+
startTimestamp?: number;
|
|
4743
|
+
/**
|
|
4744
|
+
* Query param for retrieving items before a specific timestamp.
|
|
4745
|
+
*/
|
|
4746
|
+
endTimestamp?: number;
|
|
3628
4747
|
/**
|
|
3629
4748
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3630
4749
|
*/
|
|
@@ -3640,7 +4759,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3640
4759
|
* @returns ListPrimaryNetworkBlocksResponse Successful response
|
|
3641
4760
|
* @throws ApiError
|
|
3642
4761
|
*/
|
|
3643
|
-
listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
|
|
4762
|
+
listLatestPrimaryNetworkBlocks({ blockchainId, network, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
3644
4763
|
/**
|
|
3645
4764
|
* A primary network blockchain id or alias.
|
|
3646
4765
|
*/
|
|
@@ -3649,6 +4768,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
3649
4768
|
* Either mainnet or testnet/fuji.
|
|
3650
4769
|
*/
|
|
3651
4770
|
network: Network;
|
|
4771
|
+
/**
|
|
4772
|
+
* Query param for retrieving items after a specific timestamp.
|
|
4773
|
+
*/
|
|
4774
|
+
startTimestamp?: number;
|
|
4775
|
+
/**
|
|
4776
|
+
* Query param for retrieving items before a specific timestamp.
|
|
4777
|
+
*/
|
|
4778
|
+
endTimestamp?: number;
|
|
3652
4779
|
/**
|
|
3653
4780
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3654
4781
|
*/
|
|
@@ -3890,6 +5017,10 @@ type Utxo = {
|
|
|
3890
5017
|
* UTXO ID for this output.
|
|
3891
5018
|
*/
|
|
3892
5019
|
utxoId: string;
|
|
5020
|
+
/**
|
|
5021
|
+
* The bytes of the UTXO
|
|
5022
|
+
*/
|
|
5023
|
+
utxoBytes?: string;
|
|
3893
5024
|
/**
|
|
3894
5025
|
* Unix timestamp in seconds at which this output was consumed.
|
|
3895
5026
|
*/
|
|
@@ -4058,11 +5189,24 @@ type ListCChainAtomicTransactionsResponse = {
|
|
|
4058
5189
|
chainInfo: PrimaryNetworkChainInfo;
|
|
4059
5190
|
};
|
|
4060
5191
|
|
|
5192
|
+
type BlockchainInfo = {
|
|
5193
|
+
chainName: string;
|
|
5194
|
+
vmId: string;
|
|
5195
|
+
/**
|
|
5196
|
+
* 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
|
|
5197
|
+
*/
|
|
5198
|
+
genesisData?: (EvmGenesisDto | string);
|
|
5199
|
+
};
|
|
5200
|
+
|
|
4061
5201
|
type L1ValidatorDetailsTransaction = {
|
|
4062
5202
|
/**
|
|
4063
5203
|
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
4064
5204
|
*/
|
|
4065
5205
|
validationId: string;
|
|
5206
|
+
/**
|
|
5207
|
+
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
|
|
5208
|
+
*/
|
|
5209
|
+
validationIdHex: string;
|
|
4066
5210
|
nodeId: string;
|
|
4067
5211
|
subnetId: string;
|
|
4068
5212
|
/**
|
|
@@ -4074,7 +5218,7 @@ type L1ValidatorDetailsTransaction = {
|
|
|
4074
5218
|
*/
|
|
4075
5219
|
remainingBalance: number;
|
|
4076
5220
|
/**
|
|
4077
|
-
* The increase in L1 validator balance in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
|
|
5221
|
+
* The increase in L1 validator balance (nAVAX) in the current transaction. When the balance is returned after the L1 validator is disabled or removed, this value is negative
|
|
4078
5222
|
*/
|
|
4079
5223
|
balanceChange?: number;
|
|
4080
5224
|
blsCredentials?: Record<string, any>;
|
|
@@ -4104,6 +5248,9 @@ declare enum PChainTransactionType {
|
|
|
4104
5248
|
UNKNOWN = "UNKNOWN"
|
|
4105
5249
|
}
|
|
4106
5250
|
|
|
5251
|
+
/**
|
|
5252
|
+
* Indicates whether the UTXO is staked or transferable
|
|
5253
|
+
*/
|
|
4107
5254
|
declare enum UtxoType {
|
|
4108
5255
|
STAKE = "STAKE",
|
|
4109
5256
|
TRANSFER = "TRANSFER"
|
|
@@ -4131,6 +5278,10 @@ type PChainUtxo = {
|
|
|
4131
5278
|
* UTXO ID for this output.
|
|
4132
5279
|
*/
|
|
4133
5280
|
utxoId: string;
|
|
5281
|
+
/**
|
|
5282
|
+
* The bytes of the UTXO
|
|
5283
|
+
*/
|
|
5284
|
+
utxoBytes?: string;
|
|
4134
5285
|
/**
|
|
4135
5286
|
* @deprecated
|
|
4136
5287
|
*/
|
|
@@ -4141,16 +5292,43 @@ type PChainUtxo = {
|
|
|
4141
5292
|
assetId: string;
|
|
4142
5293
|
blockNumber: string;
|
|
4143
5294
|
blockTimestamp: number;
|
|
5295
|
+
/**
|
|
5296
|
+
* Block height in which the transaction consuming this UTXO was included
|
|
5297
|
+
*/
|
|
4144
5298
|
consumingBlockNumber?: string;
|
|
5299
|
+
/**
|
|
5300
|
+
* Timestamp in seconds at which this UTXO is used in a consuming transaction
|
|
5301
|
+
*/
|
|
4145
5302
|
consumingBlockTimestamp?: number;
|
|
5303
|
+
/**
|
|
5304
|
+
* Timestamp in seconds after which this UTXO can be consumed
|
|
5305
|
+
*/
|
|
4146
5306
|
platformLocktime?: number;
|
|
5307
|
+
/**
|
|
5308
|
+
* The index of the UTXO in the transaction
|
|
5309
|
+
*/
|
|
4147
5310
|
outputIndex: number;
|
|
4148
5311
|
rewardType?: RewardType;
|
|
5312
|
+
/**
|
|
5313
|
+
* Timestamp in seconds before which a UTXO can only be used for staking transactions. After stakeable locktime, a UTXO can be used for anything
|
|
5314
|
+
*/
|
|
4149
5315
|
stakeableLocktime?: number;
|
|
4150
5316
|
staked?: boolean;
|
|
5317
|
+
/**
|
|
5318
|
+
* The minimum number of signatures required to spend this UTXO
|
|
5319
|
+
*/
|
|
4151
5320
|
threshold?: number;
|
|
5321
|
+
/**
|
|
5322
|
+
* The hash of the transaction that created this UTXO
|
|
5323
|
+
*/
|
|
4152
5324
|
txHash: string;
|
|
5325
|
+
/**
|
|
5326
|
+
* Timestamp in seconds after which the staked UTXO will be unlocked.
|
|
5327
|
+
*/
|
|
4153
5328
|
utxoEndTimestamp?: number;
|
|
5329
|
+
/**
|
|
5330
|
+
* Timestamp in seconds at which the staked UTXO was locked.
|
|
5331
|
+
*/
|
|
4154
5332
|
utxoStartTimestamp?: number;
|
|
4155
5333
|
utxoType: UtxoType;
|
|
4156
5334
|
};
|
|
@@ -4162,12 +5340,21 @@ type PChainTransaction = {
|
|
|
4162
5340
|
txHash: string;
|
|
4163
5341
|
txType: PChainTransactionType;
|
|
4164
5342
|
/**
|
|
4165
|
-
* The block
|
|
5343
|
+
* The block creation (proposal) timestamp in seconds
|
|
4166
5344
|
*/
|
|
4167
5345
|
blockTimestamp: number;
|
|
5346
|
+
/**
|
|
5347
|
+
* The height of the block in which the transaction was included
|
|
5348
|
+
*/
|
|
4168
5349
|
blockNumber: string;
|
|
4169
5350
|
blockHash: string;
|
|
5351
|
+
/**
|
|
5352
|
+
* The consumed UTXOs of the transaction
|
|
5353
|
+
*/
|
|
4170
5354
|
consumedUtxos: Array<PChainUtxo>;
|
|
5355
|
+
/**
|
|
5356
|
+
* The newly created UTXOs of the transaction
|
|
5357
|
+
*/
|
|
4171
5358
|
emittedUtxos: Array<PChainUtxo>;
|
|
4172
5359
|
/**
|
|
4173
5360
|
* Source chain for an atomic transaction.
|
|
@@ -4178,11 +5365,11 @@ type PChainTransaction = {
|
|
|
4178
5365
|
*/
|
|
4179
5366
|
destinationChain?: string;
|
|
4180
5367
|
/**
|
|
4181
|
-
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
5368
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX present in the newly created UTXOs of the transaction
|
|
4182
5369
|
*/
|
|
4183
5370
|
value: Array<AssetAmount>;
|
|
4184
5371
|
/**
|
|
4185
|
-
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
5372
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The nAVAX amount burned in a transaction, partially or fully contributing to the transaction fee
|
|
4186
5373
|
*/
|
|
4187
5374
|
amountBurned: Array<AssetAmount>;
|
|
4188
5375
|
/**
|
|
@@ -4190,7 +5377,7 @@ type PChainTransaction = {
|
|
|
4190
5377
|
*/
|
|
4191
5378
|
amountStaked: Array<AssetAmount>;
|
|
4192
5379
|
/**
|
|
4193
|
-
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID.
|
|
5380
|
+
* A list of objects containing P-chain Asset basic info and the amount of that Asset ID. The amount of nAVAX locked for pay-as-you-go continuous fees to sustain L1 validation.
|
|
4194
5381
|
*/
|
|
4195
5382
|
amountL1ValidatorBalanceBurned: Array<AssetAmount>;
|
|
4196
5383
|
/**
|
|
@@ -4202,11 +5389,11 @@ type PChainTransaction = {
|
|
|
4202
5389
|
*/
|
|
4203
5390
|
endTimestamp?: number;
|
|
4204
5391
|
/**
|
|
4205
|
-
* Present for AddValidatorTx, AddPermissionlessValidatorTx
|
|
5392
|
+
* The percentage of total estimated delegator rewards allocated to validator nodes for supporting delegations. Present for AddValidatorTx, AddPermissionlessValidatorTx
|
|
4206
5393
|
*/
|
|
4207
5394
|
delegationFeePercent?: string;
|
|
4208
5395
|
/**
|
|
4209
|
-
* Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
5396
|
+
* The NodeID of the validator node linked to the stake transaction. Present for AddValidatorTx, AddSubnetValidatorTx, RemoveSubnetValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
4210
5397
|
*/
|
|
4211
5398
|
nodeId?: string;
|
|
4212
5399
|
/**
|
|
@@ -4222,14 +5409,17 @@ type PChainTransaction = {
|
|
|
4222
5409
|
*/
|
|
4223
5410
|
l1ValidatorDetails?: Array<L1ValidatorDetailsTransaction>;
|
|
4224
5411
|
/**
|
|
4225
|
-
* Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
5412
|
+
* Estimated reward from the staking transaction, if successful. Present for AddValidatorTx, AddPermissionlessValidatorTx, AddDelegatorTx
|
|
4226
5413
|
*/
|
|
4227
5414
|
estimatedReward?: string;
|
|
5415
|
+
/**
|
|
5416
|
+
* Reward transaction hash for the completed validations or delegations
|
|
5417
|
+
*/
|
|
4228
5418
|
rewardTxHash?: string;
|
|
4229
5419
|
rewardAddresses?: Array<string>;
|
|
4230
5420
|
memo?: string;
|
|
4231
5421
|
/**
|
|
4232
|
-
*
|
|
5422
|
+
* Staking transaction corresponding to the RewardValidatorTx
|
|
4233
5423
|
*/
|
|
4234
5424
|
stakingTxHash?: string;
|
|
4235
5425
|
/**
|
|
@@ -4237,9 +5427,13 @@ type PChainTransaction = {
|
|
|
4237
5427
|
*/
|
|
4238
5428
|
subnetOwnershipInfo?: SubnetOwnershipInfo;
|
|
4239
5429
|
/**
|
|
4240
|
-
* Present for AddPermissionlessValidatorTx
|
|
5430
|
+
* Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
|
|
4241
5431
|
*/
|
|
4242
5432
|
blsCredentials?: BlsCredentials;
|
|
5433
|
+
/**
|
|
5434
|
+
* Details of the blockchain that was created in the CreateChainTx
|
|
5435
|
+
*/
|
|
5436
|
+
blockchainInfo?: BlockchainInfo;
|
|
4243
5437
|
};
|
|
4244
5438
|
|
|
4245
5439
|
type ListPChainTransactionsResponse = {
|
|
@@ -4610,6 +5804,18 @@ type ListUtxosResponse = {
|
|
|
4610
5804
|
chainInfo: PrimaryNetworkChainInfo;
|
|
4611
5805
|
};
|
|
4612
5806
|
|
|
5807
|
+
type PrimaryNetworkAddressesBodyDto = {
|
|
5808
|
+
/**
|
|
5809
|
+
* Comma-separated list of primary network addresses
|
|
5810
|
+
*/
|
|
5811
|
+
addresses: string;
|
|
5812
|
+
};
|
|
5813
|
+
|
|
5814
|
+
declare enum UtxosSortByOption {
|
|
5815
|
+
TIMESTAMP = "timestamp",
|
|
5816
|
+
AMOUNT = "amount"
|
|
5817
|
+
}
|
|
5818
|
+
|
|
4613
5819
|
declare class PrimaryNetworkUtxOsService {
|
|
4614
5820
|
readonly httpRequest: BaseHttpRequest;
|
|
4615
5821
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -4619,7 +5825,7 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
4619
5825
|
* @returns any Successful response
|
|
4620
5826
|
* @throws ApiError
|
|
4621
5827
|
*/
|
|
4622
|
-
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
|
|
5828
|
+
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
|
|
4623
5829
|
/**
|
|
4624
5830
|
* A primary network blockchain id or alias.
|
|
4625
5831
|
*/
|
|
@@ -4644,10 +5850,63 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
4644
5850
|
* Asset ID for any asset (only applicable X-Chain)
|
|
4645
5851
|
*/
|
|
4646
5852
|
assetId?: string;
|
|
5853
|
+
/**
|
|
5854
|
+
* The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
|
|
5855
|
+
*/
|
|
5856
|
+
minUtxoAmount?: number;
|
|
5857
|
+
/**
|
|
5858
|
+
* Boolean filter to include spent UTXOs.
|
|
5859
|
+
*/
|
|
5860
|
+
includeSpent?: boolean;
|
|
5861
|
+
/**
|
|
5862
|
+
* Which property to sort by, in conjunction with sortOrder.
|
|
5863
|
+
*/
|
|
5864
|
+
sortBy?: UtxosSortByOption;
|
|
5865
|
+
/**
|
|
5866
|
+
* 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.
|
|
5867
|
+
*/
|
|
5868
|
+
sortOrder?: SortOrder;
|
|
5869
|
+
}): CancelablePromise<(ListPChainUtxosResponse | ListUtxosResponse)>;
|
|
5870
|
+
/**
|
|
5871
|
+
* List UTXOs v2 - Supports querying for more addresses
|
|
5872
|
+
* Lists UTXOs on one of the Primary Network chains for the supplied addresses. This v2 route supports increased page size and address limit.
|
|
5873
|
+
* @returns any Successful response
|
|
5874
|
+
* @throws ApiError
|
|
5875
|
+
*/
|
|
5876
|
+
getUtxosByAddressesV2({ blockchainId, network, requestBody, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
|
|
5877
|
+
/**
|
|
5878
|
+
* A primary network blockchain id or alias.
|
|
5879
|
+
*/
|
|
5880
|
+
blockchainId: BlockchainId;
|
|
5881
|
+
/**
|
|
5882
|
+
* Either mainnet or testnet/fuji.
|
|
5883
|
+
*/
|
|
5884
|
+
network: Network;
|
|
5885
|
+
requestBody: PrimaryNetworkAddressesBodyDto;
|
|
5886
|
+
/**
|
|
5887
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
5888
|
+
*/
|
|
5889
|
+
pageToken?: string;
|
|
5890
|
+
/**
|
|
5891
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 1024.
|
|
5892
|
+
*/
|
|
5893
|
+
pageSize?: number;
|
|
5894
|
+
/**
|
|
5895
|
+
* Asset ID for any asset (only applicable X-Chain)
|
|
5896
|
+
*/
|
|
5897
|
+
assetId?: string;
|
|
5898
|
+
/**
|
|
5899
|
+
* The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
|
|
5900
|
+
*/
|
|
5901
|
+
minUtxoAmount?: number;
|
|
4647
5902
|
/**
|
|
4648
5903
|
* Boolean filter to include spent UTXOs.
|
|
4649
5904
|
*/
|
|
4650
5905
|
includeSpent?: boolean;
|
|
5906
|
+
/**
|
|
5907
|
+
* Which property to sort by, in conjunction with sortOrder.
|
|
5908
|
+
*/
|
|
5909
|
+
sortBy?: UtxosSortByOption;
|
|
4651
5910
|
/**
|
|
4652
5911
|
* 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.
|
|
4653
5912
|
*/
|
|
@@ -4761,10 +6020,30 @@ type SignatureAggregationResponse = {
|
|
|
4761
6020
|
};
|
|
4762
6021
|
|
|
4763
6022
|
type SignatureAggregatorRequest = {
|
|
4764
|
-
|
|
6023
|
+
/**
|
|
6024
|
+
* Either Message or Justification must be provided. Hex-encoded message, optionally prefixed with "0x"
|
|
6025
|
+
*/
|
|
6026
|
+
message?: string;
|
|
6027
|
+
/**
|
|
6028
|
+
* Either Justification or Message must be provided. Hex-encoded justification, optionally prefixed with "0x"
|
|
6029
|
+
*/
|
|
4765
6030
|
justification?: string;
|
|
6031
|
+
/**
|
|
6032
|
+
* Optional hex or cb58 encoded signing subnet ID. If omitted will default to the subnetID of the source blockchain.
|
|
6033
|
+
*/
|
|
4766
6034
|
signingSubnetId?: string;
|
|
6035
|
+
/**
|
|
6036
|
+
* 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.
|
|
6037
|
+
*/
|
|
4767
6038
|
quorumPercentage?: number;
|
|
6039
|
+
/**
|
|
6040
|
+
* 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.
|
|
6041
|
+
*/
|
|
6042
|
+
quorumPercentageBuffer?: number;
|
|
6043
|
+
/**
|
|
6044
|
+
* 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.
|
|
6045
|
+
*/
|
|
6046
|
+
pChainHeight?: number;
|
|
4768
6047
|
};
|
|
4769
6048
|
|
|
4770
6049
|
declare class SignatureAggregatorService {
|
|
@@ -4776,9 +6055,29 @@ declare class SignatureAggregatorService {
|
|
|
4776
6055
|
* @returns SignatureAggregationResponse Successful response
|
|
4777
6056
|
* @throws ApiError
|
|
4778
6057
|
*/
|
|
4779
|
-
aggregateSignatures({ requestBody, }: {
|
|
6058
|
+
aggregateSignatures({ network, requestBody, }: {
|
|
6059
|
+
/**
|
|
6060
|
+
* Either mainnet or testnet/fuji.
|
|
6061
|
+
*/
|
|
6062
|
+
network: Network;
|
|
4780
6063
|
requestBody: SignatureAggregatorRequest;
|
|
4781
6064
|
}): CancelablePromise<SignatureAggregationResponse>;
|
|
6065
|
+
/**
|
|
6066
|
+
* Get Aggregated Signatures
|
|
6067
|
+
* Get Aggregated Signatures for a P-Chain L1 related Warp Message.
|
|
6068
|
+
* @returns SignatureAggregationResponse Successful response
|
|
6069
|
+
* @throws ApiError
|
|
6070
|
+
*/
|
|
6071
|
+
getAggregatedSignatures({ network, txHash, }: {
|
|
6072
|
+
/**
|
|
6073
|
+
* Either mainnet or testnet/fuji.
|
|
6074
|
+
*/
|
|
6075
|
+
network: Network;
|
|
6076
|
+
/**
|
|
6077
|
+
* A primary network (P or X chain) transaction hash.
|
|
6078
|
+
*/
|
|
6079
|
+
txHash: string;
|
|
6080
|
+
}): CancelablePromise<SignatureAggregationResponse>;
|
|
4782
6081
|
}
|
|
4783
6082
|
|
|
4784
6083
|
type TeleporterDestinationTransaction = {
|
|
@@ -4912,15 +6211,17 @@ type ListTeleporterMessagesResponse = {
|
|
|
4912
6211
|
* 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.
|
|
4913
6212
|
*/
|
|
4914
6213
|
nextPageToken?: string;
|
|
4915
|
-
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
|
|
6214
|
+
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
4916
6215
|
};
|
|
4917
6216
|
|
|
4918
6217
|
declare class TeleporterService {
|
|
4919
6218
|
readonly httpRequest: BaseHttpRequest;
|
|
4920
6219
|
constructor(httpRequest: BaseHttpRequest);
|
|
4921
6220
|
/**
|
|
4922
|
-
*
|
|
4923
|
-
* Gets a teleporter message by message ID.
|
|
6221
|
+
* @deprecated
|
|
6222
|
+
* **[Deprecated]** Gets a teleporter message by message ID.
|
|
6223
|
+
*
|
|
6224
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages/:messageId endpoint instead** .
|
|
4924
6225
|
* @returns any Successful response
|
|
4925
6226
|
* @throws ApiError
|
|
4926
6227
|
*/
|
|
@@ -4931,8 +6232,10 @@ declare class TeleporterService {
|
|
|
4931
6232
|
messageId: string;
|
|
4932
6233
|
}): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
|
|
4933
6234
|
/**
|
|
4934
|
-
*
|
|
4935
|
-
* Lists teleporter messages. Ordered by timestamp in
|
|
6235
|
+
* @deprecated
|
|
6236
|
+
* **[Deprecated]** Lists teleporter messages. Ordered by timestamp in descending order.
|
|
6237
|
+
*
|
|
6238
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages endpoint instead** .
|
|
4936
6239
|
* @returns ListTeleporterMessagesResponse Successful response
|
|
4937
6240
|
* @throws ApiError
|
|
4938
6241
|
*/
|
|
@@ -4971,8 +6274,10 @@ declare class TeleporterService {
|
|
|
4971
6274
|
network?: Network;
|
|
4972
6275
|
}): CancelablePromise<ListTeleporterMessagesResponse>;
|
|
4973
6276
|
/**
|
|
4974
|
-
*
|
|
4975
|
-
* Lists teleporter messages by address. Ordered by
|
|
6277
|
+
* @deprecated
|
|
6278
|
+
* **[Deprecated]** Lists teleporter messages by address. Ordered by timestamp in descending order.
|
|
6279
|
+
*
|
|
6280
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/icm/addresses/:address/messages endpoint instead** .
|
|
4976
6281
|
* @returns ListTeleporterMessagesResponse Successful response
|
|
4977
6282
|
* @throws ApiError
|
|
4978
6283
|
*/
|
|
@@ -5005,68 +6310,212 @@ type AddressesChangeRequest = {
|
|
|
5005
6310
|
|
|
5006
6311
|
type AddressActivityMetadata = {
|
|
5007
6312
|
/**
|
|
5008
|
-
*
|
|
6313
|
+
* Array of hexadecimal strings of the event signatures.
|
|
6314
|
+
*/
|
|
6315
|
+
eventSignatures?: Array<string>;
|
|
6316
|
+
/**
|
|
6317
|
+
* 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.
|
|
5009
6318
|
*/
|
|
5010
6319
|
addresses: Array<string>;
|
|
6320
|
+
};
|
|
6321
|
+
|
|
6322
|
+
type EVMAddressActivityRequest = {
|
|
6323
|
+
eventType: EVMAddressActivityRequest.eventType;
|
|
6324
|
+
url: string;
|
|
6325
|
+
name?: string;
|
|
6326
|
+
description?: string;
|
|
6327
|
+
chainId: string;
|
|
6328
|
+
metadata: AddressActivityMetadata;
|
|
5011
6329
|
/**
|
|
5012
|
-
*
|
|
6330
|
+
* Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
|
|
5013
6331
|
*/
|
|
5014
|
-
|
|
6332
|
+
includeInternalTxs?: boolean;
|
|
6333
|
+
/**
|
|
6334
|
+
* Whether to include logs in the webhook payload.
|
|
6335
|
+
*/
|
|
6336
|
+
includeLogs?: boolean;
|
|
5015
6337
|
};
|
|
6338
|
+
declare namespace EVMAddressActivityRequest {
|
|
6339
|
+
enum eventType {
|
|
6340
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
6341
|
+
}
|
|
6342
|
+
}
|
|
5016
6343
|
|
|
5017
|
-
declare enum
|
|
6344
|
+
declare enum AddressActivityEventType {
|
|
5018
6345
|
ADDRESS_ACTIVITY = "address_activity"
|
|
5019
6346
|
}
|
|
5020
6347
|
|
|
5021
|
-
|
|
6348
|
+
declare enum WebhookStatusType {
|
|
6349
|
+
ACTIVE = "active",
|
|
6350
|
+
INACTIVE = "inactive"
|
|
6351
|
+
}
|
|
6352
|
+
|
|
6353
|
+
type EVMAddressActivityResponse = {
|
|
6354
|
+
id: string;
|
|
5022
6355
|
url: string;
|
|
5023
6356
|
chainId: string;
|
|
5024
|
-
|
|
6357
|
+
status: WebhookStatusType;
|
|
6358
|
+
createdAt: number;
|
|
6359
|
+
name: string;
|
|
6360
|
+
description: string;
|
|
6361
|
+
eventType: AddressActivityEventType;
|
|
5025
6362
|
metadata: AddressActivityMetadata;
|
|
5026
|
-
name?: string;
|
|
5027
|
-
description?: string;
|
|
5028
6363
|
/**
|
|
5029
|
-
* Whether to include traces in the webhook payload.
|
|
6364
|
+
* Whether to include traces in the webhook payload.
|
|
6365
|
+
*/
|
|
6366
|
+
includeInternalTxs?: boolean;
|
|
6367
|
+
/**
|
|
6368
|
+
* Whether to include logs in the webhook payload.
|
|
6369
|
+
*/
|
|
6370
|
+
includeLogs?: boolean;
|
|
6371
|
+
};
|
|
6372
|
+
|
|
6373
|
+
type ListWebhookAddressesResponse = {
|
|
6374
|
+
/**
|
|
6375
|
+
* 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.
|
|
6376
|
+
*/
|
|
6377
|
+
nextPageToken?: string;
|
|
6378
|
+
addresses: Array<string>;
|
|
6379
|
+
totalAddresses: number;
|
|
6380
|
+
};
|
|
6381
|
+
|
|
6382
|
+
declare enum PrimaryNetworkAddressActivityEventType {
|
|
6383
|
+
PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
|
|
6384
|
+
}
|
|
6385
|
+
|
|
6386
|
+
/**
|
|
6387
|
+
* The type of key to monitor for the address activity event type.
|
|
6388
|
+
*/
|
|
6389
|
+
declare enum PlatformAddressActivityKeyType {
|
|
6390
|
+
ADDRESSES = "addresses"
|
|
6391
|
+
}
|
|
6392
|
+
|
|
6393
|
+
/**
|
|
6394
|
+
* Array of address activity sub-event types
|
|
6395
|
+
*/
|
|
6396
|
+
declare enum PrimaryNetworkAddressActivitySubEventType {
|
|
6397
|
+
BALANCE_CHANGE = "balance_change",
|
|
6398
|
+
BALANCE_THRESHOLD = "balance_threshold",
|
|
6399
|
+
REWARD_DISTRIBUTION = "reward_distribution"
|
|
6400
|
+
}
|
|
6401
|
+
|
|
6402
|
+
type PrimaryNetworkAddressActivitySubEvents = {
|
|
6403
|
+
addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
|
|
6404
|
+
};
|
|
6405
|
+
|
|
6406
|
+
/**
|
|
6407
|
+
* Type of balance to monitor
|
|
6408
|
+
*/
|
|
6409
|
+
declare enum CommonBalanceType {
|
|
6410
|
+
UNLOCKED_UNSTAKED = "unlockedUnstaked",
|
|
6411
|
+
UNLOCKED_STAKED = "unlockedStaked",
|
|
6412
|
+
LOCKED_PLATFORM = "lockedPlatform",
|
|
6413
|
+
LOCKED_STAKEABLE = "lockedStakeable",
|
|
6414
|
+
LOCKED_STAKED = "lockedStaked",
|
|
6415
|
+
PENDING_STAKED = "pendingStaked",
|
|
6416
|
+
UNLOCKED = "unlocked",
|
|
6417
|
+
LOCKED = "locked",
|
|
6418
|
+
ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
|
|
6419
|
+
ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
|
|
6420
|
+
}
|
|
6421
|
+
|
|
6422
|
+
type PrimaryNetworkBalanceThresholdFilter = {
|
|
6423
|
+
balanceType: CommonBalanceType;
|
|
6424
|
+
/**
|
|
6425
|
+
* Threshold for balance corresponding to balanceType in nAVAX
|
|
6426
|
+
*/
|
|
6427
|
+
balanceThreshold: string;
|
|
6428
|
+
};
|
|
6429
|
+
|
|
6430
|
+
type PrimaryNetworkAddressActivityMetadata = {
|
|
6431
|
+
/**
|
|
6432
|
+
* Array of hexadecimal strings of the event signatures.
|
|
6433
|
+
*/
|
|
6434
|
+
eventSignatures?: Array<string>;
|
|
6435
|
+
keyType: PlatformAddressActivityKeyType;
|
|
6436
|
+
/**
|
|
6437
|
+
* 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.
|
|
6438
|
+
*/
|
|
6439
|
+
keys: Array<string>;
|
|
6440
|
+
/**
|
|
6441
|
+
* Sub-events to monitor
|
|
6442
|
+
*/
|
|
6443
|
+
subEvents: PrimaryNetworkAddressActivitySubEvents;
|
|
6444
|
+
/**
|
|
6445
|
+
* Balance threshold filter
|
|
6446
|
+
*/
|
|
6447
|
+
balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
|
|
6448
|
+
};
|
|
6449
|
+
|
|
6450
|
+
type PrimaryNetworkAddressActivityResponse = {
|
|
6451
|
+
id: string;
|
|
6452
|
+
url: string;
|
|
6453
|
+
chainId: string;
|
|
6454
|
+
status: WebhookStatusType;
|
|
6455
|
+
createdAt: number;
|
|
6456
|
+
name: string;
|
|
6457
|
+
description: string;
|
|
6458
|
+
eventType: PrimaryNetworkAddressActivityEventType;
|
|
6459
|
+
metadata: PrimaryNetworkAddressActivityMetadata;
|
|
6460
|
+
};
|
|
6461
|
+
|
|
6462
|
+
declare enum ValidatorActivityEventType {
|
|
6463
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6464
|
+
}
|
|
6465
|
+
|
|
6466
|
+
/**
|
|
6467
|
+
* The type of key to monitor for the validator activity event type.
|
|
6468
|
+
*/
|
|
6469
|
+
declare enum ValidatorActivityKeyType {
|
|
6470
|
+
NODE_ID = "nodeId",
|
|
6471
|
+
SUBNET_ID = "subnetId"
|
|
6472
|
+
}
|
|
6473
|
+
|
|
6474
|
+
type ValidatorActivitySubEvents = {
|
|
6475
|
+
/**
|
|
6476
|
+
* Array of validator activity sub-event types
|
|
6477
|
+
*/
|
|
6478
|
+
validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
|
|
6479
|
+
};
|
|
6480
|
+
|
|
6481
|
+
type ValidatorActivityMetadata = {
|
|
6482
|
+
/**
|
|
6483
|
+
* Array of hexadecimal strings of the event signatures.
|
|
6484
|
+
*/
|
|
6485
|
+
eventSignatures?: Array<string>;
|
|
6486
|
+
keyType: ValidatorActivityKeyType;
|
|
6487
|
+
/**
|
|
6488
|
+
* Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
|
|
5030
6489
|
*/
|
|
5031
|
-
|
|
6490
|
+
keys: Array<string>;
|
|
5032
6491
|
/**
|
|
5033
|
-
*
|
|
6492
|
+
* Sub-events to monitor
|
|
5034
6493
|
*/
|
|
5035
|
-
|
|
5036
|
-
};
|
|
5037
|
-
|
|
5038
|
-
type ListWebhookAddressesResponse = {
|
|
6494
|
+
subEvents: ValidatorActivitySubEvents;
|
|
5039
6495
|
/**
|
|
5040
|
-
*
|
|
6496
|
+
* Array of node IDs to filter the events
|
|
5041
6497
|
*/
|
|
5042
|
-
|
|
5043
|
-
addresses: Array<string>;
|
|
5044
|
-
totalAddresses: number;
|
|
5045
|
-
};
|
|
5046
|
-
|
|
5047
|
-
declare enum WebhookStatusType {
|
|
5048
|
-
ACTIVE = "active",
|
|
5049
|
-
INACTIVE = "inactive"
|
|
5050
|
-
}
|
|
5051
|
-
|
|
5052
|
-
type WebhookResponse = {
|
|
5053
|
-
id: string;
|
|
5054
|
-
eventType: EventType;
|
|
5055
|
-
metadata: AddressActivityMetadata;
|
|
6498
|
+
nodeIds?: Array<string>;
|
|
5056
6499
|
/**
|
|
5057
|
-
*
|
|
6500
|
+
* Array of subnet IDs to filter the events
|
|
5058
6501
|
*/
|
|
5059
|
-
|
|
6502
|
+
subnetIds?: Array<string>;
|
|
5060
6503
|
/**
|
|
5061
|
-
*
|
|
6504
|
+
* L1 validator fee balance threshold in nAVAX
|
|
5062
6505
|
*/
|
|
5063
|
-
|
|
6506
|
+
l1ValidatorFeeBalanceThreshold?: string;
|
|
6507
|
+
};
|
|
6508
|
+
|
|
6509
|
+
type ValidatorActivityResponse = {
|
|
6510
|
+
id: string;
|
|
5064
6511
|
url: string;
|
|
5065
6512
|
chainId: string;
|
|
5066
6513
|
status: WebhookStatusType;
|
|
5067
6514
|
createdAt: number;
|
|
5068
6515
|
name: string;
|
|
5069
6516
|
description: string;
|
|
6517
|
+
eventType: ValidatorActivityEventType;
|
|
6518
|
+
metadata: ValidatorActivityMetadata;
|
|
5070
6519
|
};
|
|
5071
6520
|
|
|
5072
6521
|
type ListWebhooksResponse = {
|
|
@@ -5074,8 +6523,31 @@ type ListWebhooksResponse = {
|
|
|
5074
6523
|
* 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.
|
|
5075
6524
|
*/
|
|
5076
6525
|
nextPageToken?: string;
|
|
5077
|
-
webhooks: Array<
|
|
6526
|
+
webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6527
|
+
};
|
|
6528
|
+
|
|
6529
|
+
declare enum PrimaryNetworkType {
|
|
6530
|
+
MAINNET = "mainnet",
|
|
6531
|
+
FUJI = "fuji"
|
|
6532
|
+
}
|
|
6533
|
+
|
|
6534
|
+
type PrimaryNetworkAddressActivityRequest = {
|
|
6535
|
+
eventType: PrimaryNetworkAddressActivityRequest.eventType;
|
|
6536
|
+
url: string;
|
|
6537
|
+
name?: string;
|
|
6538
|
+
description?: string;
|
|
6539
|
+
network: PrimaryNetworkType;
|
|
6540
|
+
chainId: string;
|
|
6541
|
+
/**
|
|
6542
|
+
* Metadata for platform address activity event
|
|
6543
|
+
*/
|
|
6544
|
+
metadata: PrimaryNetworkAddressActivityMetadata;
|
|
5078
6545
|
};
|
|
6546
|
+
declare namespace PrimaryNetworkAddressActivityRequest {
|
|
6547
|
+
enum eventType {
|
|
6548
|
+
PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
|
|
6549
|
+
}
|
|
6550
|
+
}
|
|
5079
6551
|
|
|
5080
6552
|
type SharedSecretsResponse = {
|
|
5081
6553
|
secret: string;
|
|
@@ -5093,6 +6565,23 @@ type UpdateWebhookRequest = {
|
|
|
5093
6565
|
includeLogs?: boolean;
|
|
5094
6566
|
};
|
|
5095
6567
|
|
|
6568
|
+
type ValidatorActivityRequest = {
|
|
6569
|
+
eventType: ValidatorActivityRequest.eventType;
|
|
6570
|
+
url: string;
|
|
6571
|
+
name?: string;
|
|
6572
|
+
description?: string;
|
|
6573
|
+
network: PrimaryNetworkType;
|
|
6574
|
+
/**
|
|
6575
|
+
* Metadata for platform validator activity event
|
|
6576
|
+
*/
|
|
6577
|
+
metadata: ValidatorActivityMetadata;
|
|
6578
|
+
};
|
|
6579
|
+
declare namespace ValidatorActivityRequest {
|
|
6580
|
+
enum eventType {
|
|
6581
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6582
|
+
}
|
|
6583
|
+
}
|
|
6584
|
+
|
|
5096
6585
|
declare enum WebhookStatus {
|
|
5097
6586
|
ACTIVE = "active",
|
|
5098
6587
|
INACTIVE = "inactive"
|
|
@@ -5104,12 +6593,12 @@ declare class WebhooksService {
|
|
|
5104
6593
|
/**
|
|
5105
6594
|
* Create a webhook
|
|
5106
6595
|
* Create a new webhook.
|
|
5107
|
-
* @returns
|
|
6596
|
+
* @returns any Successful response
|
|
5108
6597
|
* @throws ApiError
|
|
5109
6598
|
*/
|
|
5110
6599
|
createWebhook({ requestBody, }: {
|
|
5111
|
-
requestBody:
|
|
5112
|
-
}): CancelablePromise<
|
|
6600
|
+
requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
|
|
6601
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
5113
6602
|
/**
|
|
5114
6603
|
* List webhooks
|
|
5115
6604
|
* Lists webhooks for the user.
|
|
@@ -5133,7 +6622,7 @@ declare class WebhooksService {
|
|
|
5133
6622
|
/**
|
|
5134
6623
|
* Get a webhook by ID
|
|
5135
6624
|
* Retrieves a webhook by ID.
|
|
5136
|
-
* @returns
|
|
6625
|
+
* @returns any Successful response
|
|
5137
6626
|
* @throws ApiError
|
|
5138
6627
|
*/
|
|
5139
6628
|
getWebhook({ id, }: {
|
|
@@ -5141,11 +6630,11 @@ declare class WebhooksService {
|
|
|
5141
6630
|
* The webhook identifier.
|
|
5142
6631
|
*/
|
|
5143
6632
|
id: string;
|
|
5144
|
-
}): CancelablePromise<
|
|
6633
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
5145
6634
|
/**
|
|
5146
6635
|
* Deactivate a webhook
|
|
5147
6636
|
* Deactivates a webhook by ID.
|
|
5148
|
-
* @returns
|
|
6637
|
+
* @returns any Successful response
|
|
5149
6638
|
* @throws ApiError
|
|
5150
6639
|
*/
|
|
5151
6640
|
deactivateWebhook({ id, }: {
|
|
@@ -5153,11 +6642,11 @@ declare class WebhooksService {
|
|
|
5153
6642
|
* The webhook identifier.
|
|
5154
6643
|
*/
|
|
5155
6644
|
id: string;
|
|
5156
|
-
}): CancelablePromise<
|
|
6645
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
5157
6646
|
/**
|
|
5158
6647
|
* Update a webhook
|
|
5159
6648
|
* Updates an existing webhook.
|
|
5160
|
-
* @returns
|
|
6649
|
+
* @returns any Successful response
|
|
5161
6650
|
* @throws ApiError
|
|
5162
6651
|
*/
|
|
5163
6652
|
updateWebhook({ id, requestBody, }: {
|
|
@@ -5166,14 +6655,14 @@ declare class WebhooksService {
|
|
|
5166
6655
|
*/
|
|
5167
6656
|
id: string;
|
|
5168
6657
|
requestBody: UpdateWebhookRequest;
|
|
5169
|
-
}): CancelablePromise<
|
|
6658
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
5170
6659
|
/**
|
|
5171
|
-
* Generate a shared secret
|
|
5172
|
-
* Generates a new shared secret.
|
|
6660
|
+
* Generate or rotate a shared secret
|
|
6661
|
+
* Generates a new shared secret or rotate an existing one.
|
|
5173
6662
|
* @returns SharedSecretsResponse Successful response
|
|
5174
6663
|
* @throws ApiError
|
|
5175
6664
|
*/
|
|
5176
|
-
|
|
6665
|
+
generateOrRotateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
5177
6666
|
/**
|
|
5178
6667
|
* Get a shared secret
|
|
5179
6668
|
* Get a previously generated shared secret.
|
|
@@ -5182,9 +6671,9 @@ declare class WebhooksService {
|
|
|
5182
6671
|
*/
|
|
5183
6672
|
getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
5184
6673
|
/**
|
|
5185
|
-
* Add addresses to webhook
|
|
5186
|
-
* Add addresses to webhook.
|
|
5187
|
-
* @returns
|
|
6674
|
+
* Add addresses to EVM activity webhook
|
|
6675
|
+
* Add addresses to webhook. Only valid for EVM activity webhooks.
|
|
6676
|
+
* @returns EVMAddressActivityResponse Successful response
|
|
5188
6677
|
* @throws ApiError
|
|
5189
6678
|
*/
|
|
5190
6679
|
addAddressesToWebhook({ id, requestBody, }: {
|
|
@@ -5193,11 +6682,11 @@ declare class WebhooksService {
|
|
|
5193
6682
|
*/
|
|
5194
6683
|
id: string;
|
|
5195
6684
|
requestBody: AddressesChangeRequest;
|
|
5196
|
-
}): CancelablePromise<
|
|
6685
|
+
}): CancelablePromise<EVMAddressActivityResponse>;
|
|
5197
6686
|
/**
|
|
5198
|
-
* Remove addresses from webhook
|
|
5199
|
-
* Remove addresses from webhook.
|
|
5200
|
-
* @returns
|
|
6687
|
+
* Remove addresses from EVM activity webhook
|
|
6688
|
+
* Remove addresses from webhook. Only valid for EVM activity webhooks.
|
|
6689
|
+
* @returns EVMAddressActivityResponse Successful response
|
|
5201
6690
|
* @throws ApiError
|
|
5202
6691
|
*/
|
|
5203
6692
|
removeAddressesFromWebhook({ id, requestBody, }: {
|
|
@@ -5206,10 +6695,10 @@ declare class WebhooksService {
|
|
|
5206
6695
|
*/
|
|
5207
6696
|
id: string;
|
|
5208
6697
|
requestBody: AddressesChangeRequest;
|
|
5209
|
-
}): CancelablePromise<
|
|
6698
|
+
}): CancelablePromise<EVMAddressActivityResponse>;
|
|
5210
6699
|
/**
|
|
5211
|
-
* List adresses by
|
|
5212
|
-
* List adresses by webhook.
|
|
6700
|
+
* List adresses by EVM activity webhooks
|
|
6701
|
+
* List adresses by webhook. Only valid for EVM activity webhooks.
|
|
5213
6702
|
* @returns ListWebhookAddressesResponse Successful response
|
|
5214
6703
|
* @throws ApiError
|
|
5215
6704
|
*/
|
|
@@ -5231,6 +6720,7 @@ declare class WebhooksService {
|
|
|
5231
6720
|
|
|
5232
6721
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
5233
6722
|
declare class Glacier {
|
|
6723
|
+
readonly avaxSupply: AvaxSupplyService;
|
|
5234
6724
|
readonly dataApiUsageMetrics: DataApiUsageMetricsService;
|
|
5235
6725
|
readonly default: DefaultService;
|
|
5236
6726
|
readonly evmBalances: EvmBalancesService;
|
|
@@ -5239,7 +6729,9 @@ declare class Glacier {
|
|
|
5239
6729
|
readonly evmContracts: EvmContractsService;
|
|
5240
6730
|
readonly evmTransactions: EvmTransactionsService;
|
|
5241
6731
|
readonly healthCheck: HealthCheckService;
|
|
6732
|
+
readonly interchainMessaging: InterchainMessagingService;
|
|
5242
6733
|
readonly nfTs: NfTsService;
|
|
6734
|
+
readonly notifications: NotificationsService;
|
|
5243
6735
|
readonly operations: OperationsService;
|
|
5244
6736
|
readonly primaryNetwork: PrimaryNetworkService;
|
|
5245
6737
|
readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
|
|
@@ -5272,6 +6764,17 @@ declare class ApiError extends Error {
|
|
|
5272
6764
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
5273
6765
|
}
|
|
5274
6766
|
|
|
6767
|
+
type AccessListData = {
|
|
6768
|
+
/**
|
|
6769
|
+
* Access Address
|
|
6770
|
+
*/
|
|
6771
|
+
accessAddresses: string;
|
|
6772
|
+
/**
|
|
6773
|
+
* Storage keys
|
|
6774
|
+
*/
|
|
6775
|
+
storageKeys: Array<string>;
|
|
6776
|
+
};
|
|
6777
|
+
|
|
5275
6778
|
type BadGateway = {
|
|
5276
6779
|
/**
|
|
5277
6780
|
* The error message describing the reason for the exception
|
|
@@ -5306,6 +6809,76 @@ type DataListChainsResponse = {
|
|
|
5306
6809
|
chains: Array<ChainInfo>;
|
|
5307
6810
|
};
|
|
5308
6811
|
|
|
6812
|
+
type ERCToken = {
|
|
6813
|
+
/**
|
|
6814
|
+
* Token contract address
|
|
6815
|
+
*/
|
|
6816
|
+
address: string;
|
|
6817
|
+
/**
|
|
6818
|
+
* Token name
|
|
6819
|
+
*/
|
|
6820
|
+
name: string;
|
|
6821
|
+
/**
|
|
6822
|
+
* Token symbol
|
|
6823
|
+
*/
|
|
6824
|
+
symbol: string;
|
|
6825
|
+
/**
|
|
6826
|
+
* Token decimals
|
|
6827
|
+
*/
|
|
6828
|
+
decimals: number;
|
|
6829
|
+
/**
|
|
6830
|
+
* Value including decimals
|
|
6831
|
+
*/
|
|
6832
|
+
valueWithDecimals: string;
|
|
6833
|
+
};
|
|
6834
|
+
|
|
6835
|
+
type ERCTransfer = {
|
|
6836
|
+
/**
|
|
6837
|
+
* Transaction hash
|
|
6838
|
+
*/
|
|
6839
|
+
transactionHash: string;
|
|
6840
|
+
/**
|
|
6841
|
+
* Transfer type
|
|
6842
|
+
*/
|
|
6843
|
+
type: string;
|
|
6844
|
+
/**
|
|
6845
|
+
* Sender address
|
|
6846
|
+
*/
|
|
6847
|
+
from: string;
|
|
6848
|
+
/**
|
|
6849
|
+
* Recipient address
|
|
6850
|
+
*/
|
|
6851
|
+
to: string;
|
|
6852
|
+
/**
|
|
6853
|
+
* Amount transferred
|
|
6854
|
+
*/
|
|
6855
|
+
value: string;
|
|
6856
|
+
/**
|
|
6857
|
+
* Token Id
|
|
6858
|
+
*/
|
|
6859
|
+
tokenId?: string;
|
|
6860
|
+
/**
|
|
6861
|
+
* Block timestamp
|
|
6862
|
+
*/
|
|
6863
|
+
blockTimestamp: number;
|
|
6864
|
+
/**
|
|
6865
|
+
* Log index
|
|
6866
|
+
*/
|
|
6867
|
+
logIndex: number;
|
|
6868
|
+
/**
|
|
6869
|
+
* erc20 Token details
|
|
6870
|
+
*/
|
|
6871
|
+
erc20Token?: ERCToken;
|
|
6872
|
+
/**
|
|
6873
|
+
* erc721 Token details
|
|
6874
|
+
*/
|
|
6875
|
+
erc721Token?: ERCToken;
|
|
6876
|
+
/**
|
|
6877
|
+
* erc1155 Token details
|
|
6878
|
+
*/
|
|
6879
|
+
erc1155Token?: ERCToken;
|
|
6880
|
+
};
|
|
6881
|
+
|
|
5309
6882
|
type Forbidden = {
|
|
5310
6883
|
/**
|
|
5311
6884
|
* The error message describing the reason for the exception
|
|
@@ -5336,6 +6909,64 @@ type InternalServerError = {
|
|
|
5336
6909
|
error: string;
|
|
5337
6910
|
};
|
|
5338
6911
|
|
|
6912
|
+
type Log = {
|
|
6913
|
+
/**
|
|
6914
|
+
* Contract address
|
|
6915
|
+
*/
|
|
6916
|
+
address: string;
|
|
6917
|
+
/**
|
|
6918
|
+
* First topic
|
|
6919
|
+
*/
|
|
6920
|
+
topic0: string;
|
|
6921
|
+
/**
|
|
6922
|
+
* Second topic (optional)
|
|
6923
|
+
*/
|
|
6924
|
+
topic1?: string;
|
|
6925
|
+
/**
|
|
6926
|
+
* Third topic (optional)
|
|
6927
|
+
*/
|
|
6928
|
+
topic2?: string;
|
|
6929
|
+
/**
|
|
6930
|
+
* Fourth topic (optional)
|
|
6931
|
+
*/
|
|
6932
|
+
topic3?: string;
|
|
6933
|
+
/**
|
|
6934
|
+
* Event data
|
|
6935
|
+
*/
|
|
6936
|
+
data: string;
|
|
6937
|
+
/**
|
|
6938
|
+
* Transaction index
|
|
6939
|
+
*/
|
|
6940
|
+
transactionIndex: number;
|
|
6941
|
+
/**
|
|
6942
|
+
* Log index
|
|
6943
|
+
*/
|
|
6944
|
+
logIndex: number;
|
|
6945
|
+
/**
|
|
6946
|
+
* Indicates if the log was removed
|
|
6947
|
+
*/
|
|
6948
|
+
removed: boolean;
|
|
6949
|
+
};
|
|
6950
|
+
|
|
6951
|
+
type NetworkTokenInfo = {
|
|
6952
|
+
/**
|
|
6953
|
+
* Token name
|
|
6954
|
+
*/
|
|
6955
|
+
tokenName?: string;
|
|
6956
|
+
/**
|
|
6957
|
+
* Token symbol
|
|
6958
|
+
*/
|
|
6959
|
+
tokenSymbol?: string;
|
|
6960
|
+
/**
|
|
6961
|
+
* Token decimals
|
|
6962
|
+
*/
|
|
6963
|
+
tokenDecimals?: number;
|
|
6964
|
+
/**
|
|
6965
|
+
* Value including decimals
|
|
6966
|
+
*/
|
|
6967
|
+
valueWithDecimals?: string;
|
|
6968
|
+
};
|
|
6969
|
+
|
|
5339
6970
|
type NextPageToken = {
|
|
5340
6971
|
/**
|
|
5341
6972
|
* 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.
|
|
@@ -5388,6 +7019,163 @@ type TooManyRequests = {
|
|
|
5388
7019
|
error: string;
|
|
5389
7020
|
};
|
|
5390
7021
|
|
|
7022
|
+
type WebhookInternalTransaction = {
|
|
7023
|
+
/**
|
|
7024
|
+
* Sender address
|
|
7025
|
+
*/
|
|
7026
|
+
from: string;
|
|
7027
|
+
/**
|
|
7028
|
+
* Recipient address
|
|
7029
|
+
*/
|
|
7030
|
+
to: string;
|
|
7031
|
+
/**
|
|
7032
|
+
* Internal transaction type
|
|
7033
|
+
*/
|
|
7034
|
+
internalTxType: string;
|
|
7035
|
+
/**
|
|
7036
|
+
* Value transferred
|
|
7037
|
+
*/
|
|
7038
|
+
value: string;
|
|
7039
|
+
/**
|
|
7040
|
+
* Gas used
|
|
7041
|
+
*/
|
|
7042
|
+
gasUsed: string;
|
|
7043
|
+
/**
|
|
7044
|
+
* Gas limit
|
|
7045
|
+
*/
|
|
7046
|
+
gasLimit: string;
|
|
7047
|
+
/**
|
|
7048
|
+
* Transaction hash
|
|
7049
|
+
*/
|
|
7050
|
+
transactionHash: string;
|
|
7051
|
+
};
|
|
7052
|
+
|
|
7053
|
+
type Transaction = {
|
|
7054
|
+
/**
|
|
7055
|
+
* Block hash of the transaction
|
|
7056
|
+
*/
|
|
7057
|
+
blockHash: string;
|
|
7058
|
+
/**
|
|
7059
|
+
* Block number of the transaction
|
|
7060
|
+
*/
|
|
7061
|
+
blockNumber: string;
|
|
7062
|
+
/**
|
|
7063
|
+
* Sender address
|
|
7064
|
+
*/
|
|
7065
|
+
from: string;
|
|
7066
|
+
/**
|
|
7067
|
+
* Gas limit for the transaction
|
|
7068
|
+
*/
|
|
7069
|
+
gas: string;
|
|
7070
|
+
/**
|
|
7071
|
+
* Gas price used
|
|
7072
|
+
*/
|
|
7073
|
+
gasPrice: string;
|
|
7074
|
+
/**
|
|
7075
|
+
* Maximum fee per gas
|
|
7076
|
+
*/
|
|
7077
|
+
maxFeePerGas: string;
|
|
7078
|
+
/**
|
|
7079
|
+
* Maximum priority fee per gas
|
|
7080
|
+
*/
|
|
7081
|
+
maxPriorityFeePerGas: string;
|
|
7082
|
+
/**
|
|
7083
|
+
* Transaction hash
|
|
7084
|
+
*/
|
|
7085
|
+
txHash: string;
|
|
7086
|
+
/**
|
|
7087
|
+
* Transaction status
|
|
7088
|
+
*/
|
|
7089
|
+
txStatus: string;
|
|
7090
|
+
/**
|
|
7091
|
+
* Input data
|
|
7092
|
+
*/
|
|
7093
|
+
input: string;
|
|
7094
|
+
/**
|
|
7095
|
+
* Nonce value
|
|
7096
|
+
*/
|
|
7097
|
+
nonce: string;
|
|
7098
|
+
/**
|
|
7099
|
+
* Recipient address
|
|
7100
|
+
*/
|
|
7101
|
+
to: string;
|
|
7102
|
+
/**
|
|
7103
|
+
* Transaction index
|
|
7104
|
+
*/
|
|
7105
|
+
transactionIndex: number;
|
|
7106
|
+
/**
|
|
7107
|
+
* Value transferred in the transaction
|
|
7108
|
+
*/
|
|
7109
|
+
value: string;
|
|
7110
|
+
/**
|
|
7111
|
+
* Transaction type
|
|
7112
|
+
*/
|
|
7113
|
+
type: number;
|
|
7114
|
+
/**
|
|
7115
|
+
* Chain ID of the network
|
|
7116
|
+
*/
|
|
7117
|
+
chainId: string;
|
|
7118
|
+
/**
|
|
7119
|
+
* Cumulative gas used
|
|
7120
|
+
*/
|
|
7121
|
+
receiptCumulativeGasUsed: string;
|
|
7122
|
+
/**
|
|
7123
|
+
* Gas used
|
|
7124
|
+
*/
|
|
7125
|
+
receiptGasUsed: string;
|
|
7126
|
+
/**
|
|
7127
|
+
* Effective gas price
|
|
7128
|
+
*/
|
|
7129
|
+
receiptEffectiveGasPrice: string;
|
|
7130
|
+
/**
|
|
7131
|
+
* Receipt root
|
|
7132
|
+
*/
|
|
7133
|
+
receiptRoot: string;
|
|
7134
|
+
/**
|
|
7135
|
+
* Block timestamp
|
|
7136
|
+
*/
|
|
7137
|
+
blockTimestamp: number;
|
|
7138
|
+
/**
|
|
7139
|
+
* Contract address (optional)
|
|
7140
|
+
*/
|
|
7141
|
+
contractAddress?: string;
|
|
7142
|
+
/**
|
|
7143
|
+
* ERC20 transfers
|
|
7144
|
+
*/
|
|
7145
|
+
erc20Transfers: Array<ERCTransfer>;
|
|
7146
|
+
/**
|
|
7147
|
+
* ERC721 transfers
|
|
7148
|
+
*/
|
|
7149
|
+
erc721Transfers: Array<ERCTransfer>;
|
|
7150
|
+
/**
|
|
7151
|
+
* ERC1155 transfers
|
|
7152
|
+
*/
|
|
7153
|
+
erc1155Transfers: Array<ERCTransfer>;
|
|
7154
|
+
/**
|
|
7155
|
+
* Internal transactions (optional)
|
|
7156
|
+
*/
|
|
7157
|
+
internalTransactions?: Array<WebhookInternalTransaction>;
|
|
7158
|
+
/**
|
|
7159
|
+
* Access list (optional)
|
|
7160
|
+
*/
|
|
7161
|
+
accessList?: Array<AccessListData>;
|
|
7162
|
+
/**
|
|
7163
|
+
* Network token info (optional)
|
|
7164
|
+
*/
|
|
7165
|
+
networkToken?: NetworkTokenInfo;
|
|
7166
|
+
};
|
|
7167
|
+
|
|
7168
|
+
type TransactionEvent = {
|
|
7169
|
+
/**
|
|
7170
|
+
* Transaction details
|
|
7171
|
+
*/
|
|
7172
|
+
transaction: Transaction;
|
|
7173
|
+
/**
|
|
7174
|
+
* Array of log events
|
|
7175
|
+
*/
|
|
7176
|
+
logs?: Array<Log>;
|
|
7177
|
+
};
|
|
7178
|
+
|
|
5391
7179
|
type Unauthorized = {
|
|
5392
7180
|
/**
|
|
5393
7181
|
* The error message describing the reason for the exception
|
|
@@ -5403,4 +7191,43 @@ type Unauthorized = {
|
|
|
5403
7191
|
error: string;
|
|
5404
7192
|
};
|
|
5405
7193
|
|
|
5406
|
-
|
|
7194
|
+
type WebhookAddressActivityResponse = {
|
|
7195
|
+
/**
|
|
7196
|
+
* Webhook ID
|
|
7197
|
+
*/
|
|
7198
|
+
webhookId: string;
|
|
7199
|
+
/**
|
|
7200
|
+
* Event type
|
|
7201
|
+
*/
|
|
7202
|
+
eventType: WebhookAddressActivityResponse.eventType;
|
|
7203
|
+
/**
|
|
7204
|
+
* Message ID
|
|
7205
|
+
*/
|
|
7206
|
+
messageId: string;
|
|
7207
|
+
/**
|
|
7208
|
+
* Event details
|
|
7209
|
+
*/
|
|
7210
|
+
event: TransactionEvent;
|
|
7211
|
+
};
|
|
7212
|
+
declare namespace WebhookAddressActivityResponse {
|
|
7213
|
+
/**
|
|
7214
|
+
* Event type
|
|
7215
|
+
*/
|
|
7216
|
+
enum eventType {
|
|
7217
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
7218
|
+
}
|
|
7219
|
+
}
|
|
7220
|
+
|
|
7221
|
+
declare class FetchHttpRequest extends BaseHttpRequest {
|
|
7222
|
+
constructor(config: OpenAPIConfig);
|
|
7223
|
+
/**
|
|
7224
|
+
* Request method
|
|
7225
|
+
* @param options The request options from the service
|
|
7226
|
+
* @returns CancelablePromise<T>
|
|
7227
|
+
* @throws ApiError
|
|
7228
|
+
*/
|
|
7229
|
+
request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
7230
|
+
}
|
|
7231
|
+
|
|
7232
|
+
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 };
|
|
7233
|
+
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 };
|