@avalabs/glacier-sdk 2.8.0-alpha.99 → 2.8.0-canary.122008d.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.d.ts +2418 -1684
- package/dist/index.js +749 -317
- package/esm/generated/Glacier.d.ts +26 -2
- package/esm/generated/Glacier.js +52 -12
- package/esm/generated/core/ApiError.js +5 -0
- package/esm/generated/core/CancelablePromise.js +11 -6
- package/esm/generated/core/OpenAPI.js +1 -1
- package/esm/generated/core/request.js +14 -31
- package/esm/generated/models/ActiveDelegatorDetails.d.ts +19 -0
- package/esm/generated/models/ActiveDelegatorDetails.js +8 -0
- package/esm/generated/models/ActiveValidatorDetails.d.ts +27 -0
- package/esm/generated/models/ActiveValidatorDetails.js +8 -0
- package/esm/generated/models/Blockchain.d.ts +10 -0
- package/esm/generated/models/BlockchainId.d.ts +6 -3
- package/esm/generated/models/BlockchainId.js +5 -2
- 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/ChainAddressChainIdMap.d.ts +2 -2
- package/esm/generated/models/ChainInfo.d.ts +2 -4
- package/esm/generated/models/CompletedDelegatorDetails.d.ts +19 -0
- package/esm/generated/models/CompletedDelegatorDetails.js +8 -0
- package/esm/generated/models/CompletedValidatorDetails.d.ts +20 -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/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 +5 -0
- package/esm/generated/models/Erc1155Contract.d.ts +37 -0
- package/esm/generated/models/Erc1155Contract.js +8 -0
- package/esm/generated/models/Erc1155TokenBalance.d.ts +1 -2
- package/esm/generated/models/Erc1155Transfer.d.ts +1 -0
- package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -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 +1 -3
- package/esm/generated/models/Erc20TokenBalance.d.ts +2 -5
- package/esm/generated/models/Erc20Transfer.d.ts +1 -0
- package/esm/generated/models/Erc20TransferDetails.d.ts +1 -0
- package/esm/generated/models/Erc721Contract.d.ts +35 -0
- package/esm/generated/models/Erc721Contract.js +8 -0
- package/esm/generated/models/Erc721Transfer.d.ts +1 -0
- package/esm/generated/models/Erc721TransferDetails.d.ts +1 -0
- package/esm/generated/models/{GetBlockResponse.d.ts → EvmBlock.d.ts} +2 -6
- package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
- package/esm/generated/models/GetChainResponse.d.ts +2 -4
- package/esm/generated/models/GetEvmBlockResponse.d.ts +45 -0
- package/esm/generated/models/GetNetworkDetailsResponse.d.ts +9 -0
- package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +15 -0
- package/esm/generated/models/GetTransactionResponse.d.ts +1 -7
- package/esm/generated/models/HistoricalReward.d.ts +24 -0
- package/esm/generated/models/ImageAsset.d.ts +9 -0
- package/esm/generated/models/{ListListingsResponse.d.ts → ListBlockchainsResponse.d.ts} +4 -4
- package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +2 -0
- package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +2 -0
- package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -2
- package/esm/generated/models/ListContractsResponse.d.ts +14 -0
- package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +16 -0
- package/esm/generated/models/ListEvmBlocksResponse.d.ts +11 -0
- package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +11 -0
- package/esm/generated/models/ListPChainBalancesResponse.d.ts +2 -0
- package/esm/generated/models/ListPChainTransactionsResponse.d.ts +2 -0
- package/esm/generated/models/ListPChainUtxosResponse.d.ts +2 -0
- package/esm/generated/models/ListPendingRewardsResponse.d.ts +11 -0
- package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +13 -0
- package/esm/generated/models/{ListBlocksResponse.d.ts → ListSubnetsResponse.d.ts} +4 -4
- package/esm/generated/models/ListUtxosResponse.d.ts +2 -0
- package/esm/generated/models/ListValidatorDetailsResponse.d.ts +16 -0
- package/esm/generated/models/ListXChainBalancesResponse.d.ts +2 -0
- package/esm/generated/models/ListXChainTransactionsResponse.d.ts +2 -0
- package/esm/generated/models/ListXChainVerticesResponse.d.ts +2 -0
- package/esm/generated/models/Method.d.ts +1 -7
- package/esm/generated/models/NativeTokenBalance.d.ts +2 -5
- package/esm/generated/models/NetworkToken.d.ts +1 -3
- package/esm/generated/models/NetworkTokenDetails.d.ts +1 -3
- package/esm/generated/models/NetworkType.d.ts +6 -0
- package/esm/generated/models/NetworkType.js +7 -0
- package/esm/generated/models/OperationStatusResponse.d.ts +2 -2
- package/esm/generated/models/OperationType.d.ts +2 -1
- package/esm/generated/models/OperationType.js +2 -1
- package/esm/generated/models/PChainBalance.d.ts +16 -7
- package/esm/generated/models/PChainId.d.ts +2 -2
- package/esm/generated/models/PChainId.js +1 -1
- package/esm/generated/models/PChainSharedAsset.d.ts +8 -0
- package/esm/generated/models/PChainTransaction.d.ts +10 -15
- package/esm/generated/models/PChainTransactionType.d.ts +17 -0
- package/esm/generated/models/PChainTransactionType.js +18 -0
- package/esm/generated/models/PChainUtxo.d.ts +10 -1
- 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 +16 -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/{Block.d.ts → PrimaryNetworkBlock.d.ts} +3 -3
- 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 +2 -1
- package/esm/generated/models/PrimaryNetworkTxType.d.ts +20 -0
- package/esm/generated/models/PrimaryNetworkTxType.js +21 -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 +1 -3
- 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 +1 -7
- package/esm/generated/models/TransactionExportMetadata.d.ts +15 -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/Utxo.d.ts +9 -1
- package/esm/generated/models/UtxoType.d.ts +6 -0
- package/esm/generated/models/UtxoType.js +7 -0
- package/esm/generated/models/ValidationStatusType.d.ts +7 -0
- package/esm/generated/models/ValidationStatusType.js +8 -0
- package/esm/generated/models/ValidatorHealthDetails.d.ts +20 -0
- package/esm/generated/models/ValidatorsDetails.d.ts +11 -0
- package/esm/generated/models/XChainBalances.d.ts +2 -2
- package/esm/generated/models/XChainId.d.ts +3 -2
- package/esm/generated/models/XChainId.js +2 -1
- package/esm/generated/models/XChainLinearTransaction.d.ts +4 -4
- package/esm/generated/models/XChainLinearTransaction.js +1 -1
- package/esm/generated/models/XChainNonLinearTransaction.d.ts +4 -4
- package/esm/generated/models/XChainNonLinearTransaction.js +1 -1
- package/esm/generated/services/DefaultService.d.ts +14 -0
- package/esm/generated/services/DefaultService.js +13 -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 +311 -0
- package/esm/generated/services/EvmTransactionsService.js +251 -0
- package/esm/generated/services/HealthCheckService.d.ts +1 -1
- package/esm/generated/services/NfTsService.d.ts +51 -0
- package/esm/generated/services/NfTsService.js +37 -0
- package/esm/generated/services/OperationsService.d.ts +8 -3
- 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 +77 -0
- package/esm/generated/services/PrimaryNetworkRewardsService.js +53 -0
- package/esm/generated/services/PrimaryNetworkService.d.ts +103 -245
- package/esm/generated/services/PrimaryNetworkService.js +65 -167
- 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 +71 -31
- package/esm/index.js +39 -9
- package/package.json +2 -5
- package/esm/generated/models/Address.d.ts +0 -8
- package/esm/generated/models/CancelListingEventResponse.d.ts +0 -5
- package/esm/generated/models/CloseAuctionEventResponse.d.ts +0 -6
- package/esm/generated/models/CollectionMetrics.d.ts +0 -40
- package/esm/generated/models/CollectionSortByOption.d.ts +0 -8
- package/esm/generated/models/CollectionSortByOption.js +0 -9
- package/esm/generated/models/CreateTransactionExportRequest.d.ts +0 -11
- package/esm/generated/models/ErcType.d.ts +0 -8
- package/esm/generated/models/ErcType.js +0 -9
- package/esm/generated/models/ListNftCollectionWithMetricsResponse.d.ts +0 -11
- package/esm/generated/models/ListingCurrencyType.d.ts +0 -6
- package/esm/generated/models/ListingCurrencyType.js +0 -7
- package/esm/generated/models/ListingEventType.d.ts +0 -8
- package/esm/generated/models/ListingEventType.js +0 -9
- package/esm/generated/models/ListingResponse.d.ts +0 -19
- package/esm/generated/models/ListingType.d.ts +0 -6
- package/esm/generated/models/ListingType.js +0 -7
- package/esm/generated/models/ListingsSortByOption.d.ts +0 -5
- package/esm/generated/models/ListingsSortByOption.js +0 -6
- package/esm/generated/models/NftCollection.d.ts +0 -24
- package/esm/generated/models/NftCollectionWithMetrics.d.ts +0 -26
- package/esm/generated/models/NftFilterOptionsProperty.d.ts +0 -10
- package/esm/generated/models/NftSearchBody.d.ts +0 -10
- package/esm/generated/models/NftSearchResultTypeOption.d.ts +0 -6
- package/esm/generated/models/NftSearchResultTypeOption.js +0 -7
- package/esm/generated/models/OpenListingEventResponse.d.ts +0 -17
- package/esm/generated/models/OperationTransactionExportMetadata.d.ts +0 -18
- package/esm/generated/models/PChainConsumedUtxo.d.ts +0 -11
- package/esm/generated/models/PChainEmittedUtxo.d.ts +0 -19
- package/esm/generated/models/PaginationParams.d.ts +0 -13
- package/esm/generated/models/PurchaseListingEventResponse.d.ts +0 -17
- package/esm/generated/models/TokenWithPrice.d.ts +0 -28
- package/esm/generated/models/TrendingTimeframe.d.ts +0 -7
- package/esm/generated/models/TrendingTimeframe.js +0 -8
- package/esm/generated/services/EvmService.d.ts +0 -724
- package/esm/generated/services/EvmService.js +0 -509
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
class EvmBalancesService {
|
|
2
|
+
constructor(httpRequest) {
|
|
3
|
+
this.httpRequest = httpRequest;
|
|
4
|
+
}
|
|
5
|
+
getNativeBalance({
|
|
6
|
+
chainId,
|
|
7
|
+
address,
|
|
8
|
+
blockNumber,
|
|
9
|
+
currency
|
|
10
|
+
}) {
|
|
11
|
+
return this.httpRequest.request({
|
|
12
|
+
method: "GET",
|
|
13
|
+
url: "/v1/chains/{chainId}/addresses/{address}/balances:getNative",
|
|
14
|
+
path: {
|
|
15
|
+
"chainId": chainId,
|
|
16
|
+
"address": address
|
|
17
|
+
},
|
|
18
|
+
query: {
|
|
19
|
+
"blockNumber": blockNumber,
|
|
20
|
+
"currency": currency
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
listErc20Balances({
|
|
25
|
+
chainId,
|
|
26
|
+
address,
|
|
27
|
+
blockNumber,
|
|
28
|
+
pageSize = 10,
|
|
29
|
+
pageToken,
|
|
30
|
+
contractAddresses,
|
|
31
|
+
currency
|
|
32
|
+
}) {
|
|
33
|
+
return this.httpRequest.request({
|
|
34
|
+
method: "GET",
|
|
35
|
+
url: "/v1/chains/{chainId}/addresses/{address}/balances:listErc20",
|
|
36
|
+
path: {
|
|
37
|
+
"chainId": chainId,
|
|
38
|
+
"address": address
|
|
39
|
+
},
|
|
40
|
+
query: {
|
|
41
|
+
"blockNumber": blockNumber,
|
|
42
|
+
"pageSize": pageSize,
|
|
43
|
+
"pageToken": pageToken,
|
|
44
|
+
"contractAddresses": contractAddresses,
|
|
45
|
+
"currency": currency
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
listErc721Balances({
|
|
50
|
+
chainId,
|
|
51
|
+
address,
|
|
52
|
+
pageSize = 10,
|
|
53
|
+
pageToken,
|
|
54
|
+
contractAddress
|
|
55
|
+
}) {
|
|
56
|
+
return this.httpRequest.request({
|
|
57
|
+
method: "GET",
|
|
58
|
+
url: "/v1/chains/{chainId}/addresses/{address}/balances:listErc721",
|
|
59
|
+
path: {
|
|
60
|
+
"chainId": chainId,
|
|
61
|
+
"address": address
|
|
62
|
+
},
|
|
63
|
+
query: {
|
|
64
|
+
"pageSize": pageSize,
|
|
65
|
+
"pageToken": pageToken,
|
|
66
|
+
"contractAddress": contractAddress
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
listErc1155Balances({
|
|
71
|
+
chainId,
|
|
72
|
+
address,
|
|
73
|
+
blockNumber,
|
|
74
|
+
pageSize = 10,
|
|
75
|
+
pageToken,
|
|
76
|
+
contractAddress
|
|
77
|
+
}) {
|
|
78
|
+
return this.httpRequest.request({
|
|
79
|
+
method: "GET",
|
|
80
|
+
url: "/v1/chains/{chainId}/addresses/{address}/balances:listErc1155",
|
|
81
|
+
path: {
|
|
82
|
+
"chainId": chainId,
|
|
83
|
+
"address": address
|
|
84
|
+
},
|
|
85
|
+
query: {
|
|
86
|
+
"blockNumber": blockNumber,
|
|
87
|
+
"pageSize": pageSize,
|
|
88
|
+
"pageToken": pageToken,
|
|
89
|
+
"contractAddress": contractAddress
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
listCollectibleBalances({
|
|
94
|
+
chainId,
|
|
95
|
+
address,
|
|
96
|
+
pageSize = 10,
|
|
97
|
+
pageToken,
|
|
98
|
+
contractAddress
|
|
99
|
+
}) {
|
|
100
|
+
return this.httpRequest.request({
|
|
101
|
+
method: "GET",
|
|
102
|
+
url: "/v1/chains/{chainId}/addresses/{address}/balances:listCollectibles",
|
|
103
|
+
path: {
|
|
104
|
+
"chainId": chainId,
|
|
105
|
+
"address": address
|
|
106
|
+
},
|
|
107
|
+
query: {
|
|
108
|
+
"pageSize": pageSize,
|
|
109
|
+
"pageToken": pageToken,
|
|
110
|
+
"contractAddress": contractAddress
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export { EvmBalancesService };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { GetEvmBlockResponse } from '../models/GetEvmBlockResponse.js';
|
|
2
|
+
import { ListEvmBlocksResponse } from '../models/ListEvmBlocksResponse.js';
|
|
3
|
+
import { CancelablePromise } from '../core/CancelablePromise.js';
|
|
4
|
+
import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
|
|
5
|
+
|
|
6
|
+
declare class EvmBlocksService {
|
|
7
|
+
readonly httpRequest: BaseHttpRequest;
|
|
8
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
9
|
+
/**
|
|
10
|
+
* List latest blocks
|
|
11
|
+
* Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
|
|
12
|
+
* @returns ListEvmBlocksResponse
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
getLatestBlocks({ chainId, pageSize, pageToken, }: {
|
|
16
|
+
/**
|
|
17
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
18
|
+
*/
|
|
19
|
+
chainId: string;
|
|
20
|
+
/**
|
|
21
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
22
|
+
*/
|
|
23
|
+
pageSize?: number;
|
|
24
|
+
/**
|
|
25
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
26
|
+
*/
|
|
27
|
+
pageToken?: string;
|
|
28
|
+
}): CancelablePromise<ListEvmBlocksResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Get block
|
|
31
|
+
* Gets the details of an individual block on the EVM-compatible chain.
|
|
32
|
+
* @returns GetEvmBlockResponse
|
|
33
|
+
* @throws ApiError
|
|
34
|
+
*/
|
|
35
|
+
getBlock({ chainId, blockId, }: {
|
|
36
|
+
/**
|
|
37
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
38
|
+
*/
|
|
39
|
+
chainId: string;
|
|
40
|
+
/**
|
|
41
|
+
* A block identifier which is either a block number or the block hash.
|
|
42
|
+
*/
|
|
43
|
+
blockId: string;
|
|
44
|
+
}): CancelablePromise<GetEvmBlockResponse>;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { EvmBlocksService };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
class EvmBlocksService {
|
|
2
|
+
constructor(httpRequest) {
|
|
3
|
+
this.httpRequest = httpRequest;
|
|
4
|
+
}
|
|
5
|
+
getLatestBlocks({
|
|
6
|
+
chainId,
|
|
7
|
+
pageSize = 10,
|
|
8
|
+
pageToken
|
|
9
|
+
}) {
|
|
10
|
+
return this.httpRequest.request({
|
|
11
|
+
method: "GET",
|
|
12
|
+
url: "/v1/chains/{chainId}/blocks",
|
|
13
|
+
path: {
|
|
14
|
+
"chainId": chainId
|
|
15
|
+
},
|
|
16
|
+
query: {
|
|
17
|
+
"pageSize": pageSize,
|
|
18
|
+
"pageToken": pageToken
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
getBlock({
|
|
23
|
+
chainId,
|
|
24
|
+
blockId
|
|
25
|
+
}) {
|
|
26
|
+
return this.httpRequest.request({
|
|
27
|
+
method: "GET",
|
|
28
|
+
url: "/v1/chains/{chainId}/blocks/{blockId}",
|
|
29
|
+
path: {
|
|
30
|
+
"chainId": chainId,
|
|
31
|
+
"blockId": blockId
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { EvmBlocksService };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { GetChainResponse } from '../models/GetChainResponse.js';
|
|
2
|
+
import { ListChainsResponse } from '../models/ListChainsResponse.js';
|
|
3
|
+
import { NetworkType } from '../models/NetworkType.js';
|
|
4
|
+
import { CancelablePromise } from '../core/CancelablePromise.js';
|
|
5
|
+
import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
|
|
6
|
+
|
|
7
|
+
declare class EvmChainsService {
|
|
8
|
+
readonly httpRequest: BaseHttpRequest;
|
|
9
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
10
|
+
/**
|
|
11
|
+
* List chains
|
|
12
|
+
* Lists the supported EVM-compatible chains. Filterable by network.
|
|
13
|
+
* @returns ListChainsResponse
|
|
14
|
+
* @throws ApiError
|
|
15
|
+
*/
|
|
16
|
+
supportedChains({ network, }: {
|
|
17
|
+
/**
|
|
18
|
+
* mainnet or testnet.
|
|
19
|
+
*/
|
|
20
|
+
network?: NetworkType;
|
|
21
|
+
}): CancelablePromise<ListChainsResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Get chain information
|
|
24
|
+
* Gets chain information for the EVM-compatible chain if supported by the api.
|
|
25
|
+
* @returns GetChainResponse
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
getChainInfo({ chainId, }: {
|
|
29
|
+
/**
|
|
30
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
31
|
+
*/
|
|
32
|
+
chainId: string;
|
|
33
|
+
}): CancelablePromise<GetChainResponse>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { EvmChainsService };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
class EvmChainsService {
|
|
2
|
+
constructor(httpRequest) {
|
|
3
|
+
this.httpRequest = httpRequest;
|
|
4
|
+
}
|
|
5
|
+
supportedChains({
|
|
6
|
+
network
|
|
7
|
+
}) {
|
|
8
|
+
return this.httpRequest.request({
|
|
9
|
+
method: "GET",
|
|
10
|
+
url: "/v1/chains",
|
|
11
|
+
query: {
|
|
12
|
+
"network": network
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
getChainInfo({
|
|
17
|
+
chainId
|
|
18
|
+
}) {
|
|
19
|
+
return this.httpRequest.request({
|
|
20
|
+
method: "GET",
|
|
21
|
+
url: "/v1/chains/{chainId}",
|
|
22
|
+
path: {
|
|
23
|
+
"chainId": chainId
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { EvmChainsService };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ContractSubmissionBody } from '../models/ContractSubmissionBody.js';
|
|
2
|
+
import { Erc1155Contract } from '../models/Erc1155Contract.js';
|
|
3
|
+
import { Erc20Contract } from '../models/Erc20Contract.js';
|
|
4
|
+
import { Erc721Contract } from '../models/Erc721Contract.js';
|
|
5
|
+
import { UnknownContract } from '../models/UnknownContract.js';
|
|
6
|
+
import { UpdateContractResponse } from '../models/UpdateContractResponse.js';
|
|
7
|
+
import { CancelablePromise } from '../core/CancelablePromise.js';
|
|
8
|
+
import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
|
|
9
|
+
|
|
10
|
+
declare class EvmContractsService {
|
|
11
|
+
readonly httpRequest: BaseHttpRequest;
|
|
12
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
13
|
+
/**
|
|
14
|
+
* Get contract metadata
|
|
15
|
+
* Gets metadata about the contract at the given address.
|
|
16
|
+
* @returns any
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
getContractMetadata({ chainId, address, }: {
|
|
20
|
+
/**
|
|
21
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
22
|
+
*/
|
|
23
|
+
chainId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Contract address on the relevant chain.
|
|
26
|
+
*/
|
|
27
|
+
address: string;
|
|
28
|
+
}): CancelablePromise<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
|
|
29
|
+
/**
|
|
30
|
+
* Update contract information
|
|
31
|
+
* Update contract information. Updates will be reviewed by the Ava Labs team before they are published.
|
|
32
|
+
* @returns UpdateContractResponse
|
|
33
|
+
* @throws ApiError
|
|
34
|
+
*/
|
|
35
|
+
updateContractInfo({ chainId, address, requestBody, }: {
|
|
36
|
+
/**
|
|
37
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
38
|
+
*/
|
|
39
|
+
chainId: string;
|
|
40
|
+
/**
|
|
41
|
+
* Contract address on the relevant chain.
|
|
42
|
+
*/
|
|
43
|
+
address: string;
|
|
44
|
+
requestBody: ContractSubmissionBody;
|
|
45
|
+
}): CancelablePromise<UpdateContractResponse>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { EvmContractsService };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
class EvmContractsService {
|
|
2
|
+
constructor(httpRequest) {
|
|
3
|
+
this.httpRequest = httpRequest;
|
|
4
|
+
}
|
|
5
|
+
getContractMetadata({
|
|
6
|
+
chainId,
|
|
7
|
+
address
|
|
8
|
+
}) {
|
|
9
|
+
return this.httpRequest.request({
|
|
10
|
+
method: "GET",
|
|
11
|
+
url: "/v1/chains/{chainId}/addresses/{address}",
|
|
12
|
+
path: {
|
|
13
|
+
"chainId": chainId,
|
|
14
|
+
"address": address
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
updateContractInfo({
|
|
19
|
+
chainId,
|
|
20
|
+
address,
|
|
21
|
+
requestBody
|
|
22
|
+
}) {
|
|
23
|
+
return this.httpRequest.request({
|
|
24
|
+
method: "PATCH",
|
|
25
|
+
url: "/v1/chains/{chainId}/contracts/{address}",
|
|
26
|
+
path: {
|
|
27
|
+
"chainId": chainId,
|
|
28
|
+
"address": address
|
|
29
|
+
},
|
|
30
|
+
body: requestBody,
|
|
31
|
+
mediaType: "application/json"
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { EvmContractsService };
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
import { CurrencyCode } from '../models/CurrencyCode.js';
|
|
2
|
+
import { GetTransactionResponse } from '../models/GetTransactionResponse.js';
|
|
3
|
+
import { ListContractsResponse } from '../models/ListContractsResponse.js';
|
|
4
|
+
import { ListErc1155TransactionsResponse } from '../models/ListErc1155TransactionsResponse.js';
|
|
5
|
+
import { ListErc20TransactionsResponse } from '../models/ListErc20TransactionsResponse.js';
|
|
6
|
+
import { ListErc721TransactionsResponse } from '../models/ListErc721TransactionsResponse.js';
|
|
7
|
+
import { ListInternalTransactionsResponse } from '../models/ListInternalTransactionsResponse.js';
|
|
8
|
+
import { ListNativeTransactionsResponse } from '../models/ListNativeTransactionsResponse.js';
|
|
9
|
+
import { ListTransactionDetailsResponse } from '../models/ListTransactionDetailsResponse.js';
|
|
10
|
+
import { ListTransfersResponse } from '../models/ListTransfersResponse.js';
|
|
11
|
+
import { SortOrder } from '../models/SortOrder.js';
|
|
12
|
+
import { TransactionStatus } from '../models/TransactionStatus.js';
|
|
13
|
+
import { CancelablePromise } from '../core/CancelablePromise.js';
|
|
14
|
+
import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
|
|
15
|
+
|
|
16
|
+
declare class EvmTransactionsService {
|
|
17
|
+
readonly httpRequest: BaseHttpRequest;
|
|
18
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
19
|
+
/**
|
|
20
|
+
* Get deployment transaction
|
|
21
|
+
* If the address is a smart contract, returns the transaction in which it was deployed.
|
|
22
|
+
* @returns GetTransactionResponse
|
|
23
|
+
* @throws ApiError
|
|
24
|
+
*/
|
|
25
|
+
getDeploymentTransaction({ chainId, address, currency, }: {
|
|
26
|
+
/**
|
|
27
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
28
|
+
*/
|
|
29
|
+
chainId: string;
|
|
30
|
+
/**
|
|
31
|
+
* Contract address on the relevant chain.
|
|
32
|
+
*/
|
|
33
|
+
address: string;
|
|
34
|
+
/**
|
|
35
|
+
* The currency that return values should use. Defaults to USD.
|
|
36
|
+
*/
|
|
37
|
+
currency?: CurrencyCode;
|
|
38
|
+
}): CancelablePromise<GetTransactionResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* List deployed contracts
|
|
41
|
+
* Lists all contracts deployed by the given address.
|
|
42
|
+
* @returns ListContractsResponse
|
|
43
|
+
* @throws ApiError
|
|
44
|
+
*/
|
|
45
|
+
listContractDeployments({ chainId, address, pageSize, pageToken, }: {
|
|
46
|
+
/**
|
|
47
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
48
|
+
*/
|
|
49
|
+
chainId: string;
|
|
50
|
+
/**
|
|
51
|
+
* A wallet address.
|
|
52
|
+
*/
|
|
53
|
+
address: string;
|
|
54
|
+
/**
|
|
55
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
56
|
+
*/
|
|
57
|
+
pageSize?: number;
|
|
58
|
+
/**
|
|
59
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
60
|
+
*/
|
|
61
|
+
pageToken?: string;
|
|
62
|
+
}): CancelablePromise<ListContractsResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* List ERC transfers
|
|
65
|
+
* Lists ERC transfers for an ERC-20, ERC-721, or ERC-1155 contract address.
|
|
66
|
+
* @returns ListTransfersResponse
|
|
67
|
+
* @throws ApiError
|
|
68
|
+
*/
|
|
69
|
+
listTransfers({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
|
|
70
|
+
/**
|
|
71
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
72
|
+
*/
|
|
73
|
+
chainId: string;
|
|
74
|
+
/**
|
|
75
|
+
* A wallet address.
|
|
76
|
+
*/
|
|
77
|
+
address: string;
|
|
78
|
+
startBlock?: number;
|
|
79
|
+
endBlock?: number;
|
|
80
|
+
/**
|
|
81
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
82
|
+
*/
|
|
83
|
+
pageSize?: number;
|
|
84
|
+
/**
|
|
85
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
86
|
+
*/
|
|
87
|
+
pageToken?: string;
|
|
88
|
+
}): CancelablePromise<ListTransfersResponse>;
|
|
89
|
+
/**
|
|
90
|
+
* List transactions
|
|
91
|
+
* Returns a list of transactions where the given wallet address had an on-chain interaction for the given chain. The ERC-20 transfers, ERC-721 transfers, ERC-1155, and internal transactions returned are only those where the input address had an interaction. Specifically, those lists only inlcude entries where the input address was the sender (`from` field) or the receiver (`to` field) for the sub-transaction. Therefore the transactions returned from this list may not be complete representations of the on-chain data. For a complete view of a transaction use the `/chains/:chainId/transactions/:txHash` endpoint.
|
|
92
|
+
*
|
|
93
|
+
* Filterable by block ranges.
|
|
94
|
+
* @returns ListTransactionDetailsResponse
|
|
95
|
+
* @throws ApiError
|
|
96
|
+
*/
|
|
97
|
+
listTransactions({ chainId, address, pageSize, pageToken, startBlock, endBlock, sortOrder, }: {
|
|
98
|
+
/**
|
|
99
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
100
|
+
*/
|
|
101
|
+
chainId: string;
|
|
102
|
+
/**
|
|
103
|
+
* A wallet address.
|
|
104
|
+
*/
|
|
105
|
+
address: string;
|
|
106
|
+
/**
|
|
107
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
108
|
+
*/
|
|
109
|
+
pageSize?: number;
|
|
110
|
+
/**
|
|
111
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
112
|
+
*/
|
|
113
|
+
pageToken?: string;
|
|
114
|
+
startBlock?: number;
|
|
115
|
+
endBlock?: number;
|
|
116
|
+
/**
|
|
117
|
+
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
118
|
+
*/
|
|
119
|
+
sortOrder?: SortOrder;
|
|
120
|
+
}): CancelablePromise<ListTransactionDetailsResponse>;
|
|
121
|
+
/**
|
|
122
|
+
* List native transactions
|
|
123
|
+
* Lists native transactions for an address. Filterable by block range.
|
|
124
|
+
* @returns ListNativeTransactionsResponse
|
|
125
|
+
* @throws ApiError
|
|
126
|
+
*/
|
|
127
|
+
listNativeTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
|
|
128
|
+
/**
|
|
129
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
130
|
+
*/
|
|
131
|
+
chainId: string;
|
|
132
|
+
/**
|
|
133
|
+
* A wallet address.
|
|
134
|
+
*/
|
|
135
|
+
address: string;
|
|
136
|
+
startBlock?: number;
|
|
137
|
+
endBlock?: number;
|
|
138
|
+
/**
|
|
139
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
140
|
+
*/
|
|
141
|
+
pageSize?: number;
|
|
142
|
+
/**
|
|
143
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
144
|
+
*/
|
|
145
|
+
pageToken?: string;
|
|
146
|
+
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
147
|
+
/**
|
|
148
|
+
* List ERC-20 transfers
|
|
149
|
+
* Lists ERC-20 transfers for an address. Filterable by block range.
|
|
150
|
+
* @returns ListErc20TransactionsResponse
|
|
151
|
+
* @throws ApiError
|
|
152
|
+
*/
|
|
153
|
+
listErc20Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
|
|
154
|
+
/**
|
|
155
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
156
|
+
*/
|
|
157
|
+
chainId: string;
|
|
158
|
+
/**
|
|
159
|
+
* A wallet address.
|
|
160
|
+
*/
|
|
161
|
+
address: string;
|
|
162
|
+
startBlock?: number;
|
|
163
|
+
endBlock?: number;
|
|
164
|
+
/**
|
|
165
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
166
|
+
*/
|
|
167
|
+
pageSize?: number;
|
|
168
|
+
/**
|
|
169
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
170
|
+
*/
|
|
171
|
+
pageToken?: string;
|
|
172
|
+
}): CancelablePromise<ListErc20TransactionsResponse>;
|
|
173
|
+
/**
|
|
174
|
+
* List ERC-721 transfers
|
|
175
|
+
* Lists ERC-721 transfers for an address. Filterable by block range.
|
|
176
|
+
* @returns ListErc721TransactionsResponse
|
|
177
|
+
* @throws ApiError
|
|
178
|
+
*/
|
|
179
|
+
listErc721Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
|
|
180
|
+
/**
|
|
181
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
182
|
+
*/
|
|
183
|
+
chainId: string;
|
|
184
|
+
/**
|
|
185
|
+
* A wallet address.
|
|
186
|
+
*/
|
|
187
|
+
address: string;
|
|
188
|
+
startBlock?: number;
|
|
189
|
+
endBlock?: number;
|
|
190
|
+
/**
|
|
191
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
192
|
+
*/
|
|
193
|
+
pageSize?: number;
|
|
194
|
+
/**
|
|
195
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
196
|
+
*/
|
|
197
|
+
pageToken?: string;
|
|
198
|
+
}): CancelablePromise<ListErc721TransactionsResponse>;
|
|
199
|
+
/**
|
|
200
|
+
* List ERC-1155 transfers
|
|
201
|
+
* Lists ERC-1155 transfers for an address. Filterable by block range.
|
|
202
|
+
* @returns ListErc1155TransactionsResponse
|
|
203
|
+
* @throws ApiError
|
|
204
|
+
*/
|
|
205
|
+
listErc1155Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
|
|
206
|
+
/**
|
|
207
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
208
|
+
*/
|
|
209
|
+
chainId: string;
|
|
210
|
+
/**
|
|
211
|
+
* A wallet address.
|
|
212
|
+
*/
|
|
213
|
+
address: string;
|
|
214
|
+
startBlock?: number;
|
|
215
|
+
endBlock?: number;
|
|
216
|
+
/**
|
|
217
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
218
|
+
*/
|
|
219
|
+
pageSize?: number;
|
|
220
|
+
/**
|
|
221
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
222
|
+
*/
|
|
223
|
+
pageToken?: string;
|
|
224
|
+
}): CancelablePromise<ListErc1155TransactionsResponse>;
|
|
225
|
+
/**
|
|
226
|
+
* List internal transactions
|
|
227
|
+
* Returns a list of internal transactions for an address and chain. Filterable by block range.
|
|
228
|
+
*
|
|
229
|
+
* 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.
|
|
230
|
+
* @returns ListInternalTransactionsResponse
|
|
231
|
+
* @throws ApiError
|
|
232
|
+
*/
|
|
233
|
+
listInternalTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
|
|
234
|
+
/**
|
|
235
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
236
|
+
*/
|
|
237
|
+
chainId: string;
|
|
238
|
+
/**
|
|
239
|
+
* A wallet address.
|
|
240
|
+
*/
|
|
241
|
+
address: string;
|
|
242
|
+
startBlock?: number;
|
|
243
|
+
endBlock?: number;
|
|
244
|
+
/**
|
|
245
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
246
|
+
*/
|
|
247
|
+
pageSize?: number;
|
|
248
|
+
/**
|
|
249
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
250
|
+
*/
|
|
251
|
+
pageToken?: string;
|
|
252
|
+
}): CancelablePromise<ListInternalTransactionsResponse>;
|
|
253
|
+
/**
|
|
254
|
+
* Get transaction
|
|
255
|
+
* Gets the details of a single transaction.
|
|
256
|
+
* @returns GetTransactionResponse
|
|
257
|
+
* @throws ApiError
|
|
258
|
+
*/
|
|
259
|
+
getTransaction({ chainId, txHash, }: {
|
|
260
|
+
/**
|
|
261
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
262
|
+
*/
|
|
263
|
+
chainId: string;
|
|
264
|
+
/**
|
|
265
|
+
* A transaction hash.
|
|
266
|
+
*/
|
|
267
|
+
txHash: string;
|
|
268
|
+
}): CancelablePromise<GetTransactionResponse>;
|
|
269
|
+
/**
|
|
270
|
+
* List transactions for a block
|
|
271
|
+
* Lists the transactions that occured in a given block.
|
|
272
|
+
* @returns ListNativeTransactionsResponse
|
|
273
|
+
* @throws ApiError
|
|
274
|
+
*/
|
|
275
|
+
getTransactionsForBlock({ chainId, blockId, }: {
|
|
276
|
+
/**
|
|
277
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
278
|
+
*/
|
|
279
|
+
chainId: string;
|
|
280
|
+
/**
|
|
281
|
+
* A block identifier which is either a block number or the block hash.
|
|
282
|
+
*/
|
|
283
|
+
blockId: string;
|
|
284
|
+
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
285
|
+
/**
|
|
286
|
+
* List latest transactions
|
|
287
|
+
* Lists the latest transactions. Filterable by status.
|
|
288
|
+
* @returns ListNativeTransactionsResponse
|
|
289
|
+
* @throws ApiError
|
|
290
|
+
*/
|
|
291
|
+
listLatestTransactions({ chainId, pageSize, pageToken, status, }: {
|
|
292
|
+
/**
|
|
293
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
294
|
+
*/
|
|
295
|
+
chainId: string;
|
|
296
|
+
/**
|
|
297
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
298
|
+
*/
|
|
299
|
+
pageSize?: number;
|
|
300
|
+
/**
|
|
301
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
302
|
+
*/
|
|
303
|
+
pageToken?: string;
|
|
304
|
+
/**
|
|
305
|
+
* A status filter for listed transactions.
|
|
306
|
+
*/
|
|
307
|
+
status?: TransactionStatus;
|
|
308
|
+
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export { EvmTransactionsService };
|