@avalabs/glacier-sdk 3.1.0-canary.b1108b2.0 → 3.1.0-canary.c57360e.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 +248 -97
- package/dist/index.js +1 -1
- package/esm/generated/Glacier.d.ts +2 -0
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/models/BlockchainId.d.ts +2 -0
- package/esm/generated/models/BlockchainId.js +1 -1
- package/esm/generated/models/BlockchainIds.d.ts +3 -1
- package/esm/generated/models/BlockchainIds.js +1 -1
- package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +4 -4
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +4 -4
- package/esm/generated/models/Network.d.ts +3 -1
- package/esm/generated/models/Network.js +1 -1
- package/esm/generated/models/PrimaryNetwork.d.ts +2 -1
- package/esm/generated/models/PrimaryNetwork.js +1 -1
- package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
- package/esm/generated/models/RpcMetrics.d.ts +14 -0
- package/esm/generated/models/RpcUsageMetricsResponseDTO.d.ts +18 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +47 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -0
- package/esm/generated/models/SignatureAggregationResponse.d.ts +5 -0
- package/esm/generated/models/SignatureAggregatorRequest.d.ts +14 -0
- package/esm/generated/models/XChainId.d.ts +1 -0
- package/esm/generated/models/XChainId.js +1 -1
- package/esm/generated/services/DataApiUsageMetricsService.d.ts +63 -18
- package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
- package/esm/generated/services/EvmBalancesService.d.ts +5 -5
- package/esm/generated/services/EvmBlocksService.d.ts +2 -2
- package/esm/generated/services/EvmChainsService.d.ts +4 -4
- package/esm/generated/services/EvmContractsService.d.ts +2 -2
- package/esm/generated/services/EvmTransactionsService.d.ts +12 -12
- package/esm/generated/services/NfTsService.d.ts +3 -3
- package/esm/generated/services/PrimaryNetworkBalancesService.d.ts +1 -1
- package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +3 -3
- package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +2 -2
- package/esm/generated/services/PrimaryNetworkService.d.ts +9 -9
- package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +9 -9
- package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
- package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +1 -1
- package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +3 -3
- package/esm/generated/services/RpcService.d.ts +1 -1
- package/esm/generated/services/SignatureAggregatorService.d.ts +20 -0
- package/esm/generated/services/SignatureAggregatorService.js +1 -0
- package/esm/generated/services/TeleporterService.d.ts +5 -5
- package/esm/index.d.ts +6 -1
- package/esm/index.js +1 -1
- package/package.json +2 -2
- package/esm/generated/models/NetworkType.d.ts +0 -6
- package/esm/generated/models/NetworkType.js +0 -1
|
@@ -24,7 +24,7 @@ declare class EvmTransactionsService {
|
|
|
24
24
|
*/
|
|
25
25
|
getDeploymentTransaction({ chainId, address, currency, }: {
|
|
26
26
|
/**
|
|
27
|
-
* A supported evm chain id
|
|
27
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
28
28
|
*/
|
|
29
29
|
chainId: string;
|
|
30
30
|
/**
|
|
@@ -44,7 +44,7 @@ declare class EvmTransactionsService {
|
|
|
44
44
|
*/
|
|
45
45
|
listContractDeployments({ chainId, address, pageToken, pageSize, }: {
|
|
46
46
|
/**
|
|
47
|
-
* A supported evm chain id
|
|
47
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
48
48
|
*/
|
|
49
49
|
chainId: string;
|
|
50
50
|
/**
|
|
@@ -68,7 +68,7 @@ declare class EvmTransactionsService {
|
|
|
68
68
|
*/
|
|
69
69
|
listTransfers({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
70
70
|
/**
|
|
71
|
-
* A supported evm chain id
|
|
71
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
72
72
|
*/
|
|
73
73
|
chainId: string;
|
|
74
74
|
/**
|
|
@@ -102,7 +102,7 @@ declare class EvmTransactionsService {
|
|
|
102
102
|
*/
|
|
103
103
|
listTransactions({ chainId, address, pageToken, pageSize, startBlock, endBlock, sortOrder, }: {
|
|
104
104
|
/**
|
|
105
|
-
* A supported evm chain id
|
|
105
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
106
106
|
*/
|
|
107
107
|
chainId: string;
|
|
108
108
|
/**
|
|
@@ -138,7 +138,7 @@ declare class EvmTransactionsService {
|
|
|
138
138
|
*/
|
|
139
139
|
listNativeTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
140
140
|
/**
|
|
141
|
-
* A supported evm chain id
|
|
141
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
142
142
|
*/
|
|
143
143
|
chainId: string;
|
|
144
144
|
/**
|
|
@@ -170,7 +170,7 @@ declare class EvmTransactionsService {
|
|
|
170
170
|
*/
|
|
171
171
|
listErc20Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
172
172
|
/**
|
|
173
|
-
* A supported evm chain id
|
|
173
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
174
174
|
*/
|
|
175
175
|
chainId: string;
|
|
176
176
|
/**
|
|
@@ -202,7 +202,7 @@ declare class EvmTransactionsService {
|
|
|
202
202
|
*/
|
|
203
203
|
listErc721Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
204
204
|
/**
|
|
205
|
-
* A supported evm chain id
|
|
205
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
206
206
|
*/
|
|
207
207
|
chainId: string;
|
|
208
208
|
/**
|
|
@@ -234,7 +234,7 @@ declare class EvmTransactionsService {
|
|
|
234
234
|
*/
|
|
235
235
|
listErc1155Transactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
236
236
|
/**
|
|
237
|
-
* A supported evm chain id
|
|
237
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
238
238
|
*/
|
|
239
239
|
chainId: string;
|
|
240
240
|
/**
|
|
@@ -268,7 +268,7 @@ declare class EvmTransactionsService {
|
|
|
268
268
|
*/
|
|
269
269
|
listInternalTransactions({ chainId, address, startBlock, endBlock, pageToken, pageSize, }: {
|
|
270
270
|
/**
|
|
271
|
-
* A supported evm chain id
|
|
271
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
272
272
|
*/
|
|
273
273
|
chainId: string;
|
|
274
274
|
/**
|
|
@@ -300,7 +300,7 @@ declare class EvmTransactionsService {
|
|
|
300
300
|
*/
|
|
301
301
|
getTransaction({ chainId, txHash, }: {
|
|
302
302
|
/**
|
|
303
|
-
* A supported evm chain id
|
|
303
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
304
304
|
*/
|
|
305
305
|
chainId: string;
|
|
306
306
|
/**
|
|
@@ -316,7 +316,7 @@ declare class EvmTransactionsService {
|
|
|
316
316
|
*/
|
|
317
317
|
getTransactionsForBlock({ chainId, blockId, }: {
|
|
318
318
|
/**
|
|
319
|
-
* A supported evm chain id
|
|
319
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
320
320
|
*/
|
|
321
321
|
chainId: string;
|
|
322
322
|
/**
|
|
@@ -332,7 +332,7 @@ declare class EvmTransactionsService {
|
|
|
332
332
|
*/
|
|
333
333
|
listLatestTransactions({ chainId, pageToken, pageSize, status, }: {
|
|
334
334
|
/**
|
|
335
|
-
* A supported evm chain id
|
|
335
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
336
336
|
*/
|
|
337
337
|
chainId: string;
|
|
338
338
|
/**
|
|
@@ -15,7 +15,7 @@ declare class NfTsService {
|
|
|
15
15
|
*/
|
|
16
16
|
reindexNft({ chainId, address, tokenId, }: {
|
|
17
17
|
/**
|
|
18
|
-
* A supported evm chain id
|
|
18
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
19
19
|
*/
|
|
20
20
|
chainId: string;
|
|
21
21
|
/**
|
|
@@ -35,7 +35,7 @@ declare class NfTsService {
|
|
|
35
35
|
*/
|
|
36
36
|
listTokens({ chainId, address, pageToken, pageSize, }: {
|
|
37
37
|
/**
|
|
38
|
-
* A supported evm chain id
|
|
38
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
39
39
|
*/
|
|
40
40
|
chainId: string;
|
|
41
41
|
/**
|
|
@@ -59,7 +59,7 @@ declare class NfTsService {
|
|
|
59
59
|
*/
|
|
60
60
|
getTokenDetails({ chainId, address, tokenId, }: {
|
|
61
61
|
/**
|
|
62
|
-
* A supported evm chain id
|
|
62
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
63
63
|
*/
|
|
64
64
|
chainId: string;
|
|
65
65
|
/**
|
|
@@ -20,7 +20,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
20
20
|
*/
|
|
21
21
|
blockchainId: BlockchainId;
|
|
22
22
|
/**
|
|
23
|
-
* Either mainnet or
|
|
23
|
+
* Either mainnet or testnet/fuji.
|
|
24
24
|
*/
|
|
25
25
|
network: Network;
|
|
26
26
|
/**
|
|
@@ -40,7 +40,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
40
40
|
*/
|
|
41
41
|
blockchainId: BlockchainId;
|
|
42
42
|
/**
|
|
43
|
-
* Either mainnet or
|
|
43
|
+
* Either mainnet or testnet/fuji.
|
|
44
44
|
*/
|
|
45
45
|
network: Network;
|
|
46
46
|
/**
|
|
@@ -68,7 +68,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
68
68
|
*/
|
|
69
69
|
blockchainId: BlockchainId;
|
|
70
70
|
/**
|
|
71
|
-
* Either mainnet or
|
|
71
|
+
* Either mainnet or testnet/fuji.
|
|
72
72
|
*/
|
|
73
73
|
network: Network;
|
|
74
74
|
/**
|
|
@@ -17,7 +17,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
17
17
|
*/
|
|
18
18
|
listPendingPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, }: {
|
|
19
19
|
/**
|
|
20
|
-
* Either mainnet or
|
|
20
|
+
* Either mainnet or testnet/fuji.
|
|
21
21
|
*/
|
|
22
22
|
network: Network;
|
|
23
23
|
/**
|
|
@@ -49,7 +49,7 @@ declare class PrimaryNetworkRewardsService {
|
|
|
49
49
|
*/
|
|
50
50
|
listHistoricalPrimaryNetworkRewards({ network, addresses, pageToken, pageSize, nodeIds, sortOrder, currency, }: {
|
|
51
51
|
/**
|
|
52
|
-
* Either mainnet or
|
|
52
|
+
* Either mainnet or testnet/fuji.
|
|
53
53
|
*/
|
|
54
54
|
network: Network;
|
|
55
55
|
/**
|
|
@@ -30,7 +30,7 @@ declare class PrimaryNetworkService {
|
|
|
30
30
|
*/
|
|
31
31
|
blockchainId: XChainId;
|
|
32
32
|
/**
|
|
33
|
-
* Either mainnet or
|
|
33
|
+
* Either mainnet or testnet/fuji.
|
|
34
34
|
*/
|
|
35
35
|
network: Network;
|
|
36
36
|
/**
|
|
@@ -50,7 +50,7 @@ declare class PrimaryNetworkService {
|
|
|
50
50
|
*/
|
|
51
51
|
addresses: string;
|
|
52
52
|
/**
|
|
53
|
-
* Either mainnet or
|
|
53
|
+
* Either mainnet or testnet/fuji.
|
|
54
54
|
*/
|
|
55
55
|
network: Network;
|
|
56
56
|
}): CancelablePromise<ChainAddressChainIdMapListResponse>;
|
|
@@ -62,7 +62,7 @@ declare class PrimaryNetworkService {
|
|
|
62
62
|
*/
|
|
63
63
|
getNetworkDetails({ network, }: {
|
|
64
64
|
/**
|
|
65
|
-
* Either mainnet or
|
|
65
|
+
* Either mainnet or testnet/fuji.
|
|
66
66
|
*/
|
|
67
67
|
network: Network;
|
|
68
68
|
}): CancelablePromise<GetNetworkDetailsResponse>;
|
|
@@ -74,7 +74,7 @@ declare class PrimaryNetworkService {
|
|
|
74
74
|
*/
|
|
75
75
|
listBlockchains({ network, pageToken, pageSize, sortOrder, }: {
|
|
76
76
|
/**
|
|
77
|
-
* Either mainnet or
|
|
77
|
+
* Either mainnet or testnet/fuji.
|
|
78
78
|
*/
|
|
79
79
|
network: Network;
|
|
80
80
|
/**
|
|
@@ -98,7 +98,7 @@ declare class PrimaryNetworkService {
|
|
|
98
98
|
*/
|
|
99
99
|
listSubnets({ network, pageToken, pageSize, sortOrder, }: {
|
|
100
100
|
/**
|
|
101
|
-
* Either mainnet or
|
|
101
|
+
* Either mainnet or testnet/fuji.
|
|
102
102
|
*/
|
|
103
103
|
network: Network;
|
|
104
104
|
/**
|
|
@@ -122,7 +122,7 @@ declare class PrimaryNetworkService {
|
|
|
122
122
|
*/
|
|
123
123
|
getSubnetById({ network, subnetId, }: {
|
|
124
124
|
/**
|
|
125
|
-
* Either mainnet or
|
|
125
|
+
* Either mainnet or testnet/fuji.
|
|
126
126
|
*/
|
|
127
127
|
network: Network;
|
|
128
128
|
/**
|
|
@@ -138,7 +138,7 @@ declare class PrimaryNetworkService {
|
|
|
138
138
|
*/
|
|
139
139
|
listValidators({ network, pageToken, pageSize, nodeIds, sortBy, sortOrder, validationStatus, minDelegationCapacity, maxDelegationCapacity, minTimeRemaining, maxTimeRemaining, minFeePercentage, maxFeePercentage, minUptimePerformance, maxUptimePerformance, subnetId, }: {
|
|
140
140
|
/**
|
|
141
|
-
* Either mainnet or
|
|
141
|
+
* Either mainnet or testnet/fuji.
|
|
142
142
|
*/
|
|
143
143
|
network: Network;
|
|
144
144
|
/**
|
|
@@ -212,7 +212,7 @@ declare class PrimaryNetworkService {
|
|
|
212
212
|
*/
|
|
213
213
|
getSingleValidatorDetails({ network, nodeId, pageToken, pageSize, validationStatus, sortOrder, }: {
|
|
214
214
|
/**
|
|
215
|
-
* Either mainnet or
|
|
215
|
+
* Either mainnet or testnet/fuji.
|
|
216
216
|
*/
|
|
217
217
|
network: Network;
|
|
218
218
|
/**
|
|
@@ -244,7 +244,7 @@ declare class PrimaryNetworkService {
|
|
|
244
244
|
*/
|
|
245
245
|
listDelegators({ network, pageToken, pageSize, rewardAddresses, sortOrder, delegationStatus, nodeIds, }: {
|
|
246
246
|
/**
|
|
247
|
-
* Either mainnet or
|
|
247
|
+
* Either mainnet or testnet/fuji.
|
|
248
248
|
*/
|
|
249
249
|
network: Network;
|
|
250
250
|
/**
|
|
@@ -30,7 +30,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
30
30
|
*/
|
|
31
31
|
blockchainId: BlockchainId;
|
|
32
32
|
/**
|
|
33
|
-
* Either mainnet or
|
|
33
|
+
* Either mainnet or testnet/fuji.
|
|
34
34
|
*/
|
|
35
35
|
network: Network;
|
|
36
36
|
/**
|
|
@@ -48,19 +48,19 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
48
48
|
* @returns any Successful response
|
|
49
49
|
* @throws ApiError
|
|
50
50
|
*/
|
|
51
|
-
listLatestPrimaryNetworkTransactions({
|
|
52
|
-
/**
|
|
53
|
-
* A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Also accepts EVM formatted addresses starting with "0x" for C-Chain-related atomic transaction lookups.
|
|
54
|
-
*/
|
|
55
|
-
addresses: string;
|
|
51
|
+
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageToken, pageSize, sortOrder, }: {
|
|
56
52
|
/**
|
|
57
53
|
* A primary network blockchain id or alias.
|
|
58
54
|
*/
|
|
59
55
|
blockchainId: BlockchainId;
|
|
60
56
|
/**
|
|
61
|
-
* Either mainnet or
|
|
57
|
+
* Either mainnet or testnet/fuji.
|
|
62
58
|
*/
|
|
63
59
|
network: Network;
|
|
60
|
+
/**
|
|
61
|
+
* A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Also accepts EVM formatted addresses starting with "0x" for C-Chain-related atomic transaction lookups.
|
|
62
|
+
*/
|
|
63
|
+
addresses?: string;
|
|
64
64
|
/**
|
|
65
65
|
* Query param for filtering items based on transaction types.
|
|
66
66
|
*/
|
|
@@ -98,7 +98,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
98
98
|
*/
|
|
99
99
|
blockchainId: PChainId;
|
|
100
100
|
/**
|
|
101
|
-
* Either mainnet or
|
|
101
|
+
* Either mainnet or testnet/fuji.
|
|
102
102
|
*/
|
|
103
103
|
network: Network;
|
|
104
104
|
/**
|
|
@@ -142,7 +142,7 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
142
142
|
*/
|
|
143
143
|
blockchainId: XChainId;
|
|
144
144
|
/**
|
|
145
|
-
* Either mainnet or
|
|
145
|
+
* Either mainnet or testnet/fuji.
|
|
146
146
|
*/
|
|
147
147
|
network: Network;
|
|
148
148
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
class e{constructor(e){this.httpRequest=e}getTxByHash({blockchainId:e,network:t,txHash:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions/{txHash}",path:{blockchainId:e,network:t,txHash:r},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listLatestPrimaryNetworkTransactions({
|
|
1
|
+
class e{constructor(e){this.httpRequest=e}getTxByHash({blockchainId:e,network:t,txHash:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions/{txHash}",path:{blockchainId:e,network:t,txHash:r},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listLatestPrimaryNetworkTransactions({blockchainId:e,network:t,addresses:r,txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o=10,sortOrder:h}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions",path:{blockchainId:e,network:t},query:{addresses:r,txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o,sortOrder:h},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listActivePrimaryNetworkStakingTransactions({blockchainId:e,network:t,addresses:r,txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o=10,sortOrder:h}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/transactions:listStaking",path:{blockchainId:e,network:t},query:{addresses:r,txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o,sortOrder:h},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listAssetTransactions({blockchainId:e,network:t,assetId:r,txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o=10}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}/transactions",path:{blockchainId:e,network:t,assetId:r},query:{txTypes:s,startTimestamp:n,endTimestamp:a,pageToken:i,pageSize:o},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as PrimaryNetworkTransactionsService};
|
|
@@ -21,7 +21,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
21
21
|
*/
|
|
22
22
|
blockchainId: XChainId;
|
|
23
23
|
/**
|
|
24
|
-
* Either mainnet or
|
|
24
|
+
* Either mainnet or testnet/fuji.
|
|
25
25
|
*/
|
|
26
26
|
network: Network;
|
|
27
27
|
/**
|
|
@@ -49,7 +49,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
49
49
|
*/
|
|
50
50
|
blockchainId: XChainId;
|
|
51
51
|
/**
|
|
52
|
-
* Either mainnet or
|
|
52
|
+
* Either mainnet or testnet/fuji.
|
|
53
53
|
*/
|
|
54
54
|
network: Network;
|
|
55
55
|
}): CancelablePromise<XChainVertex>;
|
|
@@ -69,7 +69,7 @@ declare class PrimaryNetworkVerticesService {
|
|
|
69
69
|
*/
|
|
70
70
|
blockchainId: XChainId;
|
|
71
71
|
/**
|
|
72
|
-
* Either mainnet or
|
|
72
|
+
* Either mainnet or testnet/fuji.
|
|
73
73
|
*/
|
|
74
74
|
network: Network;
|
|
75
75
|
/**
|
|
@@ -15,7 +15,7 @@ declare class RpcService {
|
|
|
15
15
|
*/
|
|
16
16
|
rpc({ chainId, requestBody, }: {
|
|
17
17
|
/**
|
|
18
|
-
* A supported evm chain id
|
|
18
|
+
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
19
19
|
*/
|
|
20
20
|
chainId: string;
|
|
21
21
|
requestBody: (RpcRequestBodyDto | Array<RpcRequestBodyDto>);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SignatureAggregationResponse } from '../models/SignatureAggregationResponse.js';
|
|
2
|
+
import { SignatureAggregatorRequest } from '../models/SignatureAggregatorRequest.js';
|
|
3
|
+
import { CancelablePromise } from '../core/CancelablePromise.js';
|
|
4
|
+
import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
|
|
5
|
+
|
|
6
|
+
declare class SignatureAggregatorService {
|
|
7
|
+
readonly httpRequest: BaseHttpRequest;
|
|
8
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
9
|
+
/**
|
|
10
|
+
* Aggregate Signatures
|
|
11
|
+
* Aggregates Signatures for a Warp message from Subnet validators.
|
|
12
|
+
* @returns SignatureAggregationResponse Successful response
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
aggregateSignatures({ requestBody, }: {
|
|
16
|
+
requestBody: SignatureAggregatorRequest;
|
|
17
|
+
}): CancelablePromise<SignatureAggregationResponse>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { SignatureAggregatorService };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
class e{constructor(e){this.httpRequest=e}aggregateSignatures({requestBody:e}){return this.httpRequest.request({method:"POST",url:"/v1/signatureAggregator/aggregateSignatures",body:e,mediaType:"application/json",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as SignatureAggregatorService};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DeliveredSourceNotIndexedTeleporterMessage } from '../models/DeliveredSourceNotIndexedTeleporterMessage.js';
|
|
2
2
|
import { DeliveredTeleporterMessage } from '../models/DeliveredTeleporterMessage.js';
|
|
3
3
|
import { ListTeleporterMessagesResponse } from '../models/ListTeleporterMessagesResponse.js';
|
|
4
|
-
import {
|
|
4
|
+
import { Network } from '../models/Network.js';
|
|
5
5
|
import { PendingTeleporterMessage } from '../models/PendingTeleporterMessage.js';
|
|
6
6
|
import { CancelablePromise } from '../core/CancelablePromise.js';
|
|
7
7
|
import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
|
|
@@ -57,9 +57,9 @@ declare class TeleporterService {
|
|
|
57
57
|
*/
|
|
58
58
|
from?: string;
|
|
59
59
|
/**
|
|
60
|
-
* mainnet or testnet.
|
|
60
|
+
* Either mainnet or testnet/fuji.
|
|
61
61
|
*/
|
|
62
|
-
network?:
|
|
62
|
+
network?: Network;
|
|
63
63
|
}): CancelablePromise<ListTeleporterMessagesResponse>;
|
|
64
64
|
/**
|
|
65
65
|
* List teleporter messages by address
|
|
@@ -81,9 +81,9 @@ declare class TeleporterService {
|
|
|
81
81
|
*/
|
|
82
82
|
pageSize?: number;
|
|
83
83
|
/**
|
|
84
|
-
* mainnet or testnet.
|
|
84
|
+
* Either mainnet or testnet/fuji.
|
|
85
85
|
*/
|
|
86
|
-
network?:
|
|
86
|
+
network?: Network;
|
|
87
87
|
}): CancelablePromise<ListTeleporterMessagesResponse>;
|
|
88
88
|
}
|
|
89
89
|
|
package/esm/index.d.ts
CHANGED
|
@@ -125,7 +125,6 @@ export { NativeTransaction } from './generated/models/NativeTransaction.js';
|
|
|
125
125
|
export { Network } from './generated/models/Network.js';
|
|
126
126
|
export { NetworkToken } from './generated/models/NetworkToken.js';
|
|
127
127
|
export { NetworkTokenDetails } from './generated/models/NetworkTokenDetails.js';
|
|
128
|
-
export { NetworkType } from './generated/models/NetworkType.js';
|
|
129
128
|
export { NextPageToken } from './generated/models/NextPageToken.js';
|
|
130
129
|
export { NftTokenMetadataStatus } from './generated/models/NftTokenMetadataStatus.js';
|
|
131
130
|
export { NotFound } from './generated/models/NotFound.js';
|
|
@@ -163,10 +162,15 @@ export { RewardType } from './generated/models/RewardType.js';
|
|
|
163
162
|
export { RichAddress } from './generated/models/RichAddress.js';
|
|
164
163
|
export { RpcErrorDto } from './generated/models/RpcErrorDto.js';
|
|
165
164
|
export { RpcErrorResponseDto } from './generated/models/RpcErrorResponseDto.js';
|
|
165
|
+
export { RpcMetrics } from './generated/models/RpcMetrics.js';
|
|
166
166
|
export { RpcRequestBodyDto } from './generated/models/RpcRequestBodyDto.js';
|
|
167
167
|
export { RpcSuccessResponseDto } from './generated/models/RpcSuccessResponseDto.js';
|
|
168
|
+
export { RpcUsageMetricsResponseDTO } from './generated/models/RpcUsageMetricsResponseDTO.js';
|
|
169
|
+
export { RpcUsageMetricsValueAggregated } from './generated/models/RpcUsageMetricsValueAggregated.js';
|
|
168
170
|
export { ServiceUnavailable } from './generated/models/ServiceUnavailable.js';
|
|
169
171
|
export { SharedSecretsResponse } from './generated/models/SharedSecretsResponse.js';
|
|
172
|
+
export { SignatureAggregationResponse } from './generated/models/SignatureAggregationResponse.js';
|
|
173
|
+
export { SignatureAggregatorRequest } from './generated/models/SignatureAggregatorRequest.js';
|
|
170
174
|
export { SortByOption } from './generated/models/SortByOption.js';
|
|
171
175
|
export { SortOrder } from './generated/models/SortOrder.js';
|
|
172
176
|
export { StakingDistribution } from './generated/models/StakingDistribution.js';
|
|
@@ -229,5 +233,6 @@ export { PrimaryNetworkTransactionsService } from './generated/services/PrimaryN
|
|
|
229
233
|
export { PrimaryNetworkUtxOsService } from './generated/services/PrimaryNetworkUtxOsService.js';
|
|
230
234
|
export { PrimaryNetworkVerticesService } from './generated/services/PrimaryNetworkVerticesService.js';
|
|
231
235
|
export { RpcService } from './generated/services/RpcService.js';
|
|
236
|
+
export { SignatureAggregatorService } from './generated/services/SignatureAggregatorService.js';
|
|
232
237
|
export { TeleporterService } from './generated/services/TeleporterService.js';
|
|
233
238
|
export { WebhooksService } from './generated/services/WebhooksService.js';
|
package/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Glacier}from"./generated/Glacier.js";export{ApiError}from"./generated/core/ApiError.js";export{BaseHttpRequest}from"./generated/core/BaseHttpRequest.js";export{CancelError,CancelablePromise}from"./generated/core/CancelablePromise.js";export{OpenAPI}from"./generated/core/OpenAPI.js";export{ActiveDelegatorDetails}from"./generated/models/ActiveDelegatorDetails.js";export{ActiveValidatorDetails}from"./generated/models/ActiveValidatorDetails.js";export{ApiFeature}from"./generated/models/ApiFeature.js";export{BlockchainId}from"./generated/models/BlockchainId.js";export{BlockchainIds}from"./generated/models/BlockchainIds.js";export{CChainExportTransaction}from"./generated/models/CChainExportTransaction.js";export{CChainImportTransaction}from"./generated/models/CChainImportTransaction.js";export{ChainStatus}from"./generated/models/ChainStatus.js";export{CompletedDelegatorDetails}from"./generated/models/CompletedDelegatorDetails.js";export{CompletedValidatorDetails}from"./generated/models/CompletedValidatorDetails.js";export{ContractSubmissionErc1155}from"./generated/models/ContractSubmissionErc1155.js";export{ContractSubmissionErc20}from"./generated/models/ContractSubmissionErc20.js";export{ContractSubmissionErc721}from"./generated/models/ContractSubmissionErc721.js";export{ContractSubmissionUnknown}from"./generated/models/ContractSubmissionUnknown.js";export{CurrencyCode}from"./generated/models/CurrencyCode.js";export{DelegationStatusType}from"./generated/models/DelegationStatusType.js";export{DeliveredSourceNotIndexedTeleporterMessage}from"./generated/models/DeliveredSourceNotIndexedTeleporterMessage.js";export{DeliveredTeleporterMessage}from"./generated/models/DeliveredTeleporterMessage.js";export{Erc1155Contract}from"./generated/models/Erc1155Contract.js";export{Erc1155Token}from"./generated/models/Erc1155Token.js";export{Erc1155TokenBalance}from"./generated/models/Erc1155TokenBalance.js";export{Erc20Contract}from"./generated/models/Erc20Contract.js";export{Erc20Token}from"./generated/models/Erc20Token.js";export{Erc20TokenBalance}from"./generated/models/Erc20TokenBalance.js";export{Erc721Contract}from"./generated/models/Erc721Contract.js";export{Erc721Token}from"./generated/models/Erc721Token.js";export{Erc721TokenBalance}from"./generated/models/Erc721TokenBalance.js";export{EventType}from"./generated/models/EventType.js";export{EVMOperationType}from"./generated/models/EVMOperationType.js";export{InternalTransactionOpCall}from"./generated/models/InternalTransactionOpCall.js";export{Network}from"./generated/models/Network.js";export{
|
|
1
|
+
export{Glacier}from"./generated/Glacier.js";export{ApiError}from"./generated/core/ApiError.js";export{BaseHttpRequest}from"./generated/core/BaseHttpRequest.js";export{CancelError,CancelablePromise}from"./generated/core/CancelablePromise.js";export{OpenAPI}from"./generated/core/OpenAPI.js";export{ActiveDelegatorDetails}from"./generated/models/ActiveDelegatorDetails.js";export{ActiveValidatorDetails}from"./generated/models/ActiveValidatorDetails.js";export{ApiFeature}from"./generated/models/ApiFeature.js";export{BlockchainId}from"./generated/models/BlockchainId.js";export{BlockchainIds}from"./generated/models/BlockchainIds.js";export{CChainExportTransaction}from"./generated/models/CChainExportTransaction.js";export{CChainImportTransaction}from"./generated/models/CChainImportTransaction.js";export{ChainStatus}from"./generated/models/ChainStatus.js";export{CompletedDelegatorDetails}from"./generated/models/CompletedDelegatorDetails.js";export{CompletedValidatorDetails}from"./generated/models/CompletedValidatorDetails.js";export{ContractSubmissionErc1155}from"./generated/models/ContractSubmissionErc1155.js";export{ContractSubmissionErc20}from"./generated/models/ContractSubmissionErc20.js";export{ContractSubmissionErc721}from"./generated/models/ContractSubmissionErc721.js";export{ContractSubmissionUnknown}from"./generated/models/ContractSubmissionUnknown.js";export{CurrencyCode}from"./generated/models/CurrencyCode.js";export{DelegationStatusType}from"./generated/models/DelegationStatusType.js";export{DeliveredSourceNotIndexedTeleporterMessage}from"./generated/models/DeliveredSourceNotIndexedTeleporterMessage.js";export{DeliveredTeleporterMessage}from"./generated/models/DeliveredTeleporterMessage.js";export{Erc1155Contract}from"./generated/models/Erc1155Contract.js";export{Erc1155Token}from"./generated/models/Erc1155Token.js";export{Erc1155TokenBalance}from"./generated/models/Erc1155TokenBalance.js";export{Erc20Contract}from"./generated/models/Erc20Contract.js";export{Erc20Token}from"./generated/models/Erc20Token.js";export{Erc20TokenBalance}from"./generated/models/Erc20TokenBalance.js";export{Erc721Contract}from"./generated/models/Erc721Contract.js";export{Erc721Token}from"./generated/models/Erc721Token.js";export{Erc721TokenBalance}from"./generated/models/Erc721TokenBalance.js";export{EventType}from"./generated/models/EventType.js";export{EVMOperationType}from"./generated/models/EVMOperationType.js";export{InternalTransactionOpCall}from"./generated/models/InternalTransactionOpCall.js";export{Network}from"./generated/models/Network.js";export{NftTokenMetadataStatus}from"./generated/models/NftTokenMetadataStatus.js";export{OperationStatus}from"./generated/models/OperationStatus.js";export{OperationStatusCode}from"./generated/models/OperationStatusCode.js";export{OperationType}from"./generated/models/OperationType.js";export{PChainId}from"./generated/models/PChainId.js";export{PChainTransactionType}from"./generated/models/PChainTransactionType.js";export{PendingDelegatorDetails}from"./generated/models/PendingDelegatorDetails.js";export{PendingTeleporterMessage}from"./generated/models/PendingTeleporterMessage.js";export{PendingValidatorDetails}from"./generated/models/PendingValidatorDetails.js";export{PrimaryNetwork}from"./generated/models/PrimaryNetwork.js";export{PrimaryNetworkAssetCap}from"./generated/models/PrimaryNetworkAssetCap.js";export{PrimaryNetworkAssetType}from"./generated/models/PrimaryNetworkAssetType.js";export{PrimaryNetworkChainName}from"./generated/models/PrimaryNetworkChainName.js";export{PrimaryNetworkOperationType}from"./generated/models/PrimaryNetworkOperationType.js";export{PrimaryNetworkTxType}from"./generated/models/PrimaryNetworkTxType.js";export{RemovedValidatorDetails}from"./generated/models/RemovedValidatorDetails.js";export{RequestType}from"./generated/models/RequestType.js";export{ResourceLinkType}from"./generated/models/ResourceLinkType.js";export{RewardType}from"./generated/models/RewardType.js";export{RpcUsageMetricsValueAggregated}from"./generated/models/RpcUsageMetricsValueAggregated.js";export{SortByOption}from"./generated/models/SortByOption.js";export{SortOrder}from"./generated/models/SortOrder.js";export{TeleporterRewardDetails}from"./generated/models/TeleporterRewardDetails.js";export{TimeIntervalGranularityExtended}from"./generated/models/TimeIntervalGranularityExtended.js";export{TransactionDirectionType}from"./generated/models/TransactionDirectionType.js";export{TransactionMethodType}from"./generated/models/TransactionMethodType.js";export{TransactionStatus}from"./generated/models/TransactionStatus.js";export{UnknownContract}from"./generated/models/UnknownContract.js";export{UsageMetricsGroupByEnum}from"./generated/models/UsageMetricsGroupByEnum.js";export{UsageMetricsValueDTO}from"./generated/models/UsageMetricsValueDTO.js";export{UtxoType}from"./generated/models/UtxoType.js";export{ValidationStatusType}from"./generated/models/ValidationStatusType.js";export{VmName}from"./generated/models/VmName.js";export{WebhookStatus}from"./generated/models/WebhookStatus.js";export{WebhookStatusType}from"./generated/models/WebhookStatusType.js";export{XChainId}from"./generated/models/XChainId.js";export{XChainLinearTransaction}from"./generated/models/XChainLinearTransaction.js";export{XChainNonLinearTransaction}from"./generated/models/XChainNonLinearTransaction.js";export{XChainTransactionType}from"./generated/models/XChainTransactionType.js";export{DataApiUsageMetricsService}from"./generated/services/DataApiUsageMetricsService.js";export{DefaultService}from"./generated/services/DefaultService.js";export{EvmBalancesService}from"./generated/services/EvmBalancesService.js";export{EvmBlocksService}from"./generated/services/EvmBlocksService.js";export{EvmChainsService}from"./generated/services/EvmChainsService.js";export{EvmContractsService}from"./generated/services/EvmContractsService.js";export{EvmTransactionsService}from"./generated/services/EvmTransactionsService.js";export{HealthCheckService}from"./generated/services/HealthCheckService.js";export{NfTsService}from"./generated/services/NfTsService.js";export{OperationsService}from"./generated/services/OperationsService.js";export{PrimaryNetworkService}from"./generated/services/PrimaryNetworkService.js";export{PrimaryNetworkBalancesService}from"./generated/services/PrimaryNetworkBalancesService.js";export{PrimaryNetworkBlocksService}from"./generated/services/PrimaryNetworkBlocksService.js";export{PrimaryNetworkRewardsService}from"./generated/services/PrimaryNetworkRewardsService.js";export{PrimaryNetworkTransactionsService}from"./generated/services/PrimaryNetworkTransactionsService.js";export{PrimaryNetworkUtxOsService}from"./generated/services/PrimaryNetworkUtxOsService.js";export{PrimaryNetworkVerticesService}from"./generated/services/PrimaryNetworkVerticesService.js";export{RpcService}from"./generated/services/RpcService.js";export{SignatureAggregatorService}from"./generated/services/SignatureAggregatorService.js";export{TeleporterService}from"./generated/services/TeleporterService.js";export{WebhooksService}from"./generated/services/WebhooksService.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avalabs/glacier-sdk",
|
|
3
|
-
"version": "3.1.0-canary.
|
|
3
|
+
"version": "3.1.0-canary.c57360e.0+c57360e",
|
|
4
4
|
"description": "sdk for interacting with glacier-api",
|
|
5
5
|
"author": "Oliver Wang <oliver.wang@avalabs.org>",
|
|
6
6
|
"homepage": "https://github.com/ava-labs/avalanche-sdks#readme",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"bugs": {
|
|
30
30
|
"url": "https://github.com/ava-labs/avalanche-sdks/issues"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "c57360e553aa79fa35e4fac90f23b997995abfb6"
|
|
33
33
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var t=(t=>(t.MAINNET="mainnet",t.TESTNET="testnet",t))(t||{});export{t as NetworkType};
|