@avalabs/glacier-sdk 3.1.0-canary.3cc8c79.0 → 3.1.0-canary.3d27bb6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +779 -113
- package/esm/generated/Glacier.d.ts +2 -0
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/core/ApiRequestOptions.d.ts +1 -1
- package/esm/generated/core/ApiResult.d.ts +1 -1
- package/esm/generated/core/CancelablePromise.d.ts +2 -1
- package/esm/generated/core/FetchHttpRequest.d.ts +17 -0
- package/esm/generated/core/OpenAPI.d.ts +2 -1
- package/esm/generated/core/OpenAPI.js +1 -1
- package/esm/generated/models/AccessListData.d.ts +1 -1
- package/esm/generated/models/AccessRequest.d.ts +1 -1
- package/esm/generated/models/AddressActivityEventType.d.ts +5 -0
- package/esm/generated/models/AddressActivityEventType.js +1 -0
- package/esm/generated/models/AddressActivityMetadata.d.ts +5 -5
- package/esm/generated/models/AddressesChangeRequest.d.ts +1 -1
- package/esm/generated/models/AggregatedAssetAmount.d.ts +1 -1
- package/esm/generated/models/AssetAmount.d.ts +1 -1
- package/esm/generated/models/AssetWithPriceInfo.d.ts +1 -1
- package/esm/generated/models/AvaxSupplyResponse.d.ts +48 -0
- package/esm/generated/models/BadGateway.d.ts +1 -1
- package/esm/generated/models/BadRequest.d.ts +1 -1
- package/esm/generated/models/BalanceOwner.d.ts +1 -1
- package/esm/generated/models/Blockchain.d.ts +11 -1
- package/esm/generated/models/BlockchainId.d.ts +0 -2
- package/esm/generated/models/BlockchainId.js +1 -1
- package/esm/generated/models/BlockchainIds.d.ts +1 -3
- package/esm/generated/models/BlockchainIds.js +1 -1
- package/esm/generated/models/BlockchainInfo.d.ts +12 -0
- package/esm/generated/models/BlsCredentials.d.ts +1 -1
- package/esm/generated/models/CChainAtomicBalances.d.ts +1 -1
- package/esm/generated/models/CChainSharedAssetBalance.d.ts +1 -1
- package/esm/generated/models/ChainAddressChainIdMap.d.ts +1 -1
- package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +1 -1
- package/esm/generated/models/ChainInfo.d.ts +1 -1
- package/esm/generated/models/ContractDeploymentDetails.d.ts +1 -1
- package/esm/generated/models/ContractSubmissionBody.d.ts +1 -1
- package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +1 -1
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +1 -1
- package/esm/generated/models/DataListChainsResponse.d.ts +1 -1
- package/esm/generated/models/DelegatorsDetails.d.ts +1 -1
- package/esm/generated/models/ERCToken.d.ts +1 -1
- package/esm/generated/models/ERCTransfer.d.ts +1 -1
- package/esm/generated/models/EVMAddressActivityRequest.d.ts +2 -4
- package/esm/generated/models/EVMAddressActivityResponse.d.ts +3 -3
- package/esm/generated/models/EVMInput.d.ts +1 -1
- package/esm/generated/models/EVMOutput.d.ts +1 -1
- package/esm/generated/models/Erc1155TokenMetadata.d.ts +1 -1
- package/esm/generated/models/Erc1155Transfer.d.ts +6 -2
- package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
- package/esm/generated/models/Erc20Transfer.d.ts +6 -2
- package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
- package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
- package/esm/generated/models/Erc721Transfer.d.ts +6 -2
- package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
- package/esm/generated/models/EvmBlock.d.ts +10 -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 +10 -2
- package/esm/generated/models/Geolocation.d.ts +1 -1
- package/esm/generated/models/GetChainResponse.d.ts +1 -1
- package/esm/generated/models/GetEvmBlockResponse.d.ts +10 -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 +1 -1
- package/esm/generated/models/HistoricalReward.d.ts +1 -1
- package/esm/generated/models/IcmDestinationTransaction.d.ts +1 -1
- package/esm/generated/models/IcmReceipt.d.ts +1 -1
- package/esm/generated/models/IcmSourceTransaction.d.ts +1 -1
- package/esm/generated/models/ImageAsset.d.ts +1 -1
- package/esm/generated/models/InternalServerError.d.ts +1 -1
- package/esm/generated/models/InternalTransaction.d.ts +21 -16
- package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
- package/esm/generated/models/L1ValidatorDetailsFull.d.ts +1 -1
- package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +1 -1
- package/esm/generated/models/L1ValidatorManagerDetails.d.ts +1 -1
- package/esm/generated/models/LastActivityTimestamp.d.ts +29 -0
- package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
- package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
- package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListChainsResponse.d.ts +1 -1
- package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListContractsResponse.d.ts +1 -1
- package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc1155BalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc20BalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc721BalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
- package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
- package/esm/generated/models/ListIcmMessagesResponse.d.ts +3 -2
- package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListL1ValidatorsResponse.d.ts +5 -1
- package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListNftTokens.d.ts +1 -1
- package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
- package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
- package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
- package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
- package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +3 -2
- package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
- package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
- package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
- package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
- package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
- package/esm/generated/models/ListWebhooksResponse.d.ts +4 -3
- package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
- package/esm/generated/models/Log.d.ts +1 -1
- package/esm/generated/models/LogsFormat.d.ts +1 -1
- package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
- package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
- package/esm/generated/models/Method.d.ts +1 -1
- package/esm/generated/models/Metric.d.ts +1 -1
- package/esm/generated/models/Money.d.ts +1 -1
- package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
- package/esm/generated/models/NativeTransaction.d.ts +10 -2
- package/esm/generated/models/NetworkToken.d.ts +1 -1
- package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
- package/esm/generated/models/NetworkTokenInfo.d.ts +1 -1
- package/esm/generated/models/NextPageToken.d.ts +1 -1
- package/esm/generated/models/NotFound.d.ts +1 -1
- package/esm/generated/models/NotificationsResponse.d.ts +1 -1
- package/esm/generated/models/OperationStatusResponse.d.ts +1 -1
- package/esm/generated/models/PChainBalance.d.ts +1 -1
- package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
- package/esm/generated/models/PChainTransaction.d.ts +7 -2
- package/esm/generated/models/PChainUtxo.d.ts +5 -1
- package/esm/generated/models/PendingReward.d.ts +1 -1
- package/esm/generated/models/PlatformAddressActivityKeyType.d.ts +8 -0
- package/esm/generated/models/PlatformAddressActivityKeyType.js +1 -0
- package/esm/generated/models/PricingProviders.d.ts +1 -1
- package/esm/generated/models/PrimaryNetworkAddressActivityEventType.d.ts +5 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityEventType.js +1 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityMetadata.d.ts +25 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityRequest.d.ts +22 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityRequest.js +1 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityResponse.d.ts +17 -0
- package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.d.ts +10 -0
- package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.js +1 -0
- package/esm/generated/models/PrimaryNetworkAddressActivitySubEvents.d.ts +7 -0
- package/esm/generated/models/PrimaryNetworkAddressesBodyDto.d.ts +8 -0
- package/esm/generated/models/{PlatformBalanceThresholdFilter.d.ts → PrimaryNetworkBalanceThresholdFilter.d.ts} +2 -2
- package/esm/generated/models/PrimaryNetworkBlock.d.ts +1 -1
- package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +1 -1
- package/esm/generated/models/PrimaryNetworkOptions.d.ts +2 -2
- package/esm/generated/models/ProposerDetails.d.ts +1 -1
- package/esm/generated/models/ResourceLink.d.ts +1 -1
- package/esm/generated/models/Rewards.d.ts +1 -1
- package/esm/generated/models/RichAddress.d.ts +1 -1
- package/esm/generated/models/RpcMetrics.d.ts +1 -1
- package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
- package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
- package/esm/generated/models/SignatureAggregationResponse.d.ts +1 -1
- package/esm/generated/models/SignatureAggregatorRequest.d.ts +22 -2
- package/esm/generated/models/StakingDistribution.d.ts +1 -1
- package/esm/generated/models/Subnet.d.ts +1 -1
- package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
- package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +1 -1
- package/esm/generated/models/SubscribeRequest.d.ts +1 -1
- package/esm/generated/models/SubscriptionsRequest.d.ts +1 -1
- package/esm/generated/models/SubscriptionsResponse.d.ts +1 -1
- package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
- package/esm/generated/models/TeleporterMessageInfo.d.ts +3 -3
- package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
- package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
- package/esm/generated/models/TooManyRequests.d.ts +1 -1
- package/esm/generated/models/Transaction.d.ts +3 -3
- package/esm/generated/models/TransactionDetails.d.ts +1 -1
- package/esm/generated/models/TransactionEvent.d.ts +1 -1
- package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
- package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
- package/esm/generated/models/Unauthorized.d.ts +1 -1
- package/esm/generated/models/UnsubscribeRequest.d.ts +1 -1
- package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
- package/esm/generated/models/UpdateWebhookRequest.d.ts +1 -1
- package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
- package/esm/generated/models/UtilityAddresses.d.ts +1 -1
- package/esm/generated/models/Utxo.d.ts +5 -1
- package/esm/generated/models/UtxoCredential.d.ts +1 -1
- package/esm/generated/models/UtxosSortByOption.d.ts +6 -0
- package/esm/generated/models/UtxosSortByOption.js +1 -0
- package/esm/generated/models/ValidatorActivityEventType.d.ts +5 -0
- package/esm/generated/models/ValidatorActivityEventType.js +1 -0
- package/esm/generated/models/ValidatorActivityKeyType.d.ts +9 -0
- package/esm/generated/models/ValidatorActivityKeyType.js +1 -0
- package/esm/generated/models/ValidatorActivityMetadata.d.ts +32 -0
- package/esm/generated/models/ValidatorActivityRequest.d.ts +21 -0
- package/esm/generated/models/ValidatorActivityRequest.js +1 -0
- package/esm/generated/models/ValidatorActivityResponse.d.ts +17 -0
- package/esm/generated/models/ValidatorActivitySubEvents.d.ts +8 -0
- package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
- package/esm/generated/models/ValidatorsDetails.d.ts +1 -1
- package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
- package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
- package/esm/generated/models/XChainBalances.d.ts +1 -1
- package/esm/generated/models/XChainId.d.ts +0 -1
- package/esm/generated/models/XChainId.js +1 -1
- package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
- package/esm/generated/models/XChainVertex.d.ts +1 -1
- package/esm/generated/services/AvaxSupplyService.d.ts +17 -0
- package/esm/generated/services/AvaxSupplyService.js +1 -0
- package/esm/generated/services/EvmBlocksService.d.ts +1 -1
- package/esm/generated/services/EvmChainsService.d.ts +1 -1
- package/esm/generated/services/EvmTransactionsService.d.ts +40 -1
- package/esm/generated/services/EvmTransactionsService.js +1 -1
- package/esm/generated/services/HealthCheckService.d.ts +9 -2
- package/esm/generated/services/HealthCheckService.js +1 -1
- package/esm/generated/services/PrimaryNetworkService.d.ts +4 -4
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +94 -1
- package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
- package/esm/generated/services/WebhooksService.d.ts +9 -7
- package/esm/index.d.ts +30 -8
- package/esm/index.js +1 -1
- package/package.json +5 -5
- package/esm/generated/models/EventType.d.ts +0 -7
- package/esm/generated/models/EventType.js +0 -1
- package/esm/generated/models/PlatformActivityKeyType.d.ts +0 -10
- package/esm/generated/models/PlatformActivityKeyType.js +0 -1
- package/esm/generated/models/PlatformActivityMetadata.d.ts +0 -37
- package/esm/generated/models/PlatformActivityRequest.d.ts +0 -31
- package/esm/generated/models/PlatformActivityRequest.js +0 -1
- package/esm/generated/models/PlatformActivityResponse.d.ts +0 -17
- package/esm/generated/models/PlatformActivitySubEvents.d.ts +0 -11
- package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +0 -10
- package/esm/generated/models/PlatformAddressActivitySubEventType.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -54,6 +54,65 @@ declare abstract class BaseHttpRequest {
|
|
|
54
54
|
abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
type AvaxSupplyResponse = {
|
|
58
|
+
/**
|
|
59
|
+
* The circulating supply of AVAX.
|
|
60
|
+
*/
|
|
61
|
+
circulatingSupply: string;
|
|
62
|
+
/**
|
|
63
|
+
* The total supply of AVAX.
|
|
64
|
+
*/
|
|
65
|
+
totalSupply: string;
|
|
66
|
+
/**
|
|
67
|
+
* Represents the total amount of AVAX burned on the P-Chain. This value includes AVAX lost when the sum of input UTXOs exceeds the sum of output UTXOs—potentially by more than the expected transaction fee, such as in malformed or improperly constructed transactions—as well as all L1 validator fees that have been burned to date.
|
|
68
|
+
*/
|
|
69
|
+
totalPBurned: string;
|
|
70
|
+
/**
|
|
71
|
+
* Represents the total amount of AVAX burned on the C-Chain. This value includes the total amount of AVAX burned on the C-Chain in evm txns and the total amount of AVAX burned on the C-Chain in atomic txns.
|
|
72
|
+
*/
|
|
73
|
+
totalCBurned: string;
|
|
74
|
+
/**
|
|
75
|
+
* The total X-chain burned fees of AVAX.
|
|
76
|
+
*/
|
|
77
|
+
totalXBurned: string;
|
|
78
|
+
/**
|
|
79
|
+
* The total staked AVAX.
|
|
80
|
+
*/
|
|
81
|
+
totalStaked: string;
|
|
82
|
+
/**
|
|
83
|
+
* The total locked AVAX.
|
|
84
|
+
*/
|
|
85
|
+
totalLocked: string;
|
|
86
|
+
/**
|
|
87
|
+
* The total rewards AVAX.
|
|
88
|
+
*/
|
|
89
|
+
totalRewards: string;
|
|
90
|
+
/**
|
|
91
|
+
* The last updated time of the AVAX supply.
|
|
92
|
+
*/
|
|
93
|
+
lastUpdated: string;
|
|
94
|
+
/**
|
|
95
|
+
* The genesis unlock amount of the AVAX supply.
|
|
96
|
+
*/
|
|
97
|
+
genesisUnlock: string;
|
|
98
|
+
/**
|
|
99
|
+
* The total L1 validator fees of AVAX.
|
|
100
|
+
*/
|
|
101
|
+
l1ValidatorFees: string;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
declare class AvaxSupplyService {
|
|
105
|
+
readonly httpRequest: BaseHttpRequest;
|
|
106
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
107
|
+
/**
|
|
108
|
+
* Get AVAX supply information
|
|
109
|
+
* Get AVAX supply information that includes total supply, circulating supply, total p burned, total c burned, total x burned, total staked, total locked, total rewards, and last updated.
|
|
110
|
+
* @returns AvaxSupplyResponse Successful response
|
|
111
|
+
* @throws ApiError
|
|
112
|
+
*/
|
|
113
|
+
getAvaxSupply(): CancelablePromise<AvaxSupplyResponse>;
|
|
114
|
+
}
|
|
115
|
+
|
|
57
116
|
type LogsFormatMetadata = {
|
|
58
117
|
/**
|
|
59
118
|
* The IP address of the client that made the request.
|
|
@@ -1092,9 +1151,17 @@ type GetEvmBlockResponse = {
|
|
|
1092
1151
|
*/
|
|
1093
1152
|
blockNumber: string;
|
|
1094
1153
|
/**
|
|
1095
|
-
* The block
|
|
1154
|
+
* The block creation (proposal) timestamp in seconds
|
|
1096
1155
|
*/
|
|
1097
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;
|
|
1098
1165
|
/**
|
|
1099
1166
|
* The block hash identifier.
|
|
1100
1167
|
*/
|
|
@@ -1140,9 +1207,17 @@ type EvmBlock = {
|
|
|
1140
1207
|
*/
|
|
1141
1208
|
blockNumber: string;
|
|
1142
1209
|
/**
|
|
1143
|
-
* The block
|
|
1210
|
+
* The block creation (proposal) timestamp in seconds
|
|
1144
1211
|
*/
|
|
1145
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;
|
|
1146
1221
|
/**
|
|
1147
1222
|
* The block hash identifier.
|
|
1148
1223
|
*/
|
|
@@ -1191,7 +1266,7 @@ declare class EvmBlocksService {
|
|
|
1191
1266
|
constructor(httpRequest: BaseHttpRequest);
|
|
1192
1267
|
/**
|
|
1193
1268
|
* List latest blocks across all supported EVM chains
|
|
1194
|
-
* Lists the most recent blocks from all supported
|
|
1269
|
+
* Lists the most recent blocks from all supported EVM-compatible chains. The results can be filtered by network.
|
|
1195
1270
|
* @returns ListEvmBlocksResponse Successful response
|
|
1196
1271
|
* @throws ApiError
|
|
1197
1272
|
*/
|
|
@@ -1390,9 +1465,17 @@ type NativeTransaction = {
|
|
|
1390
1465
|
*/
|
|
1391
1466
|
blockNumber: string;
|
|
1392
1467
|
/**
|
|
1393
|
-
* The block
|
|
1468
|
+
* The block creation (proposal) timestamp in seconds
|
|
1394
1469
|
*/
|
|
1395
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;
|
|
1396
1479
|
/**
|
|
1397
1480
|
* The block hash identifier.
|
|
1398
1481
|
*/
|
|
@@ -1457,7 +1540,7 @@ declare class EvmChainsService {
|
|
|
1457
1540
|
constructor(httpRequest: BaseHttpRequest);
|
|
1458
1541
|
/**
|
|
1459
1542
|
* List all chains associated with a given address
|
|
1460
|
-
* Lists the chains where the specified address has
|
|
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.
|
|
1461
1544
|
* @returns ListAddressChainsResponse Successful response
|
|
1462
1545
|
* @throws ApiError
|
|
1463
1546
|
*/
|
|
@@ -1981,9 +2064,17 @@ type FullNativeTransactionDetails = {
|
|
|
1981
2064
|
*/
|
|
1982
2065
|
blockNumber: string;
|
|
1983
2066
|
/**
|
|
1984
|
-
* The block
|
|
2067
|
+
* The block creation (proposal) timestamp in seconds
|
|
1985
2068
|
*/
|
|
1986
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;
|
|
1987
2078
|
/**
|
|
1988
2079
|
* The block hash identifier.
|
|
1989
2080
|
*/
|
|
@@ -2084,11 +2175,11 @@ type TeleporterMessageInfo = {
|
|
|
2084
2175
|
/**
|
|
2085
2176
|
* chain id of the source chain. valid only for destination transactions
|
|
2086
2177
|
*/
|
|
2087
|
-
sourceChainId?:
|
|
2178
|
+
sourceChainId?: string;
|
|
2088
2179
|
/**
|
|
2089
2180
|
* chain id of the destination chain. valid only for source transactions
|
|
2090
2181
|
*/
|
|
2091
|
-
destinationChainId?:
|
|
2182
|
+
destinationChainId?: string;
|
|
2092
2183
|
};
|
|
2093
2184
|
|
|
2094
2185
|
type GetTransactionResponse = {
|
|
@@ -2130,9 +2221,13 @@ type Erc1155Transfer = {
|
|
|
2130
2221
|
*/
|
|
2131
2222
|
blockNumber: string;
|
|
2132
2223
|
/**
|
|
2133
|
-
* The block
|
|
2224
|
+
* The block creation (proposal) timestamp in seconds
|
|
2134
2225
|
*/
|
|
2135
2226
|
blockTimestamp: number;
|
|
2227
|
+
/**
|
|
2228
|
+
* The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
|
|
2229
|
+
*/
|
|
2230
|
+
blockTimestampMilliseconds?: number;
|
|
2136
2231
|
/**
|
|
2137
2232
|
* The block hash identifier.
|
|
2138
2233
|
*/
|
|
@@ -2162,9 +2257,13 @@ type Erc20Transfer = {
|
|
|
2162
2257
|
*/
|
|
2163
2258
|
blockNumber: string;
|
|
2164
2259
|
/**
|
|
2165
|
-
* The block
|
|
2260
|
+
* The block creation (proposal) timestamp in seconds
|
|
2166
2261
|
*/
|
|
2167
2262
|
blockTimestamp: number;
|
|
2263
|
+
/**
|
|
2264
|
+
* The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
|
|
2265
|
+
*/
|
|
2266
|
+
blockTimestampMilliseconds?: number;
|
|
2168
2267
|
/**
|
|
2169
2268
|
* The block hash identifier.
|
|
2170
2269
|
*/
|
|
@@ -2194,9 +2293,13 @@ type Erc721Transfer = {
|
|
|
2194
2293
|
*/
|
|
2195
2294
|
blockNumber: string;
|
|
2196
2295
|
/**
|
|
2197
|
-
* The block
|
|
2296
|
+
* The block creation (proposal) timestamp in seconds
|
|
2198
2297
|
*/
|
|
2199
2298
|
blockTimestamp: number;
|
|
2299
|
+
/**
|
|
2300
|
+
* The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
|
|
2301
|
+
*/
|
|
2302
|
+
blockTimestampMilliseconds?: number;
|
|
2200
2303
|
/**
|
|
2201
2304
|
* The block hash identifier.
|
|
2202
2305
|
*/
|
|
@@ -2221,33 +2324,35 @@ type ListErc721TransactionsResponse = {
|
|
|
2221
2324
|
|
|
2222
2325
|
type InternalTransaction = {
|
|
2223
2326
|
/**
|
|
2224
|
-
*
|
|
2327
|
+
* The block number on the chain.
|
|
2225
2328
|
*/
|
|
2226
|
-
|
|
2329
|
+
blockNumber: string;
|
|
2227
2330
|
/**
|
|
2228
|
-
*
|
|
2331
|
+
* The block creation (proposal) timestamp in seconds
|
|
2229
2332
|
*/
|
|
2230
|
-
|
|
2333
|
+
blockTimestamp: number;
|
|
2231
2334
|
/**
|
|
2232
|
-
*
|
|
2335
|
+
* The block creation (proposal) timestamp in milliseconds. Available only after Granite upgrade.
|
|
2233
2336
|
*/
|
|
2234
|
-
|
|
2337
|
+
blockTimestampMilliseconds?: number;
|
|
2235
2338
|
/**
|
|
2236
|
-
*
|
|
2339
|
+
* The block hash identifier.
|
|
2237
2340
|
*/
|
|
2238
|
-
|
|
2341
|
+
blockHash: string;
|
|
2239
2342
|
/**
|
|
2240
|
-
*
|
|
2343
|
+
* The transaction hash identifier.
|
|
2241
2344
|
*/
|
|
2242
|
-
|
|
2345
|
+
txHash: string;
|
|
2346
|
+
from: RichAddress;
|
|
2347
|
+
to: RichAddress;
|
|
2348
|
+
internalTxType: InternalTransactionOpCall;
|
|
2349
|
+
value: string;
|
|
2243
2350
|
/**
|
|
2244
|
-
*
|
|
2351
|
+
* True if the internal transaction was reverted.
|
|
2245
2352
|
*/
|
|
2353
|
+
isReverted: boolean;
|
|
2354
|
+
gasUsed: string;
|
|
2246
2355
|
gasLimit: string;
|
|
2247
|
-
/**
|
|
2248
|
-
* Transaction hash
|
|
2249
|
-
*/
|
|
2250
|
-
transactionHash: string;
|
|
2251
2356
|
};
|
|
2252
2357
|
|
|
2253
2358
|
type ListInternalTransactionsResponse = {
|
|
@@ -2307,7 +2412,7 @@ declare class EvmTransactionsService {
|
|
|
2307
2412
|
constructor(httpRequest: BaseHttpRequest);
|
|
2308
2413
|
/**
|
|
2309
2414
|
* List the latest transactions across all supported EVM chains
|
|
2310
|
-
* Lists the most recent transactions from all supported EVM-compatible
|
|
2415
|
+
* Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.
|
|
2311
2416
|
* @returns ListNativeTransactionsResponse Successful response
|
|
2312
2417
|
* @throws ApiError
|
|
2313
2418
|
*/
|
|
@@ -2443,6 +2548,45 @@ declare class EvmTransactionsService {
|
|
|
2443
2548
|
*/
|
|
2444
2549
|
sortOrder?: SortOrder;
|
|
2445
2550
|
}): CancelablePromise<ListTransactionDetailsResponse>;
|
|
2551
|
+
/**
|
|
2552
|
+
* List transactions v2
|
|
2553
|
+
* Returns a list of transactions where the given wallet address had an on-chain interaction for the given chain. The ERC-20 transfers (with token reputation), ERC-721 transfers, ERC-1155, and internal transactions returned are only those where the input address had an interaction. Specifically, those lists only inlcude entries where the input address was the sender (`from` field) or the receiver (`to` field) for the sub-transaction. Therefore the transactions returned from this list may not be complete representations of the on-chain data. For a complete view of a transaction use the `/chains/:chainId/transactions/:txHash` endpoint.
|
|
2554
|
+
*
|
|
2555
|
+
* Filterable by block ranges.
|
|
2556
|
+
* @returns ListTransactionDetailsResponse Successful response
|
|
2557
|
+
* @throws ApiError
|
|
2558
|
+
*/
|
|
2559
|
+
listTransactionsV2({ chainId, address, pageToken, pageSize, startBlock, endBlock, filterSpamTokens, sortOrder, }: {
|
|
2560
|
+
/**
|
|
2561
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2562
|
+
*/
|
|
2563
|
+
chainId: string;
|
|
2564
|
+
/**
|
|
2565
|
+
* A wallet address.
|
|
2566
|
+
*/
|
|
2567
|
+
address: string;
|
|
2568
|
+
/**
|
|
2569
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2570
|
+
*/
|
|
2571
|
+
pageToken?: string;
|
|
2572
|
+
/**
|
|
2573
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2574
|
+
*/
|
|
2575
|
+
pageSize?: number;
|
|
2576
|
+
/**
|
|
2577
|
+
* The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
|
|
2578
|
+
*/
|
|
2579
|
+
startBlock?: number;
|
|
2580
|
+
/**
|
|
2581
|
+
* The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
|
|
2582
|
+
*/
|
|
2583
|
+
endBlock?: number;
|
|
2584
|
+
filterSpamTokens?: boolean;
|
|
2585
|
+
/**
|
|
2586
|
+
* 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.
|
|
2587
|
+
*/
|
|
2588
|
+
sortOrder?: SortOrder;
|
|
2589
|
+
}): CancelablePromise<ListTransactionDetailsResponse>;
|
|
2446
2590
|
/**
|
|
2447
2591
|
* List native transactions
|
|
2448
2592
|
* Lists native transactions for an address. Filterable by block range.
|
|
@@ -2706,11 +2850,18 @@ declare class HealthCheckService {
|
|
|
2706
2850
|
constructor(httpRequest: BaseHttpRequest);
|
|
2707
2851
|
/**
|
|
2708
2852
|
* Get the health of the service
|
|
2709
|
-
* Check the health of the service.
|
|
2710
|
-
* @returns HealthCheckResultDto The health of the service
|
|
2853
|
+
* Check the health of the service. This checks the read and write health of the database and cache.
|
|
2854
|
+
* @returns HealthCheckResultDto The health of the service. This checks the read and write health of the database and cache.
|
|
2711
2855
|
* @throws ApiError
|
|
2712
2856
|
*/
|
|
2713
2857
|
dataHealthCheck(): CancelablePromise<HealthCheckResultDto>;
|
|
2858
|
+
/**
|
|
2859
|
+
* Get the liveliness of the service (reads only)
|
|
2860
|
+
* Check the liveliness of the service (reads only).
|
|
2861
|
+
* @returns HealthCheckResultDto The liveliness of the service (reads only)
|
|
2862
|
+
* @throws ApiError
|
|
2863
|
+
*/
|
|
2864
|
+
liveCheck(): CancelablePromise<HealthCheckResultDto>;
|
|
2714
2865
|
}
|
|
2715
2866
|
|
|
2716
2867
|
type IcmDestinationTransaction = {
|
|
@@ -2844,7 +2995,7 @@ type ListIcmMessagesResponse = {
|
|
|
2844
2995
|
* A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
|
|
2845
2996
|
*/
|
|
2846
2997
|
nextPageToken?: string;
|
|
2847
|
-
messages: Array<(PendingIcmMessage | DeliveredIcmMessage)>;
|
|
2998
|
+
messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
2848
2999
|
};
|
|
2849
3000
|
|
|
2850
3001
|
declare class InterchainMessagingService {
|
|
@@ -3140,7 +3291,7 @@ declare enum PrimaryNetworkOperationType {
|
|
|
3140
3291
|
type PrimaryNetworkOptions = {
|
|
3141
3292
|
addresses?: Array<string>;
|
|
3142
3293
|
cChainEvmAddresses?: Array<string>;
|
|
3143
|
-
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '
|
|
3294
|
+
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
|
|
3144
3295
|
};
|
|
3145
3296
|
|
|
3146
3297
|
type CreatePrimaryNetworkTransactionExportRequest = {
|
|
@@ -3228,6 +3379,252 @@ declare class OperationsService {
|
|
|
3228
3379
|
}): CancelablePromise<OperationStatusResponse>;
|
|
3229
3380
|
}
|
|
3230
3381
|
|
|
3382
|
+
type EvmGenesisAllocDto = {
|
|
3383
|
+
/**
|
|
3384
|
+
* Account balance in hex format
|
|
3385
|
+
*/
|
|
3386
|
+
balance?: string;
|
|
3387
|
+
/**
|
|
3388
|
+
* Contract bytecode in hex format
|
|
3389
|
+
*/
|
|
3390
|
+
code?: string;
|
|
3391
|
+
/**
|
|
3392
|
+
* Contract storage slots
|
|
3393
|
+
*/
|
|
3394
|
+
storage?: Record<string, string>;
|
|
3395
|
+
};
|
|
3396
|
+
|
|
3397
|
+
type EvmGenesisAllowListConfigDto = {
|
|
3398
|
+
/**
|
|
3399
|
+
* Block timestamp
|
|
3400
|
+
*/
|
|
3401
|
+
blockTimestamp?: number;
|
|
3402
|
+
/**
|
|
3403
|
+
* Admin addresses
|
|
3404
|
+
*/
|
|
3405
|
+
adminAddresses?: Array<string>;
|
|
3406
|
+
/**
|
|
3407
|
+
* Manager addresses
|
|
3408
|
+
*/
|
|
3409
|
+
managerAddresses?: Array<string>;
|
|
3410
|
+
/**
|
|
3411
|
+
* Enabled addresses
|
|
3412
|
+
*/
|
|
3413
|
+
enabledAddresses?: Array<string>;
|
|
3414
|
+
};
|
|
3415
|
+
|
|
3416
|
+
type EvmGenesisFeeConfigDto = {
|
|
3417
|
+
/**
|
|
3418
|
+
* Base fee change denominator
|
|
3419
|
+
*/
|
|
3420
|
+
baseFeeChangeDenominator?: number;
|
|
3421
|
+
/**
|
|
3422
|
+
* Block gas cost step
|
|
3423
|
+
*/
|
|
3424
|
+
blockGasCostStep?: number;
|
|
3425
|
+
/**
|
|
3426
|
+
* Gas limit
|
|
3427
|
+
*/
|
|
3428
|
+
gasLimit?: number;
|
|
3429
|
+
/**
|
|
3430
|
+
* Maximum block gas cost
|
|
3431
|
+
*/
|
|
3432
|
+
maxBlockGasCost?: number;
|
|
3433
|
+
/**
|
|
3434
|
+
* Minimum base fee
|
|
3435
|
+
*/
|
|
3436
|
+
minBaseFee?: number;
|
|
3437
|
+
/**
|
|
3438
|
+
* Minimum block gas cost
|
|
3439
|
+
*/
|
|
3440
|
+
minBlockGasCost?: number;
|
|
3441
|
+
/**
|
|
3442
|
+
* Target block rate
|
|
3443
|
+
*/
|
|
3444
|
+
targetBlockRate?: number;
|
|
3445
|
+
/**
|
|
3446
|
+
* Target gas
|
|
3447
|
+
*/
|
|
3448
|
+
targetGas?: number;
|
|
3449
|
+
};
|
|
3450
|
+
|
|
3451
|
+
type EvmGenesisWarpConfigDto = {
|
|
3452
|
+
/**
|
|
3453
|
+
* Block timestamp
|
|
3454
|
+
*/
|
|
3455
|
+
blockTimestamp?: number;
|
|
3456
|
+
/**
|
|
3457
|
+
* Quorum numerator
|
|
3458
|
+
*/
|
|
3459
|
+
quorumNumerator?: number;
|
|
3460
|
+
/**
|
|
3461
|
+
* Require primary network signers
|
|
3462
|
+
*/
|
|
3463
|
+
requirePrimaryNetworkSigners?: boolean;
|
|
3464
|
+
};
|
|
3465
|
+
|
|
3466
|
+
type EvmGenesisConfigDto = {
|
|
3467
|
+
/**
|
|
3468
|
+
* Berlin block number
|
|
3469
|
+
*/
|
|
3470
|
+
berlinBlock?: number;
|
|
3471
|
+
/**
|
|
3472
|
+
* Byzantium block number
|
|
3473
|
+
*/
|
|
3474
|
+
byzantiumBlock?: number;
|
|
3475
|
+
/**
|
|
3476
|
+
* Chain ID
|
|
3477
|
+
*/
|
|
3478
|
+
chainId?: number;
|
|
3479
|
+
/**
|
|
3480
|
+
* Constantinople block number
|
|
3481
|
+
*/
|
|
3482
|
+
constantinopleBlock?: number;
|
|
3483
|
+
/**
|
|
3484
|
+
* EIP-150 block number
|
|
3485
|
+
*/
|
|
3486
|
+
eip150Block?: number;
|
|
3487
|
+
/**
|
|
3488
|
+
* EIP-150 hash
|
|
3489
|
+
*/
|
|
3490
|
+
eip150Hash?: string;
|
|
3491
|
+
/**
|
|
3492
|
+
* EIP-155 block number
|
|
3493
|
+
*/
|
|
3494
|
+
eip155Block?: number;
|
|
3495
|
+
/**
|
|
3496
|
+
* EIP-158 block number
|
|
3497
|
+
*/
|
|
3498
|
+
eip158Block?: number;
|
|
3499
|
+
/**
|
|
3500
|
+
* Fee configuration
|
|
3501
|
+
*/
|
|
3502
|
+
feeConfig?: EvmGenesisFeeConfigDto;
|
|
3503
|
+
/**
|
|
3504
|
+
* Homestead block number
|
|
3505
|
+
*/
|
|
3506
|
+
homesteadBlock?: number;
|
|
3507
|
+
/**
|
|
3508
|
+
* Istanbul block number
|
|
3509
|
+
*/
|
|
3510
|
+
istanbulBlock?: number;
|
|
3511
|
+
/**
|
|
3512
|
+
* London block number
|
|
3513
|
+
*/
|
|
3514
|
+
londonBlock?: number;
|
|
3515
|
+
/**
|
|
3516
|
+
* Muir Glacier block number
|
|
3517
|
+
*/
|
|
3518
|
+
muirGlacierBlock?: number;
|
|
3519
|
+
/**
|
|
3520
|
+
* Petersburg block number
|
|
3521
|
+
*/
|
|
3522
|
+
petersburgBlock?: number;
|
|
3523
|
+
/**
|
|
3524
|
+
* Subnet EVM timestamp
|
|
3525
|
+
*/
|
|
3526
|
+
subnetEVMTimestamp?: number;
|
|
3527
|
+
/**
|
|
3528
|
+
* Allow fee recipients
|
|
3529
|
+
*/
|
|
3530
|
+
allowFeeRecipients?: boolean;
|
|
3531
|
+
/**
|
|
3532
|
+
* Warp configuration
|
|
3533
|
+
*/
|
|
3534
|
+
warpConfig?: EvmGenesisWarpConfigDto;
|
|
3535
|
+
/**
|
|
3536
|
+
* Transaction allow list configuration
|
|
3537
|
+
*/
|
|
3538
|
+
txAllowListConfig?: EvmGenesisAllowListConfigDto;
|
|
3539
|
+
/**
|
|
3540
|
+
* Contract deployer allow list configuration
|
|
3541
|
+
*/
|
|
3542
|
+
contractDeployerAllowListConfig?: EvmGenesisAllowListConfigDto;
|
|
3543
|
+
/**
|
|
3544
|
+
* Contract native minter configuration
|
|
3545
|
+
*/
|
|
3546
|
+
contractNativeMinterConfig?: EvmGenesisAllowListConfigDto;
|
|
3547
|
+
/**
|
|
3548
|
+
* Fee manager configuration
|
|
3549
|
+
*/
|
|
3550
|
+
feeManagerConfig?: EvmGenesisAllowListConfigDto;
|
|
3551
|
+
/**
|
|
3552
|
+
* Reward manager configuration
|
|
3553
|
+
*/
|
|
3554
|
+
rewardManagerConfig?: EvmGenesisAllowListConfigDto;
|
|
3555
|
+
};
|
|
3556
|
+
|
|
3557
|
+
type EvmGenesisDto = {
|
|
3558
|
+
/**
|
|
3559
|
+
* Airdrop amount
|
|
3560
|
+
*/
|
|
3561
|
+
airdropAmount?: number | null;
|
|
3562
|
+
/**
|
|
3563
|
+
* Airdrop hash
|
|
3564
|
+
*/
|
|
3565
|
+
airdropHash?: string;
|
|
3566
|
+
/**
|
|
3567
|
+
* Allocation of accounts and balances
|
|
3568
|
+
*/
|
|
3569
|
+
alloc?: Record<string, EvmGenesisAllocDto>;
|
|
3570
|
+
/**
|
|
3571
|
+
* Base fee per gas
|
|
3572
|
+
*/
|
|
3573
|
+
baseFeePerGas?: number | null;
|
|
3574
|
+
/**
|
|
3575
|
+
* Blob gas used
|
|
3576
|
+
*/
|
|
3577
|
+
blobGasUsed?: string | null;
|
|
3578
|
+
/**
|
|
3579
|
+
* Coinbase address
|
|
3580
|
+
*/
|
|
3581
|
+
coinbase?: string;
|
|
3582
|
+
/**
|
|
3583
|
+
* Genesis configuration
|
|
3584
|
+
*/
|
|
3585
|
+
config?: EvmGenesisConfigDto;
|
|
3586
|
+
/**
|
|
3587
|
+
* Difficulty
|
|
3588
|
+
*/
|
|
3589
|
+
difficulty?: string;
|
|
3590
|
+
/**
|
|
3591
|
+
* Excess blob gas
|
|
3592
|
+
*/
|
|
3593
|
+
excessBlobGas?: string | null;
|
|
3594
|
+
/**
|
|
3595
|
+
* Extra data
|
|
3596
|
+
*/
|
|
3597
|
+
extraData?: string;
|
|
3598
|
+
/**
|
|
3599
|
+
* Gas limit
|
|
3600
|
+
*/
|
|
3601
|
+
gasLimit?: string;
|
|
3602
|
+
/**
|
|
3603
|
+
* Gas used
|
|
3604
|
+
*/
|
|
3605
|
+
gasUsed?: string;
|
|
3606
|
+
/**
|
|
3607
|
+
* Mix hash
|
|
3608
|
+
*/
|
|
3609
|
+
mixHash?: string;
|
|
3610
|
+
/**
|
|
3611
|
+
* Nonce
|
|
3612
|
+
*/
|
|
3613
|
+
nonce?: string;
|
|
3614
|
+
/**
|
|
3615
|
+
* Block number
|
|
3616
|
+
*/
|
|
3617
|
+
number?: string;
|
|
3618
|
+
/**
|
|
3619
|
+
* Parent hash
|
|
3620
|
+
*/
|
|
3621
|
+
parentHash?: string;
|
|
3622
|
+
/**
|
|
3623
|
+
* Block timestamp
|
|
3624
|
+
*/
|
|
3625
|
+
timestamp?: string;
|
|
3626
|
+
};
|
|
3627
|
+
|
|
3231
3628
|
type Blockchain = {
|
|
3232
3629
|
createBlockTimestamp: number;
|
|
3233
3630
|
createBlockNumber: string;
|
|
@@ -3235,16 +3632,22 @@ type Blockchain = {
|
|
|
3235
3632
|
vmId: string;
|
|
3236
3633
|
subnetId: string;
|
|
3237
3634
|
blockchainName: string;
|
|
3635
|
+
/**
|
|
3636
|
+
* 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.
|
|
3637
|
+
*/
|
|
3638
|
+
evmChainId?: number;
|
|
3639
|
+
/**
|
|
3640
|
+
* The genesis data of the blockchain. Can be either a parsed EvmGenesisDto object or a raw JSON string.
|
|
3641
|
+
*/
|
|
3642
|
+
genesisData?: (EvmGenesisDto | string);
|
|
3238
3643
|
};
|
|
3239
3644
|
|
|
3240
3645
|
declare enum BlockchainIds {
|
|
3241
3646
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
3242
3647
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
3243
3648
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
3244
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
3245
3649
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
3246
|
-
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
|
|
3247
|
-
V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu"
|
|
3650
|
+
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp"
|
|
3248
3651
|
}
|
|
3249
3652
|
|
|
3250
3653
|
type ChainAddressChainIdMap = {
|
|
@@ -3434,6 +3837,10 @@ type ListL1ValidatorsResponse = {
|
|
|
3434
3837
|
* The list of L1 validations for the given Subnet ID, NodeId or validationId
|
|
3435
3838
|
*/
|
|
3436
3839
|
validators: Array<L1ValidatorDetailsFull>;
|
|
3840
|
+
/**
|
|
3841
|
+
* Block height at which the L1 validator's remaining balance is calculated
|
|
3842
|
+
*/
|
|
3843
|
+
blockHeight: string;
|
|
3437
3844
|
};
|
|
3438
3845
|
|
|
3439
3846
|
type L1ValidatorManagerDetails = {
|
|
@@ -3759,7 +4166,6 @@ type XChainAssetDetails = {
|
|
|
3759
4166
|
declare enum XChainId {
|
|
3760
4167
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
3761
4168
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
3762
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
3763
4169
|
X_CHAIN = "x-chain"
|
|
3764
4170
|
}
|
|
3765
4171
|
|
|
@@ -3830,7 +4236,7 @@ declare class PrimaryNetworkService {
|
|
|
3830
4236
|
*/
|
|
3831
4237
|
pageToken?: string;
|
|
3832
4238
|
/**
|
|
3833
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
4239
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
|
|
3834
4240
|
*/
|
|
3835
4241
|
pageSize?: number;
|
|
3836
4242
|
/**
|
|
@@ -3870,7 +4276,7 @@ declare class PrimaryNetworkService {
|
|
|
3870
4276
|
*/
|
|
3871
4277
|
pageToken?: string;
|
|
3872
4278
|
/**
|
|
3873
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
4279
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
|
|
3874
4280
|
*/
|
|
3875
4281
|
pageSize?: number;
|
|
3876
4282
|
/**
|
|
@@ -3896,7 +4302,7 @@ declare class PrimaryNetworkService {
|
|
|
3896
4302
|
}): CancelablePromise<Subnet>;
|
|
3897
4303
|
/**
|
|
3898
4304
|
* List validators
|
|
3899
|
-
* Lists details for validators. By default, returns details for all validators. Filterable by
|
|
4305
|
+
* Lists details for validators. By default, returns details for all validators. The nodeIds parameter supports substring matching. Filterable by validation status, delegation capacity, time remaining, fee percentage, uptime performance, and subnet id.
|
|
3900
4306
|
* @returns ListValidatorDetailsResponse Successful response
|
|
3901
4307
|
* @throws ApiError
|
|
3902
4308
|
*/
|
|
@@ -3914,7 +4320,7 @@ declare class PrimaryNetworkService {
|
|
|
3914
4320
|
*/
|
|
3915
4321
|
pageSize?: number;
|
|
3916
4322
|
/**
|
|
3917
|
-
* A comma separated list of node ids to filter by.
|
|
4323
|
+
* A comma separated list of node ids to filter by. Supports substring matching.
|
|
3918
4324
|
*/
|
|
3919
4325
|
nodeIds?: string;
|
|
3920
4326
|
/**
|
|
@@ -4075,10 +4481,8 @@ declare enum BlockchainId {
|
|
|
4075
4481
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
4076
4482
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
4077
4483
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
4078
|
-
_2PI_Q2AVHCJNDUI_WXS_SY15DTB_VUW_HE2CW_MHYN_EXHS_LL73BBKDB_V = "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV",
|
|
4079
4484
|
_2Q9E4R6MU3U68N_U1F_YJGB_R6JVWR_RX36COHP_AX5UQXSE55X1Q5 = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
|
|
4080
4485
|
Y_H8D7TH_NJKXMTKUV2JG_BA4P1RN3QPR4P_PR7QYNFCDO_S6K6HWP = "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp",
|
|
4081
|
-
V_V3CUI1DS_EPC3N_LCGH9RORWO8S6BYX_M2HZ4QFE5G_EYJW_TQ_AU = "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu",
|
|
4082
4486
|
P_CHAIN = "p-chain",
|
|
4083
4487
|
X_CHAIN = "x-chain",
|
|
4084
4488
|
C_CHAIN = "c-chain"
|
|
@@ -4668,6 +5072,10 @@ type Utxo = {
|
|
|
4668
5072
|
* UTXO ID for this output.
|
|
4669
5073
|
*/
|
|
4670
5074
|
utxoId: string;
|
|
5075
|
+
/**
|
|
5076
|
+
* The bytes of the UTXO
|
|
5077
|
+
*/
|
|
5078
|
+
utxoBytes?: string;
|
|
4671
5079
|
/**
|
|
4672
5080
|
* Unix timestamp in seconds at which this output was consumed.
|
|
4673
5081
|
*/
|
|
@@ -4836,6 +5244,15 @@ type ListCChainAtomicTransactionsResponse = {
|
|
|
4836
5244
|
chainInfo: PrimaryNetworkChainInfo;
|
|
4837
5245
|
};
|
|
4838
5246
|
|
|
5247
|
+
type BlockchainInfo = {
|
|
5248
|
+
chainName: string;
|
|
5249
|
+
vmId: string;
|
|
5250
|
+
/**
|
|
5251
|
+
* 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
|
|
5252
|
+
*/
|
|
5253
|
+
genesisData?: (EvmGenesisDto | string);
|
|
5254
|
+
};
|
|
5255
|
+
|
|
4839
5256
|
type L1ValidatorDetailsTransaction = {
|
|
4840
5257
|
/**
|
|
4841
5258
|
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
@@ -4916,6 +5333,10 @@ type PChainUtxo = {
|
|
|
4916
5333
|
* UTXO ID for this output.
|
|
4917
5334
|
*/
|
|
4918
5335
|
utxoId: string;
|
|
5336
|
+
/**
|
|
5337
|
+
* The bytes of the UTXO
|
|
5338
|
+
*/
|
|
5339
|
+
utxoBytes?: string;
|
|
4919
5340
|
/**
|
|
4920
5341
|
* @deprecated
|
|
4921
5342
|
*/
|
|
@@ -4974,7 +5395,7 @@ type PChainTransaction = {
|
|
|
4974
5395
|
txHash: string;
|
|
4975
5396
|
txType: PChainTransactionType;
|
|
4976
5397
|
/**
|
|
4977
|
-
* The block
|
|
5398
|
+
* The block creation (proposal) timestamp in seconds
|
|
4978
5399
|
*/
|
|
4979
5400
|
blockTimestamp: number;
|
|
4980
5401
|
/**
|
|
@@ -5064,6 +5485,10 @@ type PChainTransaction = {
|
|
|
5064
5485
|
* Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
|
|
5065
5486
|
*/
|
|
5066
5487
|
blsCredentials?: BlsCredentials;
|
|
5488
|
+
/**
|
|
5489
|
+
* Details of the blockchain that was created in the CreateChainTx
|
|
5490
|
+
*/
|
|
5491
|
+
blockchainInfo?: BlockchainInfo;
|
|
5067
5492
|
};
|
|
5068
5493
|
|
|
5069
5494
|
type ListPChainTransactionsResponse = {
|
|
@@ -5416,6 +5841,36 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
5416
5841
|
}): CancelablePromise<ListXChainTransactionsResponse>;
|
|
5417
5842
|
}
|
|
5418
5843
|
|
|
5844
|
+
declare enum PrimaryNetworkType {
|
|
5845
|
+
MAINNET = "mainnet",
|
|
5846
|
+
FUJI = "fuji"
|
|
5847
|
+
}
|
|
5848
|
+
|
|
5849
|
+
type LastActivityTimestamp = {
|
|
5850
|
+
/**
|
|
5851
|
+
* Unix timestamp in seconds at which the last activity occurred.
|
|
5852
|
+
*/
|
|
5853
|
+
timestamp: number;
|
|
5854
|
+
/**
|
|
5855
|
+
* Block height at which the last activity occurred.
|
|
5856
|
+
*/
|
|
5857
|
+
blockNumber: string;
|
|
5858
|
+
/**
|
|
5859
|
+
* Transaction hash of the transaction that created or consumed the address' UTXOs.
|
|
5860
|
+
*/
|
|
5861
|
+
txHash: string;
|
|
5862
|
+
/**
|
|
5863
|
+
* UTXO ID of the UTXO that was created or consumed.
|
|
5864
|
+
*/
|
|
5865
|
+
utxoId: string;
|
|
5866
|
+
/**
|
|
5867
|
+
* Whether the last activity was a consumption of an existing UTXO.
|
|
5868
|
+
*/
|
|
5869
|
+
isConsumed: boolean;
|
|
5870
|
+
chainName: PrimaryNetworkChainName;
|
|
5871
|
+
network: PrimaryNetworkType;
|
|
5872
|
+
};
|
|
5873
|
+
|
|
5419
5874
|
type ListPChainUtxosResponse = {
|
|
5420
5875
|
/**
|
|
5421
5876
|
* 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.
|
|
@@ -5434,6 +5889,18 @@ type ListUtxosResponse = {
|
|
|
5434
5889
|
chainInfo: PrimaryNetworkChainInfo;
|
|
5435
5890
|
};
|
|
5436
5891
|
|
|
5892
|
+
type PrimaryNetworkAddressesBodyDto = {
|
|
5893
|
+
/**
|
|
5894
|
+
* Comma-separated list of primary network addresses
|
|
5895
|
+
*/
|
|
5896
|
+
addresses: string;
|
|
5897
|
+
};
|
|
5898
|
+
|
|
5899
|
+
declare enum UtxosSortByOption {
|
|
5900
|
+
TIMESTAMP = "timestamp",
|
|
5901
|
+
AMOUNT = "amount"
|
|
5902
|
+
}
|
|
5903
|
+
|
|
5437
5904
|
declare class PrimaryNetworkUtxOsService {
|
|
5438
5905
|
readonly httpRequest: BaseHttpRequest;
|
|
5439
5906
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -5443,7 +5910,7 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
5443
5910
|
* @returns any Successful response
|
|
5444
5911
|
* @throws ApiError
|
|
5445
5912
|
*/
|
|
5446
|
-
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, includeSpent, sortOrder, }: {
|
|
5913
|
+
getUtxosByAddresses({ blockchainId, network, addresses, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
|
|
5447
5914
|
/**
|
|
5448
5915
|
* A primary network blockchain id or alias.
|
|
5449
5916
|
*/
|
|
@@ -5468,15 +5935,105 @@ declare class PrimaryNetworkUtxOsService {
|
|
|
5468
5935
|
* Asset ID for any asset (only applicable X-Chain)
|
|
5469
5936
|
*/
|
|
5470
5937
|
assetId?: string;
|
|
5938
|
+
/**
|
|
5939
|
+
* The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
|
|
5940
|
+
*/
|
|
5941
|
+
minUtxoAmount?: number;
|
|
5942
|
+
/**
|
|
5943
|
+
* Boolean filter to include spent UTXOs.
|
|
5944
|
+
*/
|
|
5945
|
+
includeSpent?: boolean;
|
|
5946
|
+
/**
|
|
5947
|
+
* Which property to sort by, in conjunction with sortOrder.
|
|
5948
|
+
*/
|
|
5949
|
+
sortBy?: UtxosSortByOption;
|
|
5950
|
+
/**
|
|
5951
|
+
* 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.
|
|
5952
|
+
*/
|
|
5953
|
+
sortOrder?: SortOrder;
|
|
5954
|
+
}): CancelablePromise<(ListPChainUtxosResponse | ListUtxosResponse)>;
|
|
5955
|
+
/**
|
|
5956
|
+
* List UTXOs v2 - Supports querying for more addresses
|
|
5957
|
+
* Lists UTXOs on one of the Primary Network chains for the supplied addresses. This v2 route supports increased page size and address limit.
|
|
5958
|
+
* @returns any Successful response
|
|
5959
|
+
* @throws ApiError
|
|
5960
|
+
*/
|
|
5961
|
+
getUtxosByAddressesV2({ blockchainId, network, requestBody, pageToken, pageSize, assetId, minUtxoAmount, includeSpent, sortBy, sortOrder, }: {
|
|
5962
|
+
/**
|
|
5963
|
+
* A primary network blockchain id or alias.
|
|
5964
|
+
*/
|
|
5965
|
+
blockchainId: BlockchainId;
|
|
5966
|
+
/**
|
|
5967
|
+
* Either mainnet or testnet/fuji.
|
|
5968
|
+
*/
|
|
5969
|
+
network: Network;
|
|
5970
|
+
requestBody: PrimaryNetworkAddressesBodyDto;
|
|
5971
|
+
/**
|
|
5972
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
5973
|
+
*/
|
|
5974
|
+
pageToken?: string;
|
|
5975
|
+
/**
|
|
5976
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 1024.
|
|
5977
|
+
*/
|
|
5978
|
+
pageSize?: number;
|
|
5979
|
+
/**
|
|
5980
|
+
* Asset ID for any asset (only applicable X-Chain)
|
|
5981
|
+
*/
|
|
5982
|
+
assetId?: string;
|
|
5983
|
+
/**
|
|
5984
|
+
* The minimum UTXO amount in nAVAX (inclusive), used to filter the set of UTXOs being returned. Default is 0.
|
|
5985
|
+
*/
|
|
5986
|
+
minUtxoAmount?: number;
|
|
5471
5987
|
/**
|
|
5472
5988
|
* Boolean filter to include spent UTXOs.
|
|
5473
5989
|
*/
|
|
5474
5990
|
includeSpent?: boolean;
|
|
5991
|
+
/**
|
|
5992
|
+
* Which property to sort by, in conjunction with sortOrder.
|
|
5993
|
+
*/
|
|
5994
|
+
sortBy?: UtxosSortByOption;
|
|
5475
5995
|
/**
|
|
5476
5996
|
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
5477
5997
|
*/
|
|
5478
5998
|
sortOrder?: SortOrder;
|
|
5479
5999
|
}): CancelablePromise<(ListPChainUtxosResponse | ListUtxosResponse)>;
|
|
6000
|
+
/**
|
|
6001
|
+
* Get last activity timestamp by addresses
|
|
6002
|
+
* Gets the last activity timestamp for the supplied addresses on one of the Primary Network chains.
|
|
6003
|
+
* @returns any Successful response
|
|
6004
|
+
* @throws ApiError
|
|
6005
|
+
*/
|
|
6006
|
+
getLastActivityTimestampByAddresses({ blockchainId, network, addresses, }: {
|
|
6007
|
+
/**
|
|
6008
|
+
* A primary network blockchain id or alias.
|
|
6009
|
+
*/
|
|
6010
|
+
blockchainId: BlockchainId;
|
|
6011
|
+
/**
|
|
6012
|
+
* Either mainnet or testnet/fuji.
|
|
6013
|
+
*/
|
|
6014
|
+
network: Network;
|
|
6015
|
+
/**
|
|
6016
|
+
* A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
|
|
6017
|
+
*/
|
|
6018
|
+
addresses?: string;
|
|
6019
|
+
}): CancelablePromise<LastActivityTimestamp>;
|
|
6020
|
+
/**
|
|
6021
|
+
* Get last activity timestamp by addresses v2
|
|
6022
|
+
* Gets the last activity timestamp for the supplied addresses on one of the Primary Network chains. V2 route supports querying for more addresses.
|
|
6023
|
+
* @returns any Successful response
|
|
6024
|
+
* @throws ApiError
|
|
6025
|
+
*/
|
|
6026
|
+
getLastActivityTimestampByAddressesV2({ blockchainId, network, requestBody, }: {
|
|
6027
|
+
/**
|
|
6028
|
+
* A primary network blockchain id or alias.
|
|
6029
|
+
*/
|
|
6030
|
+
blockchainId: BlockchainId;
|
|
6031
|
+
/**
|
|
6032
|
+
* Either mainnet or testnet/fuji.
|
|
6033
|
+
*/
|
|
6034
|
+
network: Network;
|
|
6035
|
+
requestBody: PrimaryNetworkAddressesBodyDto;
|
|
6036
|
+
}): CancelablePromise<LastActivityTimestamp>;
|
|
5480
6037
|
}
|
|
5481
6038
|
|
|
5482
6039
|
type XChainVertex = {
|
|
@@ -5585,10 +6142,30 @@ type SignatureAggregationResponse = {
|
|
|
5585
6142
|
};
|
|
5586
6143
|
|
|
5587
6144
|
type SignatureAggregatorRequest = {
|
|
5588
|
-
|
|
6145
|
+
/**
|
|
6146
|
+
* Either Message or Justification must be provided. Hex-encoded message, optionally prefixed with "0x"
|
|
6147
|
+
*/
|
|
6148
|
+
message?: string;
|
|
6149
|
+
/**
|
|
6150
|
+
* Either Justification or Message must be provided. Hex-encoded justification, optionally prefixed with "0x"
|
|
6151
|
+
*/
|
|
5589
6152
|
justification?: string;
|
|
6153
|
+
/**
|
|
6154
|
+
* Optional hex or cb58 encoded signing subnet ID. If omitted will default to the subnetID of the source blockchain.
|
|
6155
|
+
*/
|
|
5590
6156
|
signingSubnetId?: string;
|
|
6157
|
+
/**
|
|
6158
|
+
* 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.
|
|
6159
|
+
*/
|
|
5591
6160
|
quorumPercentage?: number;
|
|
6161
|
+
/**
|
|
6162
|
+
* 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.
|
|
6163
|
+
*/
|
|
6164
|
+
quorumPercentageBuffer?: number;
|
|
6165
|
+
/**
|
|
6166
|
+
* 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.
|
|
6167
|
+
*/
|
|
6168
|
+
pChainHeight?: number;
|
|
5592
6169
|
};
|
|
5593
6170
|
|
|
5594
6171
|
declare class SignatureAggregatorService {
|
|
@@ -5756,7 +6333,7 @@ type ListTeleporterMessagesResponse = {
|
|
|
5756
6333
|
* A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
|
|
5757
6334
|
*/
|
|
5758
6335
|
nextPageToken?: string;
|
|
5759
|
-
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
|
|
6336
|
+
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
5760
6337
|
};
|
|
5761
6338
|
|
|
5762
6339
|
declare class TeleporterService {
|
|
@@ -5854,28 +6431,23 @@ type AddressesChangeRequest = {
|
|
|
5854
6431
|
};
|
|
5855
6432
|
|
|
5856
6433
|
type AddressActivityMetadata = {
|
|
5857
|
-
/**
|
|
5858
|
-
* Ethereum address(es) for the address_activity event type
|
|
5859
|
-
*/
|
|
5860
|
-
addresses: Array<string>;
|
|
5861
6434
|
/**
|
|
5862
6435
|
* Array of hexadecimal strings of the event signatures.
|
|
5863
6436
|
*/
|
|
5864
6437
|
eventSignatures?: Array<string>;
|
|
6438
|
+
/**
|
|
6439
|
+
* 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.
|
|
6440
|
+
*/
|
|
6441
|
+
addresses: Array<string>;
|
|
5865
6442
|
};
|
|
5866
6443
|
|
|
5867
|
-
declare enum PrimaryNetworkType {
|
|
5868
|
-
MAINNET = "mainnet",
|
|
5869
|
-
FUJI = "fuji"
|
|
5870
|
-
}
|
|
5871
|
-
|
|
5872
6444
|
type EVMAddressActivityRequest = {
|
|
5873
6445
|
eventType: EVMAddressActivityRequest.eventType;
|
|
5874
6446
|
url: string;
|
|
5875
|
-
chainId: string;
|
|
5876
|
-
network?: PrimaryNetworkType;
|
|
5877
6447
|
name?: string;
|
|
5878
6448
|
description?: string;
|
|
6449
|
+
chainId: string;
|
|
6450
|
+
metadata: AddressActivityMetadata;
|
|
5879
6451
|
/**
|
|
5880
6452
|
* Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
|
|
5881
6453
|
*/
|
|
@@ -5884,7 +6456,6 @@ type EVMAddressActivityRequest = {
|
|
|
5884
6456
|
* Whether to include logs in the webhook payload.
|
|
5885
6457
|
*/
|
|
5886
6458
|
includeLogs?: boolean;
|
|
5887
|
-
metadata: AddressActivityMetadata;
|
|
5888
6459
|
};
|
|
5889
6460
|
declare namespace EVMAddressActivityRequest {
|
|
5890
6461
|
enum eventType {
|
|
@@ -5892,10 +6463,8 @@ declare namespace EVMAddressActivityRequest {
|
|
|
5892
6463
|
}
|
|
5893
6464
|
}
|
|
5894
6465
|
|
|
5895
|
-
declare enum
|
|
5896
|
-
ADDRESS_ACTIVITY = "address_activity"
|
|
5897
|
-
PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
|
|
5898
|
-
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6466
|
+
declare enum AddressActivityEventType {
|
|
6467
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
5899
6468
|
}
|
|
5900
6469
|
|
|
5901
6470
|
declare enum WebhookStatusType {
|
|
@@ -5905,13 +6474,13 @@ declare enum WebhookStatusType {
|
|
|
5905
6474
|
|
|
5906
6475
|
type EVMAddressActivityResponse = {
|
|
5907
6476
|
id: string;
|
|
5908
|
-
eventType: EventType;
|
|
5909
6477
|
url: string;
|
|
5910
6478
|
chainId: string;
|
|
5911
6479
|
status: WebhookStatusType;
|
|
5912
6480
|
createdAt: number;
|
|
5913
6481
|
name: string;
|
|
5914
6482
|
description: string;
|
|
6483
|
+
eventType: AddressActivityEventType;
|
|
5915
6484
|
metadata: AddressActivityMetadata;
|
|
5916
6485
|
/**
|
|
5917
6486
|
* Whether to include traces in the webhook payload.
|
|
@@ -5932,30 +6501,28 @@ type ListWebhookAddressesResponse = {
|
|
|
5932
6501
|
totalAddresses: number;
|
|
5933
6502
|
};
|
|
5934
6503
|
|
|
6504
|
+
declare enum PrimaryNetworkAddressActivityEventType {
|
|
6505
|
+
PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
|
|
6506
|
+
}
|
|
6507
|
+
|
|
5935
6508
|
/**
|
|
5936
|
-
* The type of key
|
|
6509
|
+
* The type of key to monitor for the address activity event type.
|
|
5937
6510
|
*/
|
|
5938
|
-
declare enum
|
|
5939
|
-
ADDRESSES = "addresses"
|
|
5940
|
-
NODE_ID = "nodeId",
|
|
5941
|
-
SUBNET_ID = "subnetId"
|
|
6511
|
+
declare enum PlatformAddressActivityKeyType {
|
|
6512
|
+
ADDRESSES = "addresses"
|
|
5942
6513
|
}
|
|
5943
6514
|
|
|
5944
6515
|
/**
|
|
5945
6516
|
* Array of address activity sub-event types
|
|
5946
6517
|
*/
|
|
5947
|
-
declare enum
|
|
5948
|
-
|
|
5949
|
-
|
|
6518
|
+
declare enum PrimaryNetworkAddressActivitySubEventType {
|
|
6519
|
+
BALANCE_CHANGE = "balance_change",
|
|
6520
|
+
BALANCE_THRESHOLD = "balance_threshold",
|
|
5950
6521
|
REWARD_DISTRIBUTION = "reward_distribution"
|
|
5951
6522
|
}
|
|
5952
6523
|
|
|
5953
|
-
type
|
|
5954
|
-
|
|
5955
|
-
* Array of validator activity sub-event types
|
|
5956
|
-
*/
|
|
5957
|
-
validatorActivitySubEvents?: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
|
|
5958
|
-
addressActivitySubEvents?: Array<PlatformAddressActivitySubEventType>;
|
|
6524
|
+
type PrimaryNetworkAddressActivitySubEvents = {
|
|
6525
|
+
addressActivitySubEvents: Array<PrimaryNetworkAddressActivitySubEventType>;
|
|
5959
6526
|
};
|
|
5960
6527
|
|
|
5961
6528
|
/**
|
|
@@ -5974,7 +6541,7 @@ declare enum CommonBalanceType {
|
|
|
5974
6541
|
ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
|
|
5975
6542
|
}
|
|
5976
6543
|
|
|
5977
|
-
type
|
|
6544
|
+
type PrimaryNetworkBalanceThresholdFilter = {
|
|
5978
6545
|
balanceType: CommonBalanceType;
|
|
5979
6546
|
/**
|
|
5980
6547
|
* Threshold for balance corresponding to balanceType in nAVAX
|
|
@@ -5982,20 +6549,71 @@ type PlatformBalanceThresholdFilter = {
|
|
|
5982
6549
|
balanceThreshold: string;
|
|
5983
6550
|
};
|
|
5984
6551
|
|
|
5985
|
-
type
|
|
5986
|
-
|
|
6552
|
+
type PrimaryNetworkAddressActivityMetadata = {
|
|
6553
|
+
/**
|
|
6554
|
+
* Array of hexadecimal strings of the event signatures.
|
|
6555
|
+
*/
|
|
6556
|
+
eventSignatures?: Array<string>;
|
|
6557
|
+
keyType: PlatformAddressActivityKeyType;
|
|
5987
6558
|
/**
|
|
5988
|
-
* Array of keys like addresses
|
|
6559
|
+
* Array of keys like addresses corresponding to the keyType being monitored. For PrimaryNetworkAddressActivity event, an array of multiple addresses can be provided. The maximum number of 'addresses' you can track depends on the Data API plan you are subscribed to.
|
|
5989
6560
|
*/
|
|
5990
6561
|
keys: Array<string>;
|
|
5991
6562
|
/**
|
|
5992
6563
|
* Sub-events to monitor
|
|
5993
6564
|
*/
|
|
5994
|
-
subEvents
|
|
6565
|
+
subEvents: PrimaryNetworkAddressActivitySubEvents;
|
|
6566
|
+
/**
|
|
6567
|
+
* Balance threshold filter
|
|
6568
|
+
*/
|
|
6569
|
+
balanceThresholdFilter?: PrimaryNetworkBalanceThresholdFilter;
|
|
6570
|
+
};
|
|
6571
|
+
|
|
6572
|
+
type PrimaryNetworkAddressActivityResponse = {
|
|
6573
|
+
id: string;
|
|
6574
|
+
url: string;
|
|
6575
|
+
chainId: string;
|
|
6576
|
+
status: WebhookStatusType;
|
|
6577
|
+
createdAt: number;
|
|
6578
|
+
name: string;
|
|
6579
|
+
description: string;
|
|
6580
|
+
eventType: PrimaryNetworkAddressActivityEventType;
|
|
6581
|
+
metadata: PrimaryNetworkAddressActivityMetadata;
|
|
6582
|
+
};
|
|
6583
|
+
|
|
6584
|
+
declare enum ValidatorActivityEventType {
|
|
6585
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6586
|
+
}
|
|
6587
|
+
|
|
6588
|
+
/**
|
|
6589
|
+
* The type of key to monitor for the validator activity event type.
|
|
6590
|
+
*/
|
|
6591
|
+
declare enum ValidatorActivityKeyType {
|
|
6592
|
+
NODE_ID = "nodeId",
|
|
6593
|
+
SUBNET_ID = "subnetId"
|
|
6594
|
+
}
|
|
6595
|
+
|
|
6596
|
+
type ValidatorActivitySubEvents = {
|
|
6597
|
+
/**
|
|
6598
|
+
* Array of validator activity sub-event types
|
|
6599
|
+
*/
|
|
6600
|
+
validatorActivitySubEvents: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
|
|
6601
|
+
};
|
|
6602
|
+
|
|
6603
|
+
type ValidatorActivityMetadata = {
|
|
5995
6604
|
/**
|
|
5996
6605
|
* Array of hexadecimal strings of the event signatures.
|
|
5997
6606
|
*/
|
|
5998
6607
|
eventSignatures?: Array<string>;
|
|
6608
|
+
keyType: ValidatorActivityKeyType;
|
|
6609
|
+
/**
|
|
6610
|
+
* Array of keys like NodeID or SubnetID corresponding to the keyType being monitored. ValidatorActivity event will only accept a single key
|
|
6611
|
+
*/
|
|
6612
|
+
keys: Array<string>;
|
|
6613
|
+
/**
|
|
6614
|
+
* Sub-events to monitor
|
|
6615
|
+
*/
|
|
6616
|
+
subEvents: ValidatorActivitySubEvents;
|
|
5999
6617
|
/**
|
|
6000
6618
|
* Array of node IDs to filter the events
|
|
6001
6619
|
*/
|
|
@@ -6004,26 +6622,22 @@ type PlatformActivityMetadata = {
|
|
|
6004
6622
|
* Array of subnet IDs to filter the events
|
|
6005
6623
|
*/
|
|
6006
6624
|
subnetIds?: Array<string>;
|
|
6007
|
-
/**
|
|
6008
|
-
* Balance threshold filter
|
|
6009
|
-
*/
|
|
6010
|
-
balanceThresholdFilter?: PlatformBalanceThresholdFilter;
|
|
6011
6625
|
/**
|
|
6012
6626
|
* L1 validator fee balance threshold in nAVAX
|
|
6013
6627
|
*/
|
|
6014
6628
|
l1ValidatorFeeBalanceThreshold?: string;
|
|
6015
6629
|
};
|
|
6016
6630
|
|
|
6017
|
-
type
|
|
6631
|
+
type ValidatorActivityResponse = {
|
|
6018
6632
|
id: string;
|
|
6019
|
-
eventType: EventType;
|
|
6020
6633
|
url: string;
|
|
6021
6634
|
chainId: string;
|
|
6022
6635
|
status: WebhookStatusType;
|
|
6023
6636
|
createdAt: number;
|
|
6024
6637
|
name: string;
|
|
6025
6638
|
description: string;
|
|
6026
|
-
|
|
6639
|
+
eventType: ValidatorActivityEventType;
|
|
6640
|
+
metadata: ValidatorActivityMetadata;
|
|
6027
6641
|
};
|
|
6028
6642
|
|
|
6029
6643
|
type ListWebhooksResponse = {
|
|
@@ -6031,33 +6645,24 @@ type ListWebhooksResponse = {
|
|
|
6031
6645
|
* A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
|
|
6032
6646
|
*/
|
|
6033
6647
|
nextPageToken?: string;
|
|
6034
|
-
webhooks: Array<(EVMAddressActivityResponse |
|
|
6648
|
+
webhooks: Array<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6035
6649
|
};
|
|
6036
6650
|
|
|
6037
|
-
type
|
|
6038
|
-
eventType:
|
|
6651
|
+
type PrimaryNetworkAddressActivityRequest = {
|
|
6652
|
+
eventType: PrimaryNetworkAddressActivityRequest.eventType;
|
|
6039
6653
|
url: string;
|
|
6040
|
-
chainId: string;
|
|
6041
|
-
network?: PrimaryNetworkType;
|
|
6042
6654
|
name?: string;
|
|
6043
6655
|
description?: string;
|
|
6656
|
+
network: PrimaryNetworkType;
|
|
6657
|
+
chainId: string;
|
|
6044
6658
|
/**
|
|
6045
|
-
*
|
|
6046
|
-
*/
|
|
6047
|
-
includeInternalTxs?: boolean;
|
|
6048
|
-
/**
|
|
6049
|
-
* Whether to include logs in the webhook payload.
|
|
6050
|
-
*/
|
|
6051
|
-
includeLogs?: boolean;
|
|
6052
|
-
/**
|
|
6053
|
-
* Metadata for platform activity
|
|
6659
|
+
* Metadata for platform address activity event
|
|
6054
6660
|
*/
|
|
6055
|
-
metadata:
|
|
6661
|
+
metadata: PrimaryNetworkAddressActivityMetadata;
|
|
6056
6662
|
};
|
|
6057
|
-
declare namespace
|
|
6663
|
+
declare namespace PrimaryNetworkAddressActivityRequest {
|
|
6058
6664
|
enum eventType {
|
|
6059
|
-
|
|
6060
|
-
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6665
|
+
PRIMARY_NETWORK_ADDRESS_ACTIVITY = "primary_network_address_activity"
|
|
6061
6666
|
}
|
|
6062
6667
|
}
|
|
6063
6668
|
|
|
@@ -6077,6 +6682,23 @@ type UpdateWebhookRequest = {
|
|
|
6077
6682
|
includeLogs?: boolean;
|
|
6078
6683
|
};
|
|
6079
6684
|
|
|
6685
|
+
type ValidatorActivityRequest = {
|
|
6686
|
+
eventType: ValidatorActivityRequest.eventType;
|
|
6687
|
+
url: string;
|
|
6688
|
+
name?: string;
|
|
6689
|
+
description?: string;
|
|
6690
|
+
network: PrimaryNetworkType;
|
|
6691
|
+
/**
|
|
6692
|
+
* Metadata for platform validator activity event
|
|
6693
|
+
*/
|
|
6694
|
+
metadata: ValidatorActivityMetadata;
|
|
6695
|
+
};
|
|
6696
|
+
declare namespace ValidatorActivityRequest {
|
|
6697
|
+
enum eventType {
|
|
6698
|
+
VALIDATOR_ACTIVITY = "validator_activity"
|
|
6699
|
+
}
|
|
6700
|
+
}
|
|
6701
|
+
|
|
6080
6702
|
declare enum WebhookStatus {
|
|
6081
6703
|
ACTIVE = "active",
|
|
6082
6704
|
INACTIVE = "inactive"
|
|
@@ -6092,8 +6714,8 @@ declare class WebhooksService {
|
|
|
6092
6714
|
* @throws ApiError
|
|
6093
6715
|
*/
|
|
6094
6716
|
createWebhook({ requestBody, }: {
|
|
6095
|
-
requestBody: (EVMAddressActivityRequest |
|
|
6096
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6717
|
+
requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
|
|
6718
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6097
6719
|
/**
|
|
6098
6720
|
* List webhooks
|
|
6099
6721
|
* Lists webhooks for the user.
|
|
@@ -6125,7 +6747,7 @@ declare class WebhooksService {
|
|
|
6125
6747
|
* The webhook identifier.
|
|
6126
6748
|
*/
|
|
6127
6749
|
id: string;
|
|
6128
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6750
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6129
6751
|
/**
|
|
6130
6752
|
* Deactivate a webhook
|
|
6131
6753
|
* Deactivates a webhook by ID.
|
|
@@ -6137,7 +6759,7 @@ declare class WebhooksService {
|
|
|
6137
6759
|
* The webhook identifier.
|
|
6138
6760
|
*/
|
|
6139
6761
|
id: string;
|
|
6140
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6762
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6141
6763
|
/**
|
|
6142
6764
|
* Update a webhook
|
|
6143
6765
|
* Updates an existing webhook.
|
|
@@ -6150,7 +6772,7 @@ declare class WebhooksService {
|
|
|
6150
6772
|
*/
|
|
6151
6773
|
id: string;
|
|
6152
6774
|
requestBody: UpdateWebhookRequest;
|
|
6153
|
-
}): CancelablePromise<(EVMAddressActivityResponse |
|
|
6775
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
6154
6776
|
/**
|
|
6155
6777
|
* Generate or rotate a shared secret
|
|
6156
6778
|
* Generates a new shared secret or rotate an existing one.
|
|
@@ -6215,6 +6837,7 @@ declare class WebhooksService {
|
|
|
6215
6837
|
|
|
6216
6838
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
6217
6839
|
declare class Glacier {
|
|
6840
|
+
readonly avaxSupply: AvaxSupplyService;
|
|
6218
6841
|
readonly dataApiUsageMetrics: DataApiUsageMetricsService;
|
|
6219
6842
|
readonly default: DefaultService;
|
|
6220
6843
|
readonly evmBalances: EvmBalancesService;
|
|
@@ -6513,6 +7136,37 @@ type TooManyRequests = {
|
|
|
6513
7136
|
error: string;
|
|
6514
7137
|
};
|
|
6515
7138
|
|
|
7139
|
+
type WebhookInternalTransaction = {
|
|
7140
|
+
/**
|
|
7141
|
+
* Sender address
|
|
7142
|
+
*/
|
|
7143
|
+
from: string;
|
|
7144
|
+
/**
|
|
7145
|
+
* Recipient address
|
|
7146
|
+
*/
|
|
7147
|
+
to: string;
|
|
7148
|
+
/**
|
|
7149
|
+
* Internal transaction type
|
|
7150
|
+
*/
|
|
7151
|
+
internalTxType: string;
|
|
7152
|
+
/**
|
|
7153
|
+
* Value transferred
|
|
7154
|
+
*/
|
|
7155
|
+
value: string;
|
|
7156
|
+
/**
|
|
7157
|
+
* Gas used
|
|
7158
|
+
*/
|
|
7159
|
+
gasUsed: string;
|
|
7160
|
+
/**
|
|
7161
|
+
* Gas limit
|
|
7162
|
+
*/
|
|
7163
|
+
gasLimit: string;
|
|
7164
|
+
/**
|
|
7165
|
+
* Transaction hash
|
|
7166
|
+
*/
|
|
7167
|
+
transactionHash: string;
|
|
7168
|
+
};
|
|
7169
|
+
|
|
6516
7170
|
type Transaction = {
|
|
6517
7171
|
/**
|
|
6518
7172
|
* Block hash of the transaction
|
|
@@ -6617,7 +7271,7 @@ type Transaction = {
|
|
|
6617
7271
|
/**
|
|
6618
7272
|
* Internal transactions (optional)
|
|
6619
7273
|
*/
|
|
6620
|
-
internalTransactions?: Array<
|
|
7274
|
+
internalTransactions?: Array<WebhookInternalTransaction>;
|
|
6621
7275
|
/**
|
|
6622
7276
|
* Access list (optional)
|
|
6623
7277
|
*/
|
|
@@ -6681,4 +7335,16 @@ declare namespace WebhookAddressActivityResponse {
|
|
|
6681
7335
|
}
|
|
6682
7336
|
}
|
|
6683
7337
|
|
|
6684
|
-
|
|
7338
|
+
declare class FetchHttpRequest extends BaseHttpRequest {
|
|
7339
|
+
constructor(config: OpenAPIConfig);
|
|
7340
|
+
/**
|
|
7341
|
+
* Request method
|
|
7342
|
+
* @param options The request options from the service
|
|
7343
|
+
* @returns CancelablePromise<T>
|
|
7344
|
+
* @throws ApiError
|
|
7345
|
+
*/
|
|
7346
|
+
request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
7347
|
+
}
|
|
7348
|
+
|
|
7349
|
+
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 };
|
|
7350
|
+
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, LastActivityTimestamp, 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 };
|