@avalabs/glacier-sdk 3.1.0-canary.2c45d78.0 → 3.1.0-canary.2d7c9b5.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 +446 -35
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/core/ApiRequestOptions.d.ts +1 -1
- package/esm/generated/core/ApiResult.d.ts +1 -1
- package/esm/generated/core/CancelablePromise.d.ts +2 -1
- package/esm/generated/core/FetchHttpRequest.d.ts +17 -0
- package/esm/generated/core/OpenAPI.d.ts +2 -1
- package/esm/generated/core/OpenAPI.js +1 -1
- package/esm/generated/models/AccessListData.d.ts +12 -0
- package/esm/generated/models/AccessRequest.d.ts +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 +9 -1
- package/esm/generated/models/BlockchainInfo.d.ts +7 -2
- package/esm/generated/models/BlsCredentials.d.ts +1 -1
- package/esm/generated/models/CChainAtomicBalances.d.ts +1 -1
- package/esm/generated/models/CChainSharedAssetBalance.d.ts +1 -1
- package/esm/generated/models/ChainAddressChainIdMap.d.ts +1 -1
- package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +1 -1
- package/esm/generated/models/ChainInfo.d.ts +1 -1
- package/esm/generated/models/{PChainBalanceType.d.ts → CommonBalanceType.d.ts} +4 -2
- package/esm/generated/models/CommonBalanceType.js +1 -0
- package/esm/generated/models/ContractDeploymentDetails.d.ts +1 -1
- package/esm/generated/models/ContractSubmissionBody.d.ts +1 -1
- package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +1 -1
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +1 -1
- package/esm/generated/models/DataListChainsResponse.d.ts +1 -1
- package/esm/generated/models/DelegatorsDetails.d.ts +1 -1
- package/esm/generated/models/ERCToken.d.ts +24 -0
- package/esm/generated/models/ERCTransfer.d.ts +50 -0
- 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 +5 -1
- package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +5 -1
- package/esm/generated/models/L1ValidatorManagerDetails.d.ts +1 -1
- package/esm/generated/models/ListAddressChainsResponse.d.ts +1 -1
- package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
- package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListChainsResponse.d.ts +1 -1
- package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListContractsResponse.d.ts +1 -1
- package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc1155BalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc20BalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc721BalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
- package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
- package/esm/generated/models/ListIcmMessagesResponse.d.ts +3 -2
- package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListL1ValidatorsResponse.d.ts +5 -1
- package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListNftTokens.d.ts +1 -1
- package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
- package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
- package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
- package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
- package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +3 -2
- package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
- package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
- package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
- package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
- package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
- package/esm/generated/models/ListWebhooksResponse.d.ts +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 +40 -0
- package/esm/generated/models/LogsFormat.d.ts +1 -1
- package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
- package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
- package/esm/generated/models/Method.d.ts +1 -1
- package/esm/generated/models/Metric.d.ts +1 -1
- package/esm/generated/models/Money.d.ts +1 -1
- package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
- package/esm/generated/models/NativeTransaction.d.ts +1 -1
- package/esm/generated/models/NetworkToken.d.ts +1 -1
- package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
- package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
- package/esm/generated/models/NextPageToken.d.ts +1 -1
- package/esm/generated/models/NotFound.d.ts +1 -1
- package/esm/generated/models/NotificationsResponse.d.ts +1 -1
- package/esm/generated/models/OperationStatusResponse.d.ts +1 -1
- package/esm/generated/models/PChainBalance.d.ts +1 -1
- package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
- package/esm/generated/models/PChainTransaction.d.ts +6 -1
- package/esm/generated/models/PChainUtxo.d.ts +1 -1
- package/esm/generated/models/PendingReward.d.ts +1 -1
- package/esm/generated/models/PlatformActivityMetadata.d.ts +1 -1
- package/esm/generated/models/PlatformActivityResponse.d.ts +1 -1
- package/esm/generated/models/PlatformActivitySubEvents.d.ts +2 -2
- package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +2 -1
- package/esm/generated/models/PlatformAddressActivitySubEventType.js +1 -1
- package/esm/generated/models/PlatformBalanceThresholdFilter.d.ts +3 -3
- 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 +3 -3
- 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 +121 -0
- package/esm/generated/models/TransactionDetails.d.ts +2 -2
- package/esm/generated/models/TransactionEvent.d.ts +15 -0
- package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
- package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
- package/esm/generated/models/Unauthorized.d.ts +1 -1
- package/esm/generated/models/UnknownContract.d.ts +1 -1
- package/esm/generated/models/UnsubscribeRequest.d.ts +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/WebhookAddressActivityResponse.d.ts +30 -0
- package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
- package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
- package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
- package/esm/generated/models/XChainBalances.d.ts +1 -1
- package/esm/generated/models/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 +22 -5
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/index.d.ts +13 -1
- package/esm/index.js +1 -1
- package/package.json +13 -4
- package/esm/generated/models/PChainBalanceType.js +0 -1
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;
|
|
@@ -2273,7 +2274,7 @@ type TransactionDetails = {
|
|
|
2273
2274
|
*/
|
|
2274
2275
|
erc1155Transfers?: Array<Erc1155TransferDetails>;
|
|
2275
2276
|
/**
|
|
2276
|
-
* 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
|
|
2277
|
+
* 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.
|
|
2277
2278
|
*/
|
|
2278
2279
|
internalTransactions?: Array<InternalTransactionDetails>;
|
|
2279
2280
|
};
|
|
@@ -2572,7 +2573,7 @@ declare class EvmTransactionsService {
|
|
|
2572
2573
|
* List internal transactions
|
|
2573
2574
|
* Returns a list of internal transactions for an address and chain. Filterable by block range.
|
|
2574
2575
|
*
|
|
2575
|
-
* 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.
|
|
2576
|
+
* 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.
|
|
2576
2577
|
* @returns ListInternalTransactionsResponse Successful response
|
|
2577
2578
|
* @throws ApiError
|
|
2578
2579
|
*/
|
|
@@ -2841,7 +2842,7 @@ type ListIcmMessagesResponse = {
|
|
|
2841
2842
|
* 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.
|
|
2842
2843
|
*/
|
|
2843
2844
|
nextPageToken?: string;
|
|
2844
|
-
messages: Array<(PendingIcmMessage | DeliveredIcmMessage)>;
|
|
2845
|
+
messages: Array<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
2845
2846
|
};
|
|
2846
2847
|
|
|
2847
2848
|
declare class InterchainMessagingService {
|
|
@@ -2849,13 +2850,13 @@ declare class InterchainMessagingService {
|
|
|
2849
2850
|
constructor(httpRequest: BaseHttpRequest);
|
|
2850
2851
|
/**
|
|
2851
2852
|
* Get an ICM message
|
|
2852
|
-
* Gets an ICM message by message ID.
|
|
2853
|
+
* Gets an ICM message by teleporter message ID.
|
|
2853
2854
|
* @returns any Successful response
|
|
2854
2855
|
* @throws ApiError
|
|
2855
2856
|
*/
|
|
2856
2857
|
getIcmMessage({ messageId, }: {
|
|
2857
2858
|
/**
|
|
2858
|
-
* The message ID of the ICM message.
|
|
2859
|
+
* The teleporter message ID of the ICM message.
|
|
2859
2860
|
*/
|
|
2860
2861
|
messageId: string;
|
|
2861
2862
|
}): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
@@ -3225,6 +3226,23 @@ declare class OperationsService {
|
|
|
3225
3226
|
}): CancelablePromise<OperationStatusResponse>;
|
|
3226
3227
|
}
|
|
3227
3228
|
|
|
3229
|
+
type Blockchain = {
|
|
3230
|
+
createBlockTimestamp: number;
|
|
3231
|
+
createBlockNumber: string;
|
|
3232
|
+
blockchainId: string;
|
|
3233
|
+
vmId: string;
|
|
3234
|
+
subnetId: string;
|
|
3235
|
+
blockchainName: string;
|
|
3236
|
+
/**
|
|
3237
|
+
* 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.
|
|
3238
|
+
*/
|
|
3239
|
+
evmChainId: number;
|
|
3240
|
+
/**
|
|
3241
|
+
* The genesis data of the blockchain.
|
|
3242
|
+
*/
|
|
3243
|
+
genesisData?: Record<string, any>;
|
|
3244
|
+
};
|
|
3245
|
+
|
|
3228
3246
|
declare enum BlockchainIds {
|
|
3229
3247
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
3230
3248
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
@@ -3289,15 +3307,6 @@ type GetNetworkDetailsResponse = {
|
|
|
3289
3307
|
delegatorDetails: DelegatorsDetails;
|
|
3290
3308
|
};
|
|
3291
3309
|
|
|
3292
|
-
type Blockchain = {
|
|
3293
|
-
createBlockTimestamp: number;
|
|
3294
|
-
createBlockNumber: string;
|
|
3295
|
-
blockchainId: string;
|
|
3296
|
-
vmId: string;
|
|
3297
|
-
subnetId: string;
|
|
3298
|
-
blockchainName: string;
|
|
3299
|
-
};
|
|
3300
|
-
|
|
3301
3310
|
type ListBlockchainsResponse = {
|
|
3302
3311
|
/**
|
|
3303
3312
|
* 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.
|
|
@@ -3393,6 +3402,10 @@ type L1ValidatorDetailsFull = {
|
|
|
3393
3402
|
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
3394
3403
|
*/
|
|
3395
3404
|
validationId: string;
|
|
3405
|
+
/**
|
|
3406
|
+
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
|
|
3407
|
+
*/
|
|
3408
|
+
validationIdHex: string;
|
|
3396
3409
|
nodeId: string;
|
|
3397
3410
|
subnetId: string;
|
|
3398
3411
|
/**
|
|
@@ -3427,10 +3440,10 @@ type ListL1ValidatorsResponse = {
|
|
|
3427
3440
|
* The list of L1 validations for the given Subnet ID, NodeId or validationId
|
|
3428
3441
|
*/
|
|
3429
3442
|
validators: Array<L1ValidatorDetailsFull>;
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3443
|
+
/**
|
|
3444
|
+
* Block height at which the L1 validator's remaining balance is calculated
|
|
3445
|
+
*/
|
|
3446
|
+
blockHeight: string;
|
|
3434
3447
|
};
|
|
3435
3448
|
|
|
3436
3449
|
type L1ValidatorManagerDetails = {
|
|
@@ -3488,7 +3501,7 @@ type Subnet = {
|
|
|
3488
3501
|
* L1 validator manager details.
|
|
3489
3502
|
*/
|
|
3490
3503
|
l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
|
|
3491
|
-
blockchains: Array<
|
|
3504
|
+
blockchains: Array<Blockchain>;
|
|
3492
3505
|
};
|
|
3493
3506
|
|
|
3494
3507
|
type ListSubnetsResponse = {
|
|
@@ -3504,6 +3517,29 @@ type BlsCredentials = {
|
|
|
3504
3517
|
proofOfPossession: string;
|
|
3505
3518
|
};
|
|
3506
3519
|
|
|
3520
|
+
type Geolocation = {
|
|
3521
|
+
/**
|
|
3522
|
+
* The name of the validator node.
|
|
3523
|
+
*/
|
|
3524
|
+
city: string;
|
|
3525
|
+
/**
|
|
3526
|
+
* The city of the validator node.
|
|
3527
|
+
*/
|
|
3528
|
+
country: string;
|
|
3529
|
+
/**
|
|
3530
|
+
* The country code of the validator node.
|
|
3531
|
+
*/
|
|
3532
|
+
countryCode: string;
|
|
3533
|
+
/**
|
|
3534
|
+
* The latitude of the validator node.
|
|
3535
|
+
*/
|
|
3536
|
+
latitude: number;
|
|
3537
|
+
/**
|
|
3538
|
+
* The longitude of the validator node.
|
|
3539
|
+
*/
|
|
3540
|
+
longitude: number;
|
|
3541
|
+
};
|
|
3542
|
+
|
|
3507
3543
|
type Rewards = {
|
|
3508
3544
|
validationRewardAmount: string;
|
|
3509
3545
|
delegationRewardAmount: string;
|
|
@@ -3572,6 +3608,10 @@ type ActiveValidatorDetails = {
|
|
|
3572
3608
|
potentialRewards: Rewards;
|
|
3573
3609
|
validationStatus: ActiveValidatorDetails.validationStatus;
|
|
3574
3610
|
validatorHealth: ValidatorHealthDetails;
|
|
3611
|
+
/**
|
|
3612
|
+
* The geographical location of the validator node, if available.
|
|
3613
|
+
*/
|
|
3614
|
+
geolocation: Geolocation | null;
|
|
3575
3615
|
};
|
|
3576
3616
|
declare namespace ActiveValidatorDetails {
|
|
3577
3617
|
enum validationStatus {
|
|
@@ -3800,7 +3840,7 @@ declare class PrimaryNetworkService {
|
|
|
3800
3840
|
*/
|
|
3801
3841
|
pageToken?: string;
|
|
3802
3842
|
/**
|
|
3803
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
3843
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
|
|
3804
3844
|
*/
|
|
3805
3845
|
pageSize?: number;
|
|
3806
3846
|
/**
|
|
@@ -3808,6 +3848,22 @@ declare class PrimaryNetworkService {
|
|
|
3808
3848
|
*/
|
|
3809
3849
|
sortOrder?: SortOrder;
|
|
3810
3850
|
}): CancelablePromise<ListBlockchainsResponse>;
|
|
3851
|
+
/**
|
|
3852
|
+
* Get blockchain details by ID
|
|
3853
|
+
* Get details of the blockchain registered on the network.
|
|
3854
|
+
* @returns Blockchain Successful response
|
|
3855
|
+
* @throws ApiError
|
|
3856
|
+
*/
|
|
3857
|
+
getBlockchainById({ blockchainId, network, }: {
|
|
3858
|
+
/**
|
|
3859
|
+
* The blockchain ID of the blockchain to retrieve.
|
|
3860
|
+
*/
|
|
3861
|
+
blockchainId: string;
|
|
3862
|
+
/**
|
|
3863
|
+
* Either mainnet or testnet/fuji.
|
|
3864
|
+
*/
|
|
3865
|
+
network: Network;
|
|
3866
|
+
}): CancelablePromise<Blockchain>;
|
|
3811
3867
|
/**
|
|
3812
3868
|
* List subnets
|
|
3813
3869
|
* Lists all subnets registered on the network.
|
|
@@ -3824,7 +3880,7 @@ declare class PrimaryNetworkService {
|
|
|
3824
3880
|
*/
|
|
3825
3881
|
pageToken?: string;
|
|
3826
3882
|
/**
|
|
3827
|
-
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is
|
|
3883
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 10000.
|
|
3828
3884
|
*/
|
|
3829
3885
|
pageSize?: number;
|
|
3830
3886
|
/**
|
|
@@ -3850,7 +3906,7 @@ declare class PrimaryNetworkService {
|
|
|
3850
3906
|
}): CancelablePromise<Subnet>;
|
|
3851
3907
|
/**
|
|
3852
3908
|
* List validators
|
|
3853
|
-
* Lists details for validators. By default, returns details for all validators. Filterable by
|
|
3909
|
+
* 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.
|
|
3854
3910
|
* @returns ListValidatorDetailsResponse Successful response
|
|
3855
3911
|
* @throws ApiError
|
|
3856
3912
|
*/
|
|
@@ -3868,7 +3924,7 @@ declare class PrimaryNetworkService {
|
|
|
3868
3924
|
*/
|
|
3869
3925
|
pageSize?: number;
|
|
3870
3926
|
/**
|
|
3871
|
-
* A comma separated list of node ids to filter by.
|
|
3927
|
+
* A comma separated list of node ids to filter by. Supports substring matching.
|
|
3872
3928
|
*/
|
|
3873
3929
|
nodeIds?: string;
|
|
3874
3930
|
/**
|
|
@@ -4012,7 +4068,7 @@ declare class PrimaryNetworkService {
|
|
|
4012
4068
|
/**
|
|
4013
4069
|
* The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
|
|
4014
4070
|
*/
|
|
4015
|
-
l1ValidationId?:
|
|
4071
|
+
l1ValidationId?: string;
|
|
4016
4072
|
includeInactiveL1Validators?: boolean;
|
|
4017
4073
|
/**
|
|
4018
4074
|
* A valid node ID in format 'NodeID-HASH'.
|
|
@@ -4790,11 +4846,24 @@ type ListCChainAtomicTransactionsResponse = {
|
|
|
4790
4846
|
chainInfo: PrimaryNetworkChainInfo;
|
|
4791
4847
|
};
|
|
4792
4848
|
|
|
4849
|
+
type BlockchainInfo = {
|
|
4850
|
+
chainName: string;
|
|
4851
|
+
vmId: string;
|
|
4852
|
+
/**
|
|
4853
|
+
* 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
|
|
4854
|
+
*/
|
|
4855
|
+
genesisData?: Record<string, any>;
|
|
4856
|
+
};
|
|
4857
|
+
|
|
4793
4858
|
type L1ValidatorDetailsTransaction = {
|
|
4794
4859
|
/**
|
|
4795
4860
|
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
4796
4861
|
*/
|
|
4797
4862
|
validationId: string;
|
|
4863
|
+
/**
|
|
4864
|
+
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
|
|
4865
|
+
*/
|
|
4866
|
+
validationIdHex: string;
|
|
4798
4867
|
nodeId: string;
|
|
4799
4868
|
subnetId: string;
|
|
4800
4869
|
/**
|
|
@@ -5014,6 +5083,10 @@ type PChainTransaction = {
|
|
|
5014
5083
|
* Public Key and PoP of new validator registrations. Present for AddPermissionlessValidatorTx
|
|
5015
5084
|
*/
|
|
5016
5085
|
blsCredentials?: BlsCredentials;
|
|
5086
|
+
/**
|
|
5087
|
+
* Details of the blockchain that was created in the CreateChainTx
|
|
5088
|
+
*/
|
|
5089
|
+
blockchainInfo?: BlockchainInfo;
|
|
5017
5090
|
};
|
|
5018
5091
|
|
|
5019
5092
|
type ListPChainTransactionsResponse = {
|
|
@@ -5706,7 +5779,7 @@ type ListTeleporterMessagesResponse = {
|
|
|
5706
5779
|
* 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.
|
|
5707
5780
|
*/
|
|
5708
5781
|
nextPageToken?: string;
|
|
5709
|
-
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage)>;
|
|
5782
|
+
messages: Array<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
5710
5783
|
};
|
|
5711
5784
|
|
|
5712
5785
|
declare class TeleporterService {
|
|
@@ -5896,33 +5969,36 @@ declare enum PlatformActivityKeyType {
|
|
|
5896
5969
|
*/
|
|
5897
5970
|
declare enum PlatformAddressActivitySubEventType {
|
|
5898
5971
|
BALANCE_CHANGE_PLATFORM = "balance_change_platform",
|
|
5899
|
-
BALANCE_THRESHOLD_PLATFORM = "balance_threshold_platform"
|
|
5972
|
+
BALANCE_THRESHOLD_PLATFORM = "balance_threshold_platform",
|
|
5973
|
+
REWARD_DISTRIBUTION = "reward_distribution"
|
|
5900
5974
|
}
|
|
5901
5975
|
|
|
5902
5976
|
type PlatformActivitySubEvents = {
|
|
5903
5977
|
/**
|
|
5904
5978
|
* Array of validator activity sub-event types
|
|
5905
5979
|
*/
|
|
5906
|
-
validatorActivitySubEvents?: Array<'
|
|
5980
|
+
validatorActivitySubEvents?: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
|
|
5907
5981
|
addressActivitySubEvents?: Array<PlatformAddressActivitySubEventType>;
|
|
5908
5982
|
};
|
|
5909
5983
|
|
|
5910
5984
|
/**
|
|
5911
5985
|
* Type of balance to monitor
|
|
5912
5986
|
*/
|
|
5913
|
-
declare enum
|
|
5987
|
+
declare enum CommonBalanceType {
|
|
5914
5988
|
UNLOCKED_UNSTAKED = "unlockedUnstaked",
|
|
5915
5989
|
UNLOCKED_STAKED = "unlockedStaked",
|
|
5916
5990
|
LOCKED_PLATFORM = "lockedPlatform",
|
|
5917
5991
|
LOCKED_STAKEABLE = "lockedStakeable",
|
|
5918
5992
|
LOCKED_STAKED = "lockedStaked",
|
|
5919
5993
|
PENDING_STAKED = "pendingStaked",
|
|
5994
|
+
UNLOCKED = "unlocked",
|
|
5995
|
+
LOCKED = "locked",
|
|
5920
5996
|
ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
|
|
5921
5997
|
ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
|
|
5922
5998
|
}
|
|
5923
5999
|
|
|
5924
6000
|
type PlatformBalanceThresholdFilter = {
|
|
5925
|
-
balanceType:
|
|
6001
|
+
balanceType: CommonBalanceType;
|
|
5926
6002
|
/**
|
|
5927
6003
|
* Threshold for balance corresponding to balanceType in nAVAX
|
|
5928
6004
|
*/
|
|
@@ -6205,6 +6281,17 @@ declare class ApiError extends Error {
|
|
|
6205
6281
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
6206
6282
|
}
|
|
6207
6283
|
|
|
6284
|
+
type AccessListData = {
|
|
6285
|
+
/**
|
|
6286
|
+
* Access Address
|
|
6287
|
+
*/
|
|
6288
|
+
accessAddresses: string;
|
|
6289
|
+
/**
|
|
6290
|
+
* Storage keys
|
|
6291
|
+
*/
|
|
6292
|
+
storageKeys: Array<string>;
|
|
6293
|
+
};
|
|
6294
|
+
|
|
6208
6295
|
type BadGateway = {
|
|
6209
6296
|
/**
|
|
6210
6297
|
* The error message describing the reason for the exception
|
|
@@ -6239,6 +6326,76 @@ type DataListChainsResponse = {
|
|
|
6239
6326
|
chains: Array<ChainInfo>;
|
|
6240
6327
|
};
|
|
6241
6328
|
|
|
6329
|
+
type ERCToken = {
|
|
6330
|
+
/**
|
|
6331
|
+
* Token contract address
|
|
6332
|
+
*/
|
|
6333
|
+
address: string;
|
|
6334
|
+
/**
|
|
6335
|
+
* Token name
|
|
6336
|
+
*/
|
|
6337
|
+
name: string;
|
|
6338
|
+
/**
|
|
6339
|
+
* Token symbol
|
|
6340
|
+
*/
|
|
6341
|
+
symbol: string;
|
|
6342
|
+
/**
|
|
6343
|
+
* Token decimals
|
|
6344
|
+
*/
|
|
6345
|
+
decimals: number;
|
|
6346
|
+
/**
|
|
6347
|
+
* Value including decimals
|
|
6348
|
+
*/
|
|
6349
|
+
valueWithDecimals: string;
|
|
6350
|
+
};
|
|
6351
|
+
|
|
6352
|
+
type ERCTransfer = {
|
|
6353
|
+
/**
|
|
6354
|
+
* Transaction hash
|
|
6355
|
+
*/
|
|
6356
|
+
transactionHash: string;
|
|
6357
|
+
/**
|
|
6358
|
+
* Transfer type
|
|
6359
|
+
*/
|
|
6360
|
+
type: string;
|
|
6361
|
+
/**
|
|
6362
|
+
* Sender address
|
|
6363
|
+
*/
|
|
6364
|
+
from: string;
|
|
6365
|
+
/**
|
|
6366
|
+
* Recipient address
|
|
6367
|
+
*/
|
|
6368
|
+
to: string;
|
|
6369
|
+
/**
|
|
6370
|
+
* Amount transferred
|
|
6371
|
+
*/
|
|
6372
|
+
value: string;
|
|
6373
|
+
/**
|
|
6374
|
+
* Token Id
|
|
6375
|
+
*/
|
|
6376
|
+
tokenId?: string;
|
|
6377
|
+
/**
|
|
6378
|
+
* Block timestamp
|
|
6379
|
+
*/
|
|
6380
|
+
blockTimestamp: number;
|
|
6381
|
+
/**
|
|
6382
|
+
* Log index
|
|
6383
|
+
*/
|
|
6384
|
+
logIndex: number;
|
|
6385
|
+
/**
|
|
6386
|
+
* erc20 Token details
|
|
6387
|
+
*/
|
|
6388
|
+
erc20Token?: ERCToken;
|
|
6389
|
+
/**
|
|
6390
|
+
* erc721 Token details
|
|
6391
|
+
*/
|
|
6392
|
+
erc721Token?: ERCToken;
|
|
6393
|
+
/**
|
|
6394
|
+
* erc1155 Token details
|
|
6395
|
+
*/
|
|
6396
|
+
erc1155Token?: ERCToken;
|
|
6397
|
+
};
|
|
6398
|
+
|
|
6242
6399
|
type Forbidden = {
|
|
6243
6400
|
/**
|
|
6244
6401
|
* The error message describing the reason for the exception
|
|
@@ -6269,6 +6426,64 @@ type InternalServerError = {
|
|
|
6269
6426
|
error: string;
|
|
6270
6427
|
};
|
|
6271
6428
|
|
|
6429
|
+
type Log = {
|
|
6430
|
+
/**
|
|
6431
|
+
* Contract address
|
|
6432
|
+
*/
|
|
6433
|
+
address: string;
|
|
6434
|
+
/**
|
|
6435
|
+
* First topic
|
|
6436
|
+
*/
|
|
6437
|
+
topic0: string;
|
|
6438
|
+
/**
|
|
6439
|
+
* Second topic (optional)
|
|
6440
|
+
*/
|
|
6441
|
+
topic1?: string;
|
|
6442
|
+
/**
|
|
6443
|
+
* Third topic (optional)
|
|
6444
|
+
*/
|
|
6445
|
+
topic2?: string;
|
|
6446
|
+
/**
|
|
6447
|
+
* Fourth topic (optional)
|
|
6448
|
+
*/
|
|
6449
|
+
topic3?: string;
|
|
6450
|
+
/**
|
|
6451
|
+
* Event data
|
|
6452
|
+
*/
|
|
6453
|
+
data: string;
|
|
6454
|
+
/**
|
|
6455
|
+
* Transaction index
|
|
6456
|
+
*/
|
|
6457
|
+
transactionIndex: number;
|
|
6458
|
+
/**
|
|
6459
|
+
* Log index
|
|
6460
|
+
*/
|
|
6461
|
+
logIndex: number;
|
|
6462
|
+
/**
|
|
6463
|
+
* Indicates if the log was removed
|
|
6464
|
+
*/
|
|
6465
|
+
removed: boolean;
|
|
6466
|
+
};
|
|
6467
|
+
|
|
6468
|
+
type NetworkTokenInfo = {
|
|
6469
|
+
/**
|
|
6470
|
+
* Token name
|
|
6471
|
+
*/
|
|
6472
|
+
tokenName?: string;
|
|
6473
|
+
/**
|
|
6474
|
+
* Token symbol
|
|
6475
|
+
*/
|
|
6476
|
+
tokenSymbol?: string;
|
|
6477
|
+
/**
|
|
6478
|
+
* Token decimals
|
|
6479
|
+
*/
|
|
6480
|
+
tokenDecimals?: number;
|
|
6481
|
+
/**
|
|
6482
|
+
* Value including decimals
|
|
6483
|
+
*/
|
|
6484
|
+
valueWithDecimals?: string;
|
|
6485
|
+
};
|
|
6486
|
+
|
|
6272
6487
|
type NextPageToken = {
|
|
6273
6488
|
/**
|
|
6274
6489
|
* 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.
|
|
@@ -6321,6 +6536,163 @@ type TooManyRequests = {
|
|
|
6321
6536
|
error: string;
|
|
6322
6537
|
};
|
|
6323
6538
|
|
|
6539
|
+
type WebhookInternalTransaction = {
|
|
6540
|
+
/**
|
|
6541
|
+
* Sender address
|
|
6542
|
+
*/
|
|
6543
|
+
from: string;
|
|
6544
|
+
/**
|
|
6545
|
+
* Recipient address
|
|
6546
|
+
*/
|
|
6547
|
+
to: string;
|
|
6548
|
+
/**
|
|
6549
|
+
* Internal transaction type
|
|
6550
|
+
*/
|
|
6551
|
+
internalTxType: string;
|
|
6552
|
+
/**
|
|
6553
|
+
* Value transferred
|
|
6554
|
+
*/
|
|
6555
|
+
value: string;
|
|
6556
|
+
/**
|
|
6557
|
+
* Gas used
|
|
6558
|
+
*/
|
|
6559
|
+
gasUsed: string;
|
|
6560
|
+
/**
|
|
6561
|
+
* Gas limit
|
|
6562
|
+
*/
|
|
6563
|
+
gasLimit: string;
|
|
6564
|
+
/**
|
|
6565
|
+
* Transaction hash
|
|
6566
|
+
*/
|
|
6567
|
+
transactionHash: string;
|
|
6568
|
+
};
|
|
6569
|
+
|
|
6570
|
+
type Transaction = {
|
|
6571
|
+
/**
|
|
6572
|
+
* Block hash of the transaction
|
|
6573
|
+
*/
|
|
6574
|
+
blockHash: string;
|
|
6575
|
+
/**
|
|
6576
|
+
* Block number of the transaction
|
|
6577
|
+
*/
|
|
6578
|
+
blockNumber: string;
|
|
6579
|
+
/**
|
|
6580
|
+
* Sender address
|
|
6581
|
+
*/
|
|
6582
|
+
from: string;
|
|
6583
|
+
/**
|
|
6584
|
+
* Gas limit for the transaction
|
|
6585
|
+
*/
|
|
6586
|
+
gas: string;
|
|
6587
|
+
/**
|
|
6588
|
+
* Gas price used
|
|
6589
|
+
*/
|
|
6590
|
+
gasPrice: string;
|
|
6591
|
+
/**
|
|
6592
|
+
* Maximum fee per gas
|
|
6593
|
+
*/
|
|
6594
|
+
maxFeePerGas: string;
|
|
6595
|
+
/**
|
|
6596
|
+
* Maximum priority fee per gas
|
|
6597
|
+
*/
|
|
6598
|
+
maxPriorityFeePerGas: string;
|
|
6599
|
+
/**
|
|
6600
|
+
* Transaction hash
|
|
6601
|
+
*/
|
|
6602
|
+
txHash: string;
|
|
6603
|
+
/**
|
|
6604
|
+
* Transaction status
|
|
6605
|
+
*/
|
|
6606
|
+
txStatus: string;
|
|
6607
|
+
/**
|
|
6608
|
+
* Input data
|
|
6609
|
+
*/
|
|
6610
|
+
input: string;
|
|
6611
|
+
/**
|
|
6612
|
+
* Nonce value
|
|
6613
|
+
*/
|
|
6614
|
+
nonce: string;
|
|
6615
|
+
/**
|
|
6616
|
+
* Recipient address
|
|
6617
|
+
*/
|
|
6618
|
+
to: string;
|
|
6619
|
+
/**
|
|
6620
|
+
* Transaction index
|
|
6621
|
+
*/
|
|
6622
|
+
transactionIndex: number;
|
|
6623
|
+
/**
|
|
6624
|
+
* Value transferred in the transaction
|
|
6625
|
+
*/
|
|
6626
|
+
value: string;
|
|
6627
|
+
/**
|
|
6628
|
+
* Transaction type
|
|
6629
|
+
*/
|
|
6630
|
+
type: number;
|
|
6631
|
+
/**
|
|
6632
|
+
* Chain ID of the network
|
|
6633
|
+
*/
|
|
6634
|
+
chainId: string;
|
|
6635
|
+
/**
|
|
6636
|
+
* Cumulative gas used
|
|
6637
|
+
*/
|
|
6638
|
+
receiptCumulativeGasUsed: string;
|
|
6639
|
+
/**
|
|
6640
|
+
* Gas used
|
|
6641
|
+
*/
|
|
6642
|
+
receiptGasUsed: string;
|
|
6643
|
+
/**
|
|
6644
|
+
* Effective gas price
|
|
6645
|
+
*/
|
|
6646
|
+
receiptEffectiveGasPrice: string;
|
|
6647
|
+
/**
|
|
6648
|
+
* Receipt root
|
|
6649
|
+
*/
|
|
6650
|
+
receiptRoot: string;
|
|
6651
|
+
/**
|
|
6652
|
+
* Block timestamp
|
|
6653
|
+
*/
|
|
6654
|
+
blockTimestamp: number;
|
|
6655
|
+
/**
|
|
6656
|
+
* Contract address (optional)
|
|
6657
|
+
*/
|
|
6658
|
+
contractAddress?: string;
|
|
6659
|
+
/**
|
|
6660
|
+
* ERC20 transfers
|
|
6661
|
+
*/
|
|
6662
|
+
erc20Transfers: Array<ERCTransfer>;
|
|
6663
|
+
/**
|
|
6664
|
+
* ERC721 transfers
|
|
6665
|
+
*/
|
|
6666
|
+
erc721Transfers: Array<ERCTransfer>;
|
|
6667
|
+
/**
|
|
6668
|
+
* ERC1155 transfers
|
|
6669
|
+
*/
|
|
6670
|
+
erc1155Transfers: Array<ERCTransfer>;
|
|
6671
|
+
/**
|
|
6672
|
+
* Internal transactions (optional)
|
|
6673
|
+
*/
|
|
6674
|
+
internalTransactions?: Array<WebhookInternalTransaction>;
|
|
6675
|
+
/**
|
|
6676
|
+
* Access list (optional)
|
|
6677
|
+
*/
|
|
6678
|
+
accessList?: Array<AccessListData>;
|
|
6679
|
+
/**
|
|
6680
|
+
* Network token info (optional)
|
|
6681
|
+
*/
|
|
6682
|
+
networkToken?: NetworkTokenInfo;
|
|
6683
|
+
};
|
|
6684
|
+
|
|
6685
|
+
type TransactionEvent = {
|
|
6686
|
+
/**
|
|
6687
|
+
* Transaction details
|
|
6688
|
+
*/
|
|
6689
|
+
transaction: Transaction;
|
|
6690
|
+
/**
|
|
6691
|
+
* Array of log events
|
|
6692
|
+
*/
|
|
6693
|
+
logs?: Array<Log>;
|
|
6694
|
+
};
|
|
6695
|
+
|
|
6324
6696
|
type Unauthorized = {
|
|
6325
6697
|
/**
|
|
6326
6698
|
* The error message describing the reason for the exception
|
|
@@ -6336,4 +6708,43 @@ type Unauthorized = {
|
|
|
6336
6708
|
error: string;
|
|
6337
6709
|
};
|
|
6338
6710
|
|
|
6339
|
-
|
|
6711
|
+
type WebhookAddressActivityResponse = {
|
|
6712
|
+
/**
|
|
6713
|
+
* Webhook ID
|
|
6714
|
+
*/
|
|
6715
|
+
webhookId: string;
|
|
6716
|
+
/**
|
|
6717
|
+
* Event type
|
|
6718
|
+
*/
|
|
6719
|
+
eventType: WebhookAddressActivityResponse.eventType;
|
|
6720
|
+
/**
|
|
6721
|
+
* Message ID
|
|
6722
|
+
*/
|
|
6723
|
+
messageId: string;
|
|
6724
|
+
/**
|
|
6725
|
+
* Event details
|
|
6726
|
+
*/
|
|
6727
|
+
event: TransactionEvent;
|
|
6728
|
+
};
|
|
6729
|
+
declare namespace WebhookAddressActivityResponse {
|
|
6730
|
+
/**
|
|
6731
|
+
* Event type
|
|
6732
|
+
*/
|
|
6733
|
+
enum eventType {
|
|
6734
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
6735
|
+
}
|
|
6736
|
+
}
|
|
6737
|
+
|
|
6738
|
+
declare class FetchHttpRequest extends BaseHttpRequest {
|
|
6739
|
+
constructor(config: OpenAPIConfig);
|
|
6740
|
+
/**
|
|
6741
|
+
* Request method
|
|
6742
|
+
* @param options The request options from the service
|
|
6743
|
+
* @returns CancelablePromise<T>
|
|
6744
|
+
* @throws ApiError
|
|
6745
|
+
*/
|
|
6746
|
+
request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
6747
|
+
}
|
|
6748
|
+
|
|
6749
|
+
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 };
|
|
6750
|
+
export type { AccessListData, AccessRequest, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiRequestOptions, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, Blockchain, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainSharedAssetBalance, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ContractDeploymentDetails, ContractSubmissionBody, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, DataListChainsResponse, DelegatorsDetails, ERCToken, ERCTransfer, EVMAddressActivityResponse, EVMInput, EVMOutput, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Transfer, Erc20TransferDetails, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EvmBlock, EvmNetworkOptions, Forbidden, FullNativeTransactionDetails, Geolocation, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmSourceTransaction, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListIcmMessagesResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Log, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NotFound, NotificationsResponse, OpenAPIConfig, OperationStatusResponse, PChainBalance, PChainSharedAsset, PChainTransaction, PChainUtxo, PendingReward, 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, WebhookInternalTransaction, XChainAssetDetails, XChainBalances, XChainSharedAssetBalance, XChainVertex };
|