@avalabs/glacier-sdk 2.8.0-alpha.17 → 2.8.0-alpha.170
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/README.md +10 -0
- package/dist/index.d.ts +4240 -3
- package/dist/index.js +2068 -155
- package/esm/generated/Glacier.d.ts +42 -0
- package/esm/generated/Glacier.js +68 -0
- package/esm/generated/core/ApiError.d.ts +13 -0
- package/esm/generated/core/ApiError.js +18 -0
- package/esm/generated/core/ApiRequestOptions.d.ts +15 -0
- package/esm/generated/core/ApiResult.d.ts +9 -0
- package/esm/generated/core/BaseHttpRequest.d.ts +11 -0
- package/esm/generated/core/BaseHttpRequest.js +7 -0
- package/esm/generated/core/CancelablePromise.d.ts +28 -0
- package/esm/generated/core/CancelablePromise.js +91 -0
- package/esm/generated/core/FetchHttpRequest.js +13 -0
- package/esm/generated/core/OpenAPI.d.ts +18 -0
- package/esm/generated/core/OpenAPI.js +13 -0
- package/esm/generated/core/request.js +227 -0
- package/esm/generated/models/ActiveDelegatorDetails.d.ts +19 -0
- package/esm/generated/models/ActiveDelegatorDetails.js +8 -0
- package/esm/generated/models/ActiveValidatorDetails.d.ts +28 -0
- package/esm/generated/models/ActiveValidatorDetails.js +8 -0
- package/esm/generated/models/AddressActivityMetadata.d.ts +12 -0
- package/esm/generated/models/Asset.d.ts +30 -0
- package/esm/generated/models/AssetWithPriceInfo.d.ts +35 -0
- package/esm/generated/models/Blockchain.d.ts +10 -0
- package/esm/generated/models/BlockchainId.d.ts +12 -0
- package/esm/generated/models/BlockchainId.js +13 -0
- package/esm/generated/models/BlockchainIds.d.ts +9 -0
- package/esm/generated/models/BlockchainIds.js +10 -0
- package/esm/generated/models/BlockchainInfo.d.ts +5 -0
- package/esm/generated/models/CChainAtomicBalances.d.ts +8 -0
- package/esm/generated/models/CChainExportTransaction.d.ts +58 -0
- package/esm/generated/models/CChainExportTransaction.js +8 -0
- package/esm/generated/models/CChainImportTransaction.d.ts +58 -0
- package/esm/generated/models/CChainImportTransaction.js +8 -0
- package/esm/generated/models/CChainSharedAssetBalance.d.ts +32 -0
- package/esm/generated/models/ChainAddressChainIdMap.d.ts +8 -0
- package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +7 -0
- package/esm/generated/models/ChainInfo.d.ts +28 -0
- package/esm/generated/models/ChainStatus.d.ts +6 -0
- package/esm/generated/models/ChainStatus.js +7 -0
- package/esm/generated/models/CompletedDelegatorDetails.d.ts +19 -0
- package/esm/generated/models/CompletedDelegatorDetails.js +8 -0
- package/esm/generated/models/CompletedValidatorDetails.d.ts +21 -0
- package/esm/generated/models/CompletedValidatorDetails.js +8 -0
- package/esm/generated/models/ContractDeploymentDetails.d.ts +13 -0
- package/esm/generated/models/ContractSubmissionBody.d.ts +10 -0
- package/esm/generated/models/ContractSubmissionErc1155.d.ts +31 -0
- package/esm/generated/models/ContractSubmissionErc1155.js +8 -0
- package/esm/generated/models/ContractSubmissionErc20.d.ts +31 -0
- package/esm/generated/models/ContractSubmissionErc20.js +8 -0
- package/esm/generated/models/ContractSubmissionErc721.d.ts +29 -0
- package/esm/generated/models/ContractSubmissionErc721.js +8 -0
- package/esm/generated/models/ContractSubmissionUnknown.d.ts +25 -0
- package/esm/generated/models/ContractSubmissionUnknown.js +8 -0
- package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +23 -0
- package/esm/generated/models/CreateEvmTransactionExportRequest.js +8 -0
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +23 -0
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.js +8 -0
- package/esm/generated/models/CurrencyCode.d.ts +18 -0
- package/esm/generated/models/CurrencyCode.js +19 -0
- package/esm/generated/models/DelegationStatusType.d.ts +7 -0
- package/esm/generated/models/DelegationStatusType.js +8 -0
- package/esm/generated/models/DelegatorsDetails.d.ts +6 -0
- package/esm/generated/models/EVMInput.d.ts +19 -0
- package/esm/generated/models/EVMOutput.d.ts +14 -0
- package/esm/generated/models/Erc1155Contract.d.ts +37 -0
- package/esm/generated/models/Erc1155Contract.js +8 -0
- package/esm/generated/models/Erc1155Token.d.ts +19 -0
- package/esm/generated/models/Erc1155Token.js +8 -0
- package/esm/generated/models/Erc1155TokenBalance.d.ts +27 -0
- package/esm/generated/models/Erc1155TokenBalance.js +8 -0
- package/esm/generated/models/Erc1155TokenMetadata.d.ts +20 -0
- package/esm/generated/models/Erc1155Transfer.d.ts +28 -0
- package/esm/generated/models/Erc1155TransferDetails.d.ts +12 -0
- package/esm/generated/models/Erc20Contract.d.ts +41 -0
- package/esm/generated/models/Erc20Contract.js +8 -0
- package/esm/generated/models/Erc20Token.d.ts +36 -0
- package/esm/generated/models/Erc20Token.js +8 -0
- package/esm/generated/models/Erc20TokenBalance.d.ts +48 -0
- package/esm/generated/models/Erc20TokenBalance.js +8 -0
- package/esm/generated/models/Erc20Transfer.d.ts +28 -0
- package/esm/generated/models/Erc20TransferDetails.d.ts +12 -0
- package/esm/generated/models/Erc721Contract.d.ts +35 -0
- package/esm/generated/models/Erc721Contract.js +8 -0
- package/esm/generated/models/Erc721Token.d.ts +31 -0
- package/esm/generated/models/Erc721Token.js +8 -0
- package/esm/generated/models/Erc721TokenBalance.d.ts +35 -0
- package/esm/generated/models/Erc721TokenBalance.js +8 -0
- package/esm/generated/models/Erc721TokenMetadata.d.ts +19 -0
- package/esm/generated/models/Erc721Transfer.d.ts +27 -0
- package/esm/generated/models/Erc721TransferDetails.d.ts +11 -0
- package/esm/generated/models/EventType.d.ts +5 -0
- package/esm/generated/models/EventType.js +6 -0
- package/esm/generated/models/EvmBlock.d.ts +45 -0
- package/esm/generated/models/EvmNetworkOptions.d.ts +6 -0
- package/esm/generated/models/FullNativeTransactionDetails.d.ts +62 -0
- package/esm/generated/models/GetChainResponse.d.ts +28 -0
- package/esm/generated/models/GetEvmBlockResponse.d.ts +45 -0
- package/esm/generated/models/GetNativeBalanceResponse.d.ts +10 -0
- package/esm/generated/models/GetNetworkDetailsResponse.d.ts +9 -0
- package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +16 -0
- package/esm/generated/models/GetTransactionResponse.d.ts +29 -0
- package/esm/generated/models/HistoricalReward.d.ts +21 -0
- package/esm/generated/models/ImageAsset.d.ts +9 -0
- package/esm/generated/models/InternalTransaction.d.ts +33 -0
- package/esm/generated/models/InternalTransactionDetails.d.ts +17 -0
- package/esm/generated/models/InternalTransactionOpCall.d.ts +11 -0
- package/esm/generated/models/InternalTransactionOpCall.js +12 -0
- package/esm/generated/models/ListBlockchainsResponse.d.ts +11 -0
- package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +9 -0
- package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +14 -0
- package/esm/generated/models/ListChainsResponse.d.ts +7 -0
- package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +15 -0
- package/esm/generated/models/ListContractsResponse.d.ts +14 -0
- package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +16 -0
- package/esm/generated/models/ListErc1155BalancesResponse.d.ts +14 -0
- package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +11 -0
- package/esm/generated/models/ListErc20BalancesResponse.d.ts +14 -0
- package/esm/generated/models/ListErc20TransactionsResponse.d.ts +11 -0
- package/esm/generated/models/ListErc721BalancesResponse.d.ts +14 -0
- package/esm/generated/models/ListErc721TransactionsResponse.d.ts +11 -0
- package/esm/generated/models/ListEvmBlocksResponse.d.ts +11 -0
- package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +11 -0
- package/esm/generated/models/ListInternalTransactionsResponse.d.ts +11 -0
- package/esm/generated/models/ListNativeTransactionsResponse.d.ts +11 -0
- package/esm/generated/models/ListNftTokens.d.ts +12 -0
- package/esm/generated/models/ListPChainBalancesResponse.d.ts +9 -0
- package/esm/generated/models/ListPChainTransactionsResponse.d.ts +13 -0
- package/esm/generated/models/ListPChainUtxosResponse.d.ts +13 -0
- package/esm/generated/models/ListPendingRewardsResponse.d.ts +11 -0
- package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +13 -0
- package/esm/generated/models/ListSubnetsResponse.d.ts +11 -0
- package/esm/generated/models/ListTransactionDetailsResponse.d.ts +11 -0
- package/esm/generated/models/ListTransfersResponse.d.ts +13 -0
- package/esm/generated/models/ListUtxosResponse.d.ts +13 -0
- package/esm/generated/models/ListValidatorDetailsResponse.d.ts +17 -0
- package/esm/generated/models/ListWebhooksResponse.d.ts +11 -0
- package/esm/generated/models/ListXChainBalancesResponse.d.ts +9 -0
- package/esm/generated/models/ListXChainTransactionsResponse.d.ts +14 -0
- package/esm/generated/models/ListXChainVerticesResponse.d.ts +13 -0
- package/esm/generated/models/Method.d.ts +18 -0
- package/esm/generated/models/Money.d.ts +14 -0
- package/esm/generated/models/NativeTokenBalance.d.ts +38 -0
- package/esm/generated/models/NativeTransaction.d.ts +55 -0
- package/esm/generated/models/Network.d.ts +6 -0
- package/esm/generated/models/Network.js +7 -0
- package/esm/generated/models/NetworkToken.d.ts +21 -0
- package/esm/generated/models/NetworkTokenDetails.d.ts +16 -0
- package/esm/generated/models/NetworkType.d.ts +6 -0
- package/esm/generated/models/NetworkType.js +7 -0
- package/esm/generated/models/NftTokenMetadataStatus.d.ts +15 -0
- package/esm/generated/models/NftTokenMetadataStatus.js +16 -0
- package/esm/generated/models/OperationStatus.d.ts +8 -0
- package/esm/generated/models/OperationStatus.js +9 -0
- package/esm/generated/models/OperationStatusCode.d.ts +7 -0
- package/esm/generated/models/OperationStatusCode.js +8 -0
- package/esm/generated/models/OperationStatusResponse.d.ts +15 -0
- package/esm/generated/models/OperationType.d.ts +6 -0
- package/esm/generated/models/OperationType.js +7 -0
- package/esm/generated/models/PChainBalance.d.ts +39 -0
- package/esm/generated/models/PChainId.d.ts +6 -0
- package/esm/generated/models/PChainId.js +7 -0
- package/esm/generated/models/PChainSharedAsset.d.ts +32 -0
- package/esm/generated/models/PChainTransaction.d.ts +72 -0
- package/esm/generated/models/PChainTransactionType.d.ts +18 -0
- package/esm/generated/models/PChainTransactionType.js +19 -0
- package/esm/generated/models/PChainUtxo.d.ts +51 -0
- package/esm/generated/models/PendingDelegatorDetails.d.ts +19 -0
- package/esm/generated/models/PendingDelegatorDetails.js +8 -0
- package/esm/generated/models/PendingReward.d.ts +22 -0
- package/esm/generated/models/PendingValidatorDetails.d.ts +17 -0
- package/esm/generated/models/PendingValidatorDetails.js +8 -0
- package/esm/generated/models/PricingProviders.d.ts +5 -0
- package/esm/generated/models/PrimaryNetwork.d.ts +6 -0
- package/esm/generated/models/PrimaryNetwork.js +7 -0
- package/esm/generated/models/PrimaryNetworkAssetCap.d.ts +6 -0
- package/esm/generated/models/PrimaryNetworkAssetCap.js +7 -0
- package/esm/generated/models/PrimaryNetworkAssetType.d.ts +6 -0
- package/esm/generated/models/PrimaryNetworkAssetType.js +7 -0
- package/esm/generated/models/PrimaryNetworkBlock.d.ts +16 -0
- package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +9 -0
- package/esm/generated/models/PrimaryNetworkChainName.d.ts +7 -0
- package/esm/generated/models/PrimaryNetworkChainName.js +8 -0
- package/esm/generated/models/PrimaryNetworkOptions.d.ts +7 -0
- package/esm/generated/models/PrimaryNetworkTxType.d.ts +21 -0
- package/esm/generated/models/PrimaryNetworkTxType.js +22 -0
- package/esm/generated/models/ProposerDetails.d.ts +9 -0
- package/esm/generated/models/RegisterWebhookRequest.d.ts +14 -0
- package/esm/generated/models/RemovedValidatorDetails.d.ts +19 -0
- package/esm/generated/models/RemovedValidatorDetails.js +8 -0
- package/esm/generated/models/ResourceLink.d.ts +8 -0
- package/esm/generated/models/ResourceLinkType.d.ts +22 -0
- package/esm/generated/models/ResourceLinkType.js +23 -0
- package/esm/generated/models/RewardType.d.ts +7 -0
- package/esm/generated/models/RewardType.js +8 -0
- package/esm/generated/models/Rewards.d.ts +8 -0
- package/esm/generated/models/RichAddress.d.ts +24 -0
- package/esm/generated/models/SharedSecretsResponse.d.ts +5 -0
- package/esm/generated/models/SortOrder.d.ts +6 -0
- package/esm/generated/models/SortOrder.js +7 -0
- package/esm/generated/models/StakingDistribution.d.ts +7 -0
- package/esm/generated/models/Subnet.d.ts +13 -0
- package/esm/generated/models/TransactionDetails.d.ts +30 -0
- package/esm/generated/models/TransactionExportMetadata.d.ts +15 -0
- package/esm/generated/models/TransactionMethodType.d.ts +7 -0
- package/esm/generated/models/TransactionMethodType.js +8 -0
- package/esm/generated/models/TransactionStatus.d.ts +6 -0
- package/esm/generated/models/TransactionStatus.js +7 -0
- package/esm/generated/models/TransactionVertexDetail.d.ts +16 -0
- package/esm/generated/models/UnknownContract.d.ts +31 -0
- package/esm/generated/models/UnknownContract.js +8 -0
- package/esm/generated/models/UpdateContractResponse.d.ts +10 -0
- package/esm/generated/models/UtilityAddresses.d.ts +5 -0
- package/esm/generated/models/Utxo.d.ts +68 -0
- package/esm/generated/models/UtxoCredential.d.ts +12 -0
- package/esm/generated/models/UtxoType.d.ts +6 -0
- package/esm/generated/models/UtxoType.js +7 -0
- package/esm/generated/models/ValidationStatusType.d.ts +8 -0
- package/esm/generated/models/ValidationStatusType.js +9 -0
- package/esm/generated/models/ValidatorHealthDetails.d.ts +20 -0
- package/esm/generated/models/ValidatorsDetails.d.ts +11 -0
- package/esm/generated/models/VmName.d.ts +7 -0
- package/esm/generated/models/VmName.js +8 -0
- package/esm/generated/models/WebhookResponse.d.ts +17 -0
- package/esm/generated/models/WebhookStatus.d.ts +6 -0
- package/esm/generated/models/WebhookStatus.js +7 -0
- package/esm/generated/models/WebhookStatusType.d.ts +6 -0
- package/esm/generated/models/WebhookStatusType.js +7 -0
- package/esm/generated/models/XChainAssetBalance.d.ts +31 -0
- package/esm/generated/models/XChainAssetDetails.d.ts +35 -0
- package/esm/generated/models/XChainBalances.d.ts +17 -0
- package/esm/generated/models/XChainId.d.ts +7 -0
- package/esm/generated/models/XChainId.js +8 -0
- package/esm/generated/models/XChainLinearTransaction.d.ts +68 -0
- package/esm/generated/models/XChainLinearTransaction.js +9 -0
- package/esm/generated/models/XChainNonLinearTransaction.d.ts +65 -0
- package/esm/generated/models/XChainNonLinearTransaction.js +9 -0
- package/esm/generated/models/XChainSharedAssetBalance.d.ts +32 -0
- package/esm/generated/models/XChainTransactionType.d.ts +10 -0
- package/esm/generated/models/XChainTransactionType.js +11 -0
- package/esm/generated/models/XChainVertex.d.ts +12 -0
- package/esm/generated/services/DefaultService.d.ts +74 -0
- package/esm/generated/services/DefaultService.js +61 -0
- package/esm/generated/services/EvmBalancesService.d.ts +177 -0
- package/esm/generated/services/EvmBalancesService.js +116 -0
- package/esm/generated/services/EvmBlocksService.d.ts +47 -0
- package/esm/generated/services/EvmBlocksService.js +37 -0
- package/esm/generated/services/EvmChainsService.d.ts +36 -0
- package/esm/generated/services/EvmChainsService.js +29 -0
- package/esm/generated/services/EvmContractsService.d.ts +48 -0
- package/esm/generated/services/EvmContractsService.js +36 -0
- package/esm/generated/services/EvmTransactionsService.d.ts +353 -0
- package/esm/generated/services/EvmTransactionsService.js +251 -0
- package/esm/generated/services/HealthCheckService.d.ts +20 -0
- package/esm/generated/services/HealthCheckService.js +16 -0
- package/esm/generated/services/NfTsService.d.ts +76 -0
- package/esm/generated/services/NfTsService.js +56 -0
- package/esm/generated/services/OperationsService.d.ts +35 -0
- package/esm/generated/services/OperationsService.js +28 -0
- package/esm/generated/services/PrimaryNetworkBalancesService.d.ts +40 -0
- package/esm/generated/services/PrimaryNetworkBalancesService.js +26 -0
- package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +85 -0
- package/esm/generated/services/PrimaryNetworkBlocksService.js +62 -0
- package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +82 -0
- package/esm/generated/services/PrimaryNetworkRewardsService.js +55 -0
- package/esm/generated/services/PrimaryNetworkService.d.ts +245 -0
- package/esm/generated/services/PrimaryNetworkService.js +171 -0
- package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +175 -0
- package/esm/generated/services/PrimaryNetworkTransactionsService.js +107 -0
- package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +54 -0
- package/esm/generated/services/PrimaryNetworkUtxOsService.js +34 -0
- package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +90 -0
- package/esm/generated/services/PrimaryNetworkVerticesService.js +64 -0
- package/esm/index.d.ts +187 -0
- package/esm/index.js +80 -0
- package/package.json +11 -20
- package/.eslintrc.js +0 -3
- package/CHANGELOG.md +0 -262
- package/__tests__/glacier-sdk.test.js +0 -7
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/src/generated/models.d.ts +0 -385
- package/dist/src/generated/models.d.ts.map +0 -1
- package/dist/src/glacierClient.d.ts +0 -93
- package/dist/src/glacierClient.d.ts.map +0 -1
- package/dist/src/types.d.ts +0 -13
- package/dist/src/types.d.ts.map +0 -1
- package/index.ts +0 -2
- package/rollup.config.js +0 -33
- package/src/generated/models.ts +0 -460
- package/src/glacierClient.ts +0 -190
- package/src/types.ts +0 -6
- package/swagger/generateModels.js +0 -40
- package/tsconfig.json +0 -7
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Erc721Token } from './Erc721Token.js';
|
|
2
|
+
import { RichAddress } from './RichAddress.js';
|
|
3
|
+
|
|
4
|
+
type Erc721Transfer = {
|
|
5
|
+
/**
|
|
6
|
+
* The block number on the chain.
|
|
7
|
+
*/
|
|
8
|
+
blockNumber: string;
|
|
9
|
+
/**
|
|
10
|
+
* The block finality timestamp.
|
|
11
|
+
*/
|
|
12
|
+
blockTimestamp: number;
|
|
13
|
+
/**
|
|
14
|
+
* The block hash identifier.
|
|
15
|
+
*/
|
|
16
|
+
blockHash: string;
|
|
17
|
+
/**
|
|
18
|
+
* The transaction hash identifier.
|
|
19
|
+
*/
|
|
20
|
+
txHash: string;
|
|
21
|
+
from: RichAddress;
|
|
22
|
+
to: RichAddress;
|
|
23
|
+
logIndex: number;
|
|
24
|
+
erc721Token: Erc721Token;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export { Erc721Transfer };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Erc721Token } from './Erc721Token.js';
|
|
2
|
+
import { RichAddress } from './RichAddress.js';
|
|
3
|
+
|
|
4
|
+
type Erc721TransferDetails = {
|
|
5
|
+
from: RichAddress;
|
|
6
|
+
to: RichAddress;
|
|
7
|
+
logIndex: number;
|
|
8
|
+
erc721Token: Erc721Token;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { Erc721TransferDetails };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
type EvmBlock = {
|
|
2
|
+
/**
|
|
3
|
+
* The block number on the chain.
|
|
4
|
+
*/
|
|
5
|
+
blockNumber: string;
|
|
6
|
+
/**
|
|
7
|
+
* The block finality timestamp.
|
|
8
|
+
*/
|
|
9
|
+
blockTimestamp: number;
|
|
10
|
+
/**
|
|
11
|
+
* The block hash identifier.
|
|
12
|
+
*/
|
|
13
|
+
blockHash: string;
|
|
14
|
+
/**
|
|
15
|
+
* The number of evm transactions in the block.
|
|
16
|
+
*/
|
|
17
|
+
txCount: number;
|
|
18
|
+
/**
|
|
19
|
+
* The base gas fee for a transaction to be included in the block.
|
|
20
|
+
*/
|
|
21
|
+
baseFee: string;
|
|
22
|
+
/**
|
|
23
|
+
* The gas used for transactions in the block.
|
|
24
|
+
*/
|
|
25
|
+
gasUsed: string;
|
|
26
|
+
/**
|
|
27
|
+
* The total gas limit set for transactions in the block.
|
|
28
|
+
*/
|
|
29
|
+
gasLimit: string;
|
|
30
|
+
gasCost: string;
|
|
31
|
+
/**
|
|
32
|
+
* The hash of the parent block.
|
|
33
|
+
*/
|
|
34
|
+
parentHash: string;
|
|
35
|
+
/**
|
|
36
|
+
* The amount of fees spent/burned for transactions in the block.
|
|
37
|
+
*/
|
|
38
|
+
feesSpent: string;
|
|
39
|
+
/**
|
|
40
|
+
* The cumulative number of transactions for the chain including this block.
|
|
41
|
+
*/
|
|
42
|
+
cumulativeTransactions: string;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export { EvmBlock };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Method } from './Method.js';
|
|
2
|
+
import { RichAddress } from './RichAddress.js';
|
|
3
|
+
|
|
4
|
+
type FullNativeTransactionDetails = {
|
|
5
|
+
/**
|
|
6
|
+
* The block number on the chain.
|
|
7
|
+
*/
|
|
8
|
+
blockNumber: string;
|
|
9
|
+
/**
|
|
10
|
+
* The block finality timestamp.
|
|
11
|
+
*/
|
|
12
|
+
blockTimestamp: number;
|
|
13
|
+
/**
|
|
14
|
+
* The block hash identifier.
|
|
15
|
+
*/
|
|
16
|
+
blockHash: string;
|
|
17
|
+
/**
|
|
18
|
+
* The index at which the transaction occured in the block (0-indexed).
|
|
19
|
+
*/
|
|
20
|
+
blockIndex: number;
|
|
21
|
+
/**
|
|
22
|
+
* The transaction hash identifier.
|
|
23
|
+
*/
|
|
24
|
+
txHash: string;
|
|
25
|
+
/**
|
|
26
|
+
* The transaction status, which is either 0 (failed) or 1 (successful).
|
|
27
|
+
*/
|
|
28
|
+
txStatus: string;
|
|
29
|
+
/**
|
|
30
|
+
* The transaction type.
|
|
31
|
+
*/
|
|
32
|
+
txType: number;
|
|
33
|
+
/**
|
|
34
|
+
* The gas limit set for the transaction.
|
|
35
|
+
*/
|
|
36
|
+
gasLimit: string;
|
|
37
|
+
/**
|
|
38
|
+
* The amount of gas used.
|
|
39
|
+
*/
|
|
40
|
+
gasUsed: string;
|
|
41
|
+
/**
|
|
42
|
+
* The gas price denominated by the number of decimals of the native token.
|
|
43
|
+
*/
|
|
44
|
+
gasPrice: string;
|
|
45
|
+
/**
|
|
46
|
+
* The nonce used by the sender of the transaction.
|
|
47
|
+
*/
|
|
48
|
+
nonce: string;
|
|
49
|
+
from: RichAddress;
|
|
50
|
+
to: RichAddress;
|
|
51
|
+
method?: Method;
|
|
52
|
+
value: string;
|
|
53
|
+
/**
|
|
54
|
+
* The data sent for the transaction.
|
|
55
|
+
*/
|
|
56
|
+
input: string;
|
|
57
|
+
baseFeePerGas: string;
|
|
58
|
+
maxFeePerGas?: string;
|
|
59
|
+
maxPriorityFeePerGas?: string;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export { FullNativeTransactionDetails };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ChainStatus } from './ChainStatus.js';
|
|
2
|
+
import { NetworkToken } from './NetworkToken.js';
|
|
3
|
+
import { UtilityAddresses } from './UtilityAddresses.js';
|
|
4
|
+
import { VmName } from './VmName.js';
|
|
5
|
+
|
|
6
|
+
type GetChainResponse = {
|
|
7
|
+
chainId: string;
|
|
8
|
+
/**
|
|
9
|
+
* Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for several reasons, such as validator stake falling below threshold. If chain nodes are `UNAVAILABLE`, requests that rely on data from the chain nodes may return 503 errors.
|
|
10
|
+
*/
|
|
11
|
+
status: ChainStatus;
|
|
12
|
+
chainName: string;
|
|
13
|
+
description: string;
|
|
14
|
+
platformChainId?: string;
|
|
15
|
+
subnetId?: string;
|
|
16
|
+
vmId?: string;
|
|
17
|
+
vmName: VmName;
|
|
18
|
+
explorerUrl?: string;
|
|
19
|
+
rpcUrl: string;
|
|
20
|
+
wsUrl?: string;
|
|
21
|
+
isTestnet: boolean;
|
|
22
|
+
utilityAddresses?: UtilityAddresses;
|
|
23
|
+
networkToken: NetworkToken;
|
|
24
|
+
chainLogoUri?: string;
|
|
25
|
+
private?: boolean;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export { GetChainResponse };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
type GetEvmBlockResponse = {
|
|
2
|
+
/**
|
|
3
|
+
* The block number on the chain.
|
|
4
|
+
*/
|
|
5
|
+
blockNumber: string;
|
|
6
|
+
/**
|
|
7
|
+
* The block finality timestamp.
|
|
8
|
+
*/
|
|
9
|
+
blockTimestamp: number;
|
|
10
|
+
/**
|
|
11
|
+
* The block hash identifier.
|
|
12
|
+
*/
|
|
13
|
+
blockHash: string;
|
|
14
|
+
/**
|
|
15
|
+
* The number of evm transactions in the block.
|
|
16
|
+
*/
|
|
17
|
+
txCount: number;
|
|
18
|
+
/**
|
|
19
|
+
* The base gas fee for a transaction to be included in the block.
|
|
20
|
+
*/
|
|
21
|
+
baseFee: string;
|
|
22
|
+
/**
|
|
23
|
+
* The gas used for transactions in the block.
|
|
24
|
+
*/
|
|
25
|
+
gasUsed: string;
|
|
26
|
+
/**
|
|
27
|
+
* The total gas limit set for transactions in the block.
|
|
28
|
+
*/
|
|
29
|
+
gasLimit: string;
|
|
30
|
+
gasCost: string;
|
|
31
|
+
/**
|
|
32
|
+
* The hash of the parent block.
|
|
33
|
+
*/
|
|
34
|
+
parentHash: string;
|
|
35
|
+
/**
|
|
36
|
+
* The amount of fees spent/burned for transactions in the block.
|
|
37
|
+
*/
|
|
38
|
+
feesSpent: string;
|
|
39
|
+
/**
|
|
40
|
+
* The cumulative number of transactions for the chain including this block.
|
|
41
|
+
*/
|
|
42
|
+
cumulativeTransactions: string;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export { GetEvmBlockResponse };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DelegatorsDetails } from './DelegatorsDetails.js';
|
|
2
|
+
import { ValidatorsDetails } from './ValidatorsDetails.js';
|
|
3
|
+
|
|
4
|
+
type GetNetworkDetailsResponse = {
|
|
5
|
+
validatorDetails: ValidatorsDetails;
|
|
6
|
+
delegatorDetails: DelegatorsDetails;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export { GetNetworkDetailsResponse };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ProposerDetails } from './ProposerDetails.js';
|
|
2
|
+
|
|
3
|
+
type GetPrimaryNetworkBlockResponse = {
|
|
4
|
+
blockNumber: string;
|
|
5
|
+
blockHash: string;
|
|
6
|
+
parentHash: string;
|
|
7
|
+
blockTimestamp: number;
|
|
8
|
+
blockType: string;
|
|
9
|
+
txCount: number;
|
|
10
|
+
transactions: Array<string>;
|
|
11
|
+
blockSizeBytes: number;
|
|
12
|
+
currentSupply?: string;
|
|
13
|
+
proposerDetails?: ProposerDetails;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { GetPrimaryNetworkBlockResponse };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Erc1155TransferDetails } from './Erc1155TransferDetails.js';
|
|
2
|
+
import { Erc20TransferDetails } from './Erc20TransferDetails.js';
|
|
3
|
+
import { Erc721TransferDetails } from './Erc721TransferDetails.js';
|
|
4
|
+
import { FullNativeTransactionDetails } from './FullNativeTransactionDetails.js';
|
|
5
|
+
import { InternalTransactionDetails } from './InternalTransactionDetails.js';
|
|
6
|
+
import { NetworkTokenDetails } from './NetworkTokenDetails.js';
|
|
7
|
+
|
|
8
|
+
type GetTransactionResponse = {
|
|
9
|
+
/**
|
|
10
|
+
* The list of ERC-20 transfers.
|
|
11
|
+
*/
|
|
12
|
+
erc20Transfers?: Array<Erc20TransferDetails>;
|
|
13
|
+
/**
|
|
14
|
+
* The list of ERC-721 transfers.
|
|
15
|
+
*/
|
|
16
|
+
erc721Transfers?: Array<Erc721TransferDetails>;
|
|
17
|
+
/**
|
|
18
|
+
* The list of ERC-1155 transfers.
|
|
19
|
+
*/
|
|
20
|
+
erc1155Transfers?: Array<Erc1155TransferDetails>;
|
|
21
|
+
/**
|
|
22
|
+
* The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2 calls. Use a client provider to recieve a full debug trace of the transaction.
|
|
23
|
+
*/
|
|
24
|
+
internalTransactions?: Array<InternalTransactionDetails>;
|
|
25
|
+
networkTokenDetails: NetworkTokenDetails;
|
|
26
|
+
nativeTransaction: FullNativeTransactionDetails;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export { GetTransactionResponse };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AssetWithPriceInfo } from './AssetWithPriceInfo.js';
|
|
2
|
+
import { RewardType } from './RewardType.js';
|
|
3
|
+
|
|
4
|
+
type HistoricalReward = {
|
|
5
|
+
/**
|
|
6
|
+
* An array of P-Chain wallet addresses.
|
|
7
|
+
*/
|
|
8
|
+
addresses: Array<string>;
|
|
9
|
+
txHash: string;
|
|
10
|
+
amountStaked: string;
|
|
11
|
+
nodeId: string;
|
|
12
|
+
startTimestamp: number;
|
|
13
|
+
endTimestamp: number;
|
|
14
|
+
rewardType: RewardType;
|
|
15
|
+
utxoId: string;
|
|
16
|
+
outputIndex: number;
|
|
17
|
+
reward: AssetWithPriceInfo;
|
|
18
|
+
rewardTxHash: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export { HistoricalReward };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { InternalTransactionOpCall } from './InternalTransactionOpCall.js';
|
|
2
|
+
import { RichAddress } from './RichAddress.js';
|
|
3
|
+
|
|
4
|
+
type InternalTransaction = {
|
|
5
|
+
/**
|
|
6
|
+
* The block number on the chain.
|
|
7
|
+
*/
|
|
8
|
+
blockNumber: string;
|
|
9
|
+
/**
|
|
10
|
+
* The block finality timestamp.
|
|
11
|
+
*/
|
|
12
|
+
blockTimestamp: number;
|
|
13
|
+
/**
|
|
14
|
+
* The block hash identifier.
|
|
15
|
+
*/
|
|
16
|
+
blockHash: string;
|
|
17
|
+
/**
|
|
18
|
+
* The transaction hash identifier.
|
|
19
|
+
*/
|
|
20
|
+
txHash: string;
|
|
21
|
+
from: RichAddress;
|
|
22
|
+
to: RichAddress;
|
|
23
|
+
internalTxType: InternalTransactionOpCall;
|
|
24
|
+
value: string;
|
|
25
|
+
/**
|
|
26
|
+
* True if the internal transaction was reverted.
|
|
27
|
+
*/
|
|
28
|
+
isReverted: boolean;
|
|
29
|
+
gasUsed: string;
|
|
30
|
+
gasLimit: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export { InternalTransaction };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { InternalTransactionOpCall } from './InternalTransactionOpCall.js';
|
|
2
|
+
import { RichAddress } from './RichAddress.js';
|
|
3
|
+
|
|
4
|
+
type InternalTransactionDetails = {
|
|
5
|
+
from: RichAddress;
|
|
6
|
+
to: RichAddress;
|
|
7
|
+
internalTxType: InternalTransactionOpCall;
|
|
8
|
+
value: string;
|
|
9
|
+
/**
|
|
10
|
+
* True if the internal transaction was reverted.
|
|
11
|
+
*/
|
|
12
|
+
isReverted: boolean;
|
|
13
|
+
gasUsed: string;
|
|
14
|
+
gasLimit: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { InternalTransactionDetails };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var InternalTransactionOpCall = /* @__PURE__ */ ((InternalTransactionOpCall2) => {
|
|
2
|
+
InternalTransactionOpCall2["UNKNOWN"] = "UNKNOWN";
|
|
3
|
+
InternalTransactionOpCall2["CALL"] = "CALL";
|
|
4
|
+
InternalTransactionOpCall2["CREATE"] = "CREATE";
|
|
5
|
+
InternalTransactionOpCall2["CREATE2"] = "CREATE2";
|
|
6
|
+
InternalTransactionOpCall2["CALLCODE"] = "CALLCODE";
|
|
7
|
+
InternalTransactionOpCall2["DELEGATECALL"] = "DELEGATECALL";
|
|
8
|
+
InternalTransactionOpCall2["STATICCALL"] = "STATICCALL";
|
|
9
|
+
return InternalTransactionOpCall2;
|
|
10
|
+
})(InternalTransactionOpCall || {});
|
|
11
|
+
|
|
12
|
+
export { InternalTransactionOpCall };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Blockchain } from './Blockchain.js';
|
|
2
|
+
|
|
3
|
+
type ListBlockchainsResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* 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.
|
|
6
|
+
*/
|
|
7
|
+
nextPageToken?: string;
|
|
8
|
+
blockchains: Array<Blockchain>;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { ListBlockchainsResponse };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CChainAtomicBalances } from './CChainAtomicBalances.js';
|
|
2
|
+
import { PrimaryNetworkChainInfo } from './PrimaryNetworkChainInfo.js';
|
|
3
|
+
|
|
4
|
+
type ListCChainAtomicBalancesResponse = {
|
|
5
|
+
balances: CChainAtomicBalances;
|
|
6
|
+
chainInfo: PrimaryNetworkChainInfo;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export { ListCChainAtomicBalancesResponse };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CChainExportTransaction } from './CChainExportTransaction.js';
|
|
2
|
+
import { CChainImportTransaction } from './CChainImportTransaction.js';
|
|
3
|
+
import { PrimaryNetworkChainInfo } from './PrimaryNetworkChainInfo.js';
|
|
4
|
+
|
|
5
|
+
type ListCChainAtomicTransactionsResponse = {
|
|
6
|
+
/**
|
|
7
|
+
* 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.
|
|
8
|
+
*/
|
|
9
|
+
nextPageToken?: string;
|
|
10
|
+
transactions: Array<(CChainExportTransaction | CChainImportTransaction)>;
|
|
11
|
+
chainInfo: PrimaryNetworkChainInfo;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { ListCChainAtomicTransactionsResponse };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Erc1155TokenBalance } from './Erc1155TokenBalance.js';
|
|
2
|
+
import { Erc721TokenBalance } from './Erc721TokenBalance.js';
|
|
3
|
+
|
|
4
|
+
type ListCollectibleBalancesResponse = {
|
|
5
|
+
/**
|
|
6
|
+
* 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.
|
|
7
|
+
*/
|
|
8
|
+
nextPageToken?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The list of ERC-721 and ERC-1155 token balances for the address.
|
|
11
|
+
*/
|
|
12
|
+
collectibleBalances: Array<(Erc721TokenBalance | Erc1155TokenBalance)>;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { ListCollectibleBalancesResponse };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Erc1155Contract } from './Erc1155Contract.js';
|
|
2
|
+
import { Erc20Contract } from './Erc20Contract.js';
|
|
3
|
+
import { Erc721Contract } from './Erc721Contract.js';
|
|
4
|
+
import { UnknownContract } from './UnknownContract.js';
|
|
5
|
+
|
|
6
|
+
type ListContractsResponse = {
|
|
7
|
+
/**
|
|
8
|
+
* 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.
|
|
9
|
+
*/
|
|
10
|
+
nextPageToken?: string;
|
|
11
|
+
contracts: Array<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { ListContractsResponse };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ActiveDelegatorDetails } from './ActiveDelegatorDetails.js';
|
|
2
|
+
import { CompletedDelegatorDetails } from './CompletedDelegatorDetails.js';
|
|
3
|
+
import { PendingDelegatorDetails } from './PendingDelegatorDetails.js';
|
|
4
|
+
|
|
5
|
+
type ListDelegatorDetailsResponse = {
|
|
6
|
+
/**
|
|
7
|
+
* 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.
|
|
8
|
+
*/
|
|
9
|
+
nextPageToken?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The list of Delegator Details.
|
|
12
|
+
*/
|
|
13
|
+
delegators: Array<(CompletedDelegatorDetails | ActiveDelegatorDetails | PendingDelegatorDetails)>;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { ListDelegatorDetailsResponse };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Erc1155TokenBalance } from './Erc1155TokenBalance.js';
|
|
2
|
+
|
|
3
|
+
type ListErc1155BalancesResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* 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.
|
|
6
|
+
*/
|
|
7
|
+
nextPageToken?: string;
|
|
8
|
+
/**
|
|
9
|
+
* The list of ERC-1155 token balances for the address.
|
|
10
|
+
*/
|
|
11
|
+
erc1155TokenBalances: Array<Erc1155TokenBalance>;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { ListErc1155BalancesResponse };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Erc1155Transfer } from './Erc1155Transfer.js';
|
|
2
|
+
|
|
3
|
+
type ListErc1155TransactionsResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* 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.
|
|
6
|
+
*/
|
|
7
|
+
nextPageToken?: string;
|
|
8
|
+
transactions: Array<Erc1155Transfer>;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { ListErc1155TransactionsResponse };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Erc20TokenBalance } from './Erc20TokenBalance.js';
|
|
2
|
+
|
|
3
|
+
type ListErc20BalancesResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* 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.
|
|
6
|
+
*/
|
|
7
|
+
nextPageToken?: string;
|
|
8
|
+
/**
|
|
9
|
+
* The list of ERC-20 token balances for the address.
|
|
10
|
+
*/
|
|
11
|
+
erc20TokenBalances: Array<Erc20TokenBalance>;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { ListErc20BalancesResponse };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Erc20Transfer } from './Erc20Transfer.js';
|
|
2
|
+
|
|
3
|
+
type ListErc20TransactionsResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* 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.
|
|
6
|
+
*/
|
|
7
|
+
nextPageToken?: string;
|
|
8
|
+
transactions: Array<Erc20Transfer>;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { ListErc20TransactionsResponse };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Erc721TokenBalance } from './Erc721TokenBalance.js';
|
|
2
|
+
|
|
3
|
+
type ListErc721BalancesResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* 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.
|
|
6
|
+
*/
|
|
7
|
+
nextPageToken?: string;
|
|
8
|
+
/**
|
|
9
|
+
* The list of ERC-721 token balances for the address.
|
|
10
|
+
*/
|
|
11
|
+
erc721TokenBalances: Array<Erc721TokenBalance>;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { ListErc721BalancesResponse };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Erc721Transfer } from './Erc721Transfer.js';
|
|
2
|
+
|
|
3
|
+
type ListErc721TransactionsResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* 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.
|
|
6
|
+
*/
|
|
7
|
+
nextPageToken?: string;
|
|
8
|
+
transactions: Array<Erc721Transfer>;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { ListErc721TransactionsResponse };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EvmBlock } from './EvmBlock.js';
|
|
2
|
+
|
|
3
|
+
type ListEvmBlocksResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* 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.
|
|
6
|
+
*/
|
|
7
|
+
nextPageToken?: string;
|
|
8
|
+
blocks: Array<EvmBlock>;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { ListEvmBlocksResponse };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HistoricalReward } from './HistoricalReward.js';
|
|
2
|
+
|
|
3
|
+
type ListHistoricalRewardsResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* 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.
|
|
6
|
+
*/
|
|
7
|
+
nextPageToken?: string;
|
|
8
|
+
historicalRewards: Array<HistoricalReward>;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { ListHistoricalRewardsResponse };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InternalTransaction } from './InternalTransaction.js';
|
|
2
|
+
|
|
3
|
+
type ListInternalTransactionsResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* 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.
|
|
6
|
+
*/
|
|
7
|
+
nextPageToken?: string;
|
|
8
|
+
transactions: Array<InternalTransaction>;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { ListInternalTransactionsResponse };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NativeTransaction } from './NativeTransaction.js';
|
|
2
|
+
|
|
3
|
+
type ListNativeTransactionsResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* 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.
|
|
6
|
+
*/
|
|
7
|
+
nextPageToken?: string;
|
|
8
|
+
transactions: Array<NativeTransaction>;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { ListNativeTransactionsResponse };
|