@avalabs/glacier-sdk 3.1.0-canary.f255846.0 → 3.1.0-canary.f2a8d63.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.js → index.cjs} +1 -1
- package/dist/index.d.ts +56 -12
- 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/models/AccessListData.d.ts +1 -1
- package/esm/generated/models/AccessRequest.d.ts +1 -1
- package/esm/generated/models/ActiveValidatorDetails.d.ts +5 -0
- package/esm/generated/models/AddressActivityMetadata.d.ts +1 -1
- package/esm/generated/models/AddressesChangeRequest.d.ts +1 -1
- package/esm/generated/models/AggregatedAssetAmount.d.ts +1 -1
- package/esm/generated/models/AssetAmount.d.ts +1 -1
- package/esm/generated/models/AssetWithPriceInfo.d.ts +1 -1
- package/esm/generated/models/BadGateway.d.ts +1 -1
- package/esm/generated/models/BadRequest.d.ts +1 -1
- package/esm/generated/models/BalanceOwner.d.ts +1 -1
- package/esm/generated/models/Blockchain.d.ts +5 -1
- 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/EVMAddressActivityResponse.d.ts +1 -1
- 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 +1 -1
- package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
- package/esm/generated/models/Erc20Contract.d.ts +1 -1
- package/esm/generated/models/Erc20Transfer.d.ts +1 -1
- package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
- package/esm/generated/models/Erc721Contract.d.ts +1 -1
- package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
- package/esm/generated/models/Erc721Transfer.d.ts +1 -1
- package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
- package/esm/generated/models/EvmBlock.d.ts +1 -1
- package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
- package/esm/generated/models/Forbidden.d.ts +1 -1
- package/esm/generated/models/FullNativeTransactionDetails.d.ts +1 -1
- package/esm/generated/models/Geolocation.d.ts +24 -0
- package/esm/generated/models/GetChainResponse.d.ts +1 -1
- package/esm/generated/models/GetEvmBlockResponse.d.ts +1 -1
- package/esm/generated/models/GetNativeBalanceResponse.d.ts +1 -1
- package/esm/generated/models/GetNetworkDetailsResponse.d.ts +1 -1
- package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +1 -1
- package/esm/generated/models/GetTransactionResponse.d.ts +2 -2
- 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 +1 -1
- 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 +1 -1
- package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +1 -1
- package/esm/generated/models/L1ValidatorManagerDetails.d.ts +1 -1
- package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
- package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
- package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListChainsResponse.d.ts +1 -1
- package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListContractsResponse.d.ts +1 -1
- package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc1155BalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc20BalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc721BalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
- package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
- package/esm/generated/models/ListIcmMessagesResponse.d.ts +1 -1
- package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListL1ValidatorsResponse.d.ts +1 -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 +1 -1
- 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 +1 -1
- package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
- package/esm/generated/models/Log.d.ts +1 -1
- package/esm/generated/models/LogsFormat.d.ts +1 -1
- package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
- package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
- package/esm/generated/models/Method.d.ts +1 -1
- package/esm/generated/models/Metric.d.ts +1 -1
- package/esm/generated/models/Money.d.ts +1 -1
- package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
- package/esm/generated/models/NativeTransaction.d.ts +1 -1
- package/esm/generated/models/NetworkToken.d.ts +1 -1
- package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
- package/esm/generated/models/NetworkTokenInfo.d.ts +1 -1
- package/esm/generated/models/NextPageToken.d.ts +1 -1
- package/esm/generated/models/NotFound.d.ts +1 -1
- package/esm/generated/models/NotificationsResponse.d.ts +1 -1
- package/esm/generated/models/OperationStatusResponse.d.ts +1 -1
- package/esm/generated/models/PChainBalance.d.ts +1 -1
- package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
- package/esm/generated/models/PChainTransaction.d.ts +1 -1
- package/esm/generated/models/PChainUtxo.d.ts +1 -1
- package/esm/generated/models/PendingReward.d.ts +1 -1
- package/esm/generated/models/PlatformActivityMetadata.d.ts +1 -1
- package/esm/generated/models/PlatformActivityResponse.d.ts +1 -1
- package/esm/generated/models/PlatformActivitySubEvents.d.ts +1 -1
- package/esm/generated/models/PlatformBalanceThresholdFilter.d.ts +1 -1
- package/esm/generated/models/PricingProviders.d.ts +1 -1
- 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 +1 -1
- package/esm/generated/models/ProposerDetails.d.ts +1 -1
- package/esm/generated/models/ResourceLink.d.ts +1 -1
- package/esm/generated/models/Rewards.d.ts +1 -1
- package/esm/generated/models/RichAddress.d.ts +1 -1
- package/esm/generated/models/RpcMetrics.d.ts +1 -1
- package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
- package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
- package/esm/generated/models/SignatureAggregationResponse.d.ts +1 -1
- package/esm/generated/models/SignatureAggregatorRequest.d.ts +1 -1
- package/esm/generated/models/StakingDistribution.d.ts +1 -1
- package/esm/generated/models/Subnet.d.ts +1 -1
- package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
- package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +1 -1
- package/esm/generated/models/SubscribeRequest.d.ts +1 -1
- package/esm/generated/models/SubscriptionsRequest.d.ts +1 -1
- package/esm/generated/models/SubscriptionsResponse.d.ts +1 -1
- package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
- package/esm/generated/models/TeleporterMessageInfo.d.ts +1 -1
- 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 +1 -1
- package/esm/generated/models/TransactionDetails.d.ts +2 -2
- 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/UnknownContract.d.ts +1 -1
- package/esm/generated/models/UnsubscribeRequest.d.ts +1 -1
- package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
- package/esm/generated/models/UpdateWebhookRequest.d.ts +1 -1
- package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
- package/esm/generated/models/UtilityAddresses.d.ts +1 -1
- package/esm/generated/models/Utxo.d.ts +1 -1
- package/esm/generated/models/UtxoCredential.d.ts +1 -1
- package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
- package/esm/generated/models/ValidatorsDetails.d.ts +1 -1
- package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
- package/esm/generated/models/XChainBalances.d.ts +1 -1
- package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
- package/esm/generated/models/XChainVertex.d.ts +1 -1
- package/esm/generated/services/EvmTransactionsService.d.ts +1 -1
- package/esm/generated/services/InterchainMessagingService.d.ts +2 -2
- package/esm/generated/services/PrimaryNetworkService.d.ts +2 -2
- package/esm/index.d.ts +2 -0
- package/esm/index.js +1 -1
- package/package.json +13 -4
package/dist/index.d.ts
CHANGED
|
@@ -1728,7 +1728,7 @@ type Erc1155Contract = {
|
|
|
1728
1728
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
1729
1729
|
*/
|
|
1730
1730
|
address: string;
|
|
1731
|
-
deploymentDetails
|
|
1731
|
+
deploymentDetails?: ContractDeploymentDetails;
|
|
1732
1732
|
ercType: Erc1155Contract.ercType;
|
|
1733
1733
|
/**
|
|
1734
1734
|
* The contract symbol.
|
|
@@ -1759,7 +1759,7 @@ type Erc20Contract = {
|
|
|
1759
1759
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
1760
1760
|
*/
|
|
1761
1761
|
address: string;
|
|
1762
|
-
deploymentDetails
|
|
1762
|
+
deploymentDetails?: ContractDeploymentDetails;
|
|
1763
1763
|
ercType: Erc20Contract.ercType;
|
|
1764
1764
|
/**
|
|
1765
1765
|
* The contract symbol.
|
|
@@ -1794,7 +1794,7 @@ type Erc721Contract = {
|
|
|
1794
1794
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
1795
1795
|
*/
|
|
1796
1796
|
address: string;
|
|
1797
|
-
deploymentDetails
|
|
1797
|
+
deploymentDetails?: ContractDeploymentDetails;
|
|
1798
1798
|
ercType: Erc721Contract.ercType;
|
|
1799
1799
|
/**
|
|
1800
1800
|
* The contract symbol.
|
|
@@ -1824,7 +1824,7 @@ type UnknownContract = {
|
|
|
1824
1824
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
1825
1825
|
*/
|
|
1826
1826
|
address: string;
|
|
1827
|
-
deploymentDetails
|
|
1827
|
+
deploymentDetails?: ContractDeploymentDetails;
|
|
1828
1828
|
ercType: UnknownContract.ercType;
|
|
1829
1829
|
};
|
|
1830
1830
|
declare namespace UnknownContract {
|
|
@@ -2042,6 +2042,7 @@ declare enum InternalTransactionOpCall {
|
|
|
2042
2042
|
CALL = "CALL",
|
|
2043
2043
|
CREATE = "CREATE",
|
|
2044
2044
|
CREATE2 = "CREATE2",
|
|
2045
|
+
CREATE3 = "CREATE3",
|
|
2045
2046
|
CALLCODE = "CALLCODE",
|
|
2046
2047
|
DELEGATECALL = "DELEGATECALL",
|
|
2047
2048
|
STATICCALL = "STATICCALL"
|
|
@@ -2104,7 +2105,7 @@ type GetTransactionResponse = {
|
|
|
2104
2105
|
*/
|
|
2105
2106
|
erc1155Transfers?: Array<Erc1155TransferDetails>;
|
|
2106
2107
|
/**
|
|
2107
|
-
* 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
|
|
2108
|
+
* 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.
|
|
2108
2109
|
*/
|
|
2109
2110
|
internalTransactions?: Array<InternalTransactionDetails>;
|
|
2110
2111
|
networkTokenDetails: NetworkTokenDetails;
|
|
@@ -2275,7 +2276,7 @@ type TransactionDetails = {
|
|
|
2275
2276
|
*/
|
|
2276
2277
|
erc1155Transfers?: Array<Erc1155TransferDetails>;
|
|
2277
2278
|
/**
|
|
2278
|
-
* 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
|
|
2279
|
+
* 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.
|
|
2279
2280
|
*/
|
|
2280
2281
|
internalTransactions?: Array<InternalTransactionDetails>;
|
|
2281
2282
|
};
|
|
@@ -2574,7 +2575,7 @@ declare class EvmTransactionsService {
|
|
|
2574
2575
|
* List internal transactions
|
|
2575
2576
|
* Returns a list of internal transactions for an address and chain. Filterable by block range.
|
|
2576
2577
|
*
|
|
2577
|
-
* 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.
|
|
2578
|
+
* 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.
|
|
2578
2579
|
* @returns ListInternalTransactionsResponse Successful response
|
|
2579
2580
|
* @throws ApiError
|
|
2580
2581
|
*/
|
|
@@ -2851,13 +2852,13 @@ declare class InterchainMessagingService {
|
|
|
2851
2852
|
constructor(httpRequest: BaseHttpRequest);
|
|
2852
2853
|
/**
|
|
2853
2854
|
* Get an ICM message
|
|
2854
|
-
* Gets an ICM message by message ID.
|
|
2855
|
+
* Gets an ICM message by teleporter message ID.
|
|
2855
2856
|
* @returns any Successful response
|
|
2856
2857
|
* @throws ApiError
|
|
2857
2858
|
*/
|
|
2858
2859
|
getIcmMessage({ messageId, }: {
|
|
2859
2860
|
/**
|
|
2860
|
-
* The message ID of the ICM message.
|
|
2861
|
+
* The teleporter message ID of the ICM message.
|
|
2861
2862
|
*/
|
|
2862
2863
|
messageId: string;
|
|
2863
2864
|
}): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
@@ -3234,6 +3235,10 @@ type Blockchain = {
|
|
|
3234
3235
|
vmId: string;
|
|
3235
3236
|
subnetId: string;
|
|
3236
3237
|
blockchainName: string;
|
|
3238
|
+
/**
|
|
3239
|
+
* 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.
|
|
3240
|
+
*/
|
|
3241
|
+
evmChainId: number;
|
|
3237
3242
|
};
|
|
3238
3243
|
|
|
3239
3244
|
declare enum BlockchainIds {
|
|
@@ -3506,6 +3511,29 @@ type BlsCredentials = {
|
|
|
3506
3511
|
proofOfPossession: string;
|
|
3507
3512
|
};
|
|
3508
3513
|
|
|
3514
|
+
type Geolocation = {
|
|
3515
|
+
/**
|
|
3516
|
+
* The name of the validator node.
|
|
3517
|
+
*/
|
|
3518
|
+
city: string;
|
|
3519
|
+
/**
|
|
3520
|
+
* The city of the validator node.
|
|
3521
|
+
*/
|
|
3522
|
+
country: string;
|
|
3523
|
+
/**
|
|
3524
|
+
* The country code of the validator node.
|
|
3525
|
+
*/
|
|
3526
|
+
countryCode: string;
|
|
3527
|
+
/**
|
|
3528
|
+
* The latitude of the validator node.
|
|
3529
|
+
*/
|
|
3530
|
+
latitude: number;
|
|
3531
|
+
/**
|
|
3532
|
+
* The longitude of the validator node.
|
|
3533
|
+
*/
|
|
3534
|
+
longitude: number;
|
|
3535
|
+
};
|
|
3536
|
+
|
|
3509
3537
|
type Rewards = {
|
|
3510
3538
|
validationRewardAmount: string;
|
|
3511
3539
|
delegationRewardAmount: string;
|
|
@@ -3574,6 +3602,10 @@ type ActiveValidatorDetails = {
|
|
|
3574
3602
|
potentialRewards: Rewards;
|
|
3575
3603
|
validationStatus: ActiveValidatorDetails.validationStatus;
|
|
3576
3604
|
validatorHealth: ValidatorHealthDetails;
|
|
3605
|
+
/**
|
|
3606
|
+
* The geographical location of the validator node, if available.
|
|
3607
|
+
*/
|
|
3608
|
+
geolocation: Geolocation | null;
|
|
3577
3609
|
};
|
|
3578
3610
|
declare namespace ActiveValidatorDetails {
|
|
3579
3611
|
enum validationStatus {
|
|
@@ -3868,7 +3900,7 @@ declare class PrimaryNetworkService {
|
|
|
3868
3900
|
}): CancelablePromise<Subnet>;
|
|
3869
3901
|
/**
|
|
3870
3902
|
* List validators
|
|
3871
|
-
* Lists details for validators. By default, returns details for all validators. Filterable by
|
|
3903
|
+
* 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.
|
|
3872
3904
|
* @returns ListValidatorDetailsResponse Successful response
|
|
3873
3905
|
* @throws ApiError
|
|
3874
3906
|
*/
|
|
@@ -3886,7 +3918,7 @@ declare class PrimaryNetworkService {
|
|
|
3886
3918
|
*/
|
|
3887
3919
|
pageSize?: number;
|
|
3888
3920
|
/**
|
|
3889
|
-
* A comma separated list of node ids to filter by.
|
|
3921
|
+
* A comma separated list of node ids to filter by. Supports substring matching.
|
|
3890
3922
|
*/
|
|
3891
3923
|
nodeIds?: string;
|
|
3892
3924
|
/**
|
|
@@ -6653,4 +6685,16 @@ declare namespace WebhookAddressActivityResponse {
|
|
|
6653
6685
|
}
|
|
6654
6686
|
}
|
|
6655
6687
|
|
|
6656
|
-
|
|
6688
|
+
declare class FetchHttpRequest extends BaseHttpRequest {
|
|
6689
|
+
constructor(config: OpenAPIConfig);
|
|
6690
|
+
/**
|
|
6691
|
+
* Request method
|
|
6692
|
+
* @param options The request options from the service
|
|
6693
|
+
* @returns CancelablePromise<T>
|
|
6694
|
+
* @throws ApiError
|
|
6695
|
+
*/
|
|
6696
|
+
request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
6697
|
+
}
|
|
6698
|
+
|
|
6699
|
+
export { ActiveDelegatorDetails, ActiveValidatorDetails, ApiError, ApiFeature, 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, EventType, 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, PlatformActivityKeyType, PlatformActivityRequest, PlatformAddressActivitySubEventType, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlocksService, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, RemovedValidatorDetails, RequestType, ResourceLinkType, RewardType, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, SignatureAggregatorService, SortByOption, SortOrder, SubnetRpcTimeIntervalGranularity, TeleporterRewardDetails, TeleporterService, TimeIntervalGranularityExtended, TransactionDirectionType, TransactionMethodType, TransactionStatus, UnknownContract, UsageMetricsGroupByEnum, UsageMetricsValueDTO, UtxoType, ValidationStatusType, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainTransactionType };
|
|
6700
|
+
export type { AccessListData, AccessRequest, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, Blockchain, BlsCredentials, CChainAtomicBalances, CChainSharedAssetBalance, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ContractDeploymentDetails, ContractSubmissionBody, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, DataListChainsResponse, DelegatorsDetails, ERCToken, ERCTransfer, EVMAddressActivityResponse, EVMInput, EVMOutput, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Transfer, Erc20TransferDetails, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EvmBlock, EvmNetworkOptions, Forbidden, FullNativeTransactionDetails, Geolocation, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmSourceTransaction, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListIcmMessagesResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Log, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NotFound, NotificationsResponse, OpenAPIConfig, OperationStatusResponse, PChainBalance, PChainSharedAsset, PChainTransaction, PChainUtxo, PendingReward, PlatformActivityMetadata, PlatformActivityResponse, PlatformActivitySubEvents, PlatformBalanceThresholdFilter, PricingProviders, 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, ValidatorHealthDetails, ValidatorsDetails, XChainAssetDetails, XChainBalances, XChainSharedAssetBalance, XChainVertex };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ApiRequestOptions } from './ApiRequestOptions.js';
|
|
2
|
+
import { BaseHttpRequest } from './BaseHttpRequest.js';
|
|
3
|
+
import { CancelablePromise } from './CancelablePromise.js';
|
|
4
|
+
import { OpenAPIConfig } from './OpenAPI.js';
|
|
5
|
+
|
|
6
|
+
declare class FetchHttpRequest extends BaseHttpRequest {
|
|
7
|
+
constructor(config: OpenAPIConfig);
|
|
8
|
+
/**
|
|
9
|
+
* Request method
|
|
10
|
+
* @param options The request options from the service
|
|
11
|
+
* @returns CancelablePromise<T>
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { FetchHttpRequest };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BlsCredentials } from './BlsCredentials.js';
|
|
2
|
+
import { Geolocation } from './Geolocation.js';
|
|
2
3
|
import { Rewards } from './Rewards.js';
|
|
3
4
|
import { ValidatorHealthDetails } from './ValidatorHealthDetails.js';
|
|
4
5
|
|
|
@@ -44,6 +45,10 @@ type ActiveValidatorDetails = {
|
|
|
44
45
|
potentialRewards: Rewards;
|
|
45
46
|
validationStatus: ActiveValidatorDetails.validationStatus;
|
|
46
47
|
validatorHealth: ValidatorHealthDetails;
|
|
48
|
+
/**
|
|
49
|
+
* The geographical location of the validator node, if available.
|
|
50
|
+
*/
|
|
51
|
+
geolocation: Geolocation | null;
|
|
47
52
|
};
|
|
48
53
|
declare namespace ActiveValidatorDetails {
|
|
49
54
|
enum validationStatus {
|
|
@@ -5,6 +5,10 @@ type Blockchain = {
|
|
|
5
5
|
vmId: string;
|
|
6
6
|
subnetId: string;
|
|
7
7
|
blockchainName: string;
|
|
8
|
+
/**
|
|
9
|
+
* 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.
|
|
10
|
+
*/
|
|
11
|
+
evmChainId: number;
|
|
8
12
|
};
|
|
9
13
|
|
|
10
|
-
export { Blockchain };
|
|
14
|
+
export type { Blockchain };
|
|
@@ -20,7 +20,7 @@ type Erc1155Contract = {
|
|
|
20
20
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
21
21
|
*/
|
|
22
22
|
address: string;
|
|
23
|
-
deploymentDetails
|
|
23
|
+
deploymentDetails?: ContractDeploymentDetails;
|
|
24
24
|
ercType: Erc1155Contract.ercType;
|
|
25
25
|
/**
|
|
26
26
|
* The contract symbol.
|
|
@@ -20,7 +20,7 @@ type Erc20Contract = {
|
|
|
20
20
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
21
21
|
*/
|
|
22
22
|
address: string;
|
|
23
|
-
deploymentDetails
|
|
23
|
+
deploymentDetails?: ContractDeploymentDetails;
|
|
24
24
|
ercType: Erc20Contract.ercType;
|
|
25
25
|
/**
|
|
26
26
|
* The contract symbol.
|
|
@@ -19,7 +19,7 @@ type Erc721Contract = {
|
|
|
19
19
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
20
20
|
*/
|
|
21
21
|
address: string;
|
|
22
|
-
deploymentDetails
|
|
22
|
+
deploymentDetails?: ContractDeploymentDetails;
|
|
23
23
|
ercType: Erc721Contract.ercType;
|
|
24
24
|
/**
|
|
25
25
|
* The contract symbol.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type Geolocation = {
|
|
2
|
+
/**
|
|
3
|
+
* The name of the validator node.
|
|
4
|
+
*/
|
|
5
|
+
city: string;
|
|
6
|
+
/**
|
|
7
|
+
* The city of the validator node.
|
|
8
|
+
*/
|
|
9
|
+
country: string;
|
|
10
|
+
/**
|
|
11
|
+
* The country code of the validator node.
|
|
12
|
+
*/
|
|
13
|
+
countryCode: string;
|
|
14
|
+
/**
|
|
15
|
+
* The latitude of the validator node.
|
|
16
|
+
*/
|
|
17
|
+
latitude: number;
|
|
18
|
+
/**
|
|
19
|
+
* The longitude of the validator node.
|
|
20
|
+
*/
|
|
21
|
+
longitude: number;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export type { Geolocation };
|