@avalabs/glacier-sdk 3.1.0-canary.f0648cd.0 → 3.1.0-canary.f0743b0.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 +394 -146
- package/dist/index.js +1 -1
- package/esm/generated/models/Erc20TokenBalance.d.ts +11 -0
- package/esm/generated/models/Erc20TokenBalance.js +1 -1
- package/esm/generated/models/EvmBlock.d.ts +4 -0
- package/esm/generated/models/FullNativeTransactionDetails.d.ts +4 -0
- package/esm/generated/models/GetEvmBlockResponse.d.ts +4 -0
- package/esm/generated/models/ListErc1155BalancesResponse.d.ts +5 -0
- package/esm/generated/models/ListErc20BalancesResponse.d.ts +5 -0
- package/esm/generated/models/ListErc721BalancesResponse.d.ts +5 -0
- package/esm/generated/models/NativeTransaction.d.ts +4 -0
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +9 -0
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -0
- package/esm/generated/models/RpcUsageMetricsGroupByEnum.d.ts +7 -0
- package/esm/generated/models/RpcUsageMetricsGroupByEnum.js +1 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +4 -0
- package/esm/generated/models/Subnet.d.ts +4 -0
- package/esm/generated/models/SubnetRpcTimeIntervalGranularity.d.ts +8 -0
- package/esm/generated/models/SubnetRpcTimeIntervalGranularity.js +1 -0
- package/esm/generated/models/{RpcUsageMetricsResponseDTO.d.ts → SubnetRpcUsageMetricsResponseDTO.d.ts} +6 -6
- package/esm/generated/services/DataApiUsageMetricsService.d.ts +72 -22
- package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
- package/esm/generated/services/EvmBlocksService.d.ts +21 -0
- package/esm/generated/services/EvmBlocksService.js +1 -1
- package/esm/generated/services/EvmChainsService.d.ts +67 -2
- package/esm/generated/services/EvmChainsService.js +1 -1
- package/esm/generated/services/EvmTransactionsService.d.ts +34 -1
- package/esm/generated/services/EvmTransactionsService.js +1 -1
- package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +18 -2
- package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
- package/esm/generated/services/SignatureAggregatorService.d.ts +6 -1
- package/esm/generated/services/SignatureAggregatorService.js +1 -1
- package/esm/index.d.ts +4 -1
- package/esm/index.js +1 -1
- package/package.json +2 -2
|
@@ -8,6 +8,7 @@ import { ListInternalTransactionsResponse } from '../models/ListInternalTransact
|
|
|
8
8
|
import { ListNativeTransactionsResponse } from '../models/ListNativeTransactionsResponse.js';
|
|
9
9
|
import { ListTransactionDetailsResponse } from '../models/ListTransactionDetailsResponse.js';
|
|
10
10
|
import { ListTransfersResponse } from '../models/ListTransfersResponse.js';
|
|
11
|
+
import { Network } from '../models/Network.js';
|
|
11
12
|
import { SortOrder } from '../models/SortOrder.js';
|
|
12
13
|
import { TransactionStatus } from '../models/TransactionStatus.js';
|
|
13
14
|
import { CancelablePromise } from '../core/CancelablePromise.js';
|
|
@@ -16,6 +17,30 @@ import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
|
|
|
16
17
|
declare class EvmTransactionsService {
|
|
17
18
|
readonly httpRequest: BaseHttpRequest;
|
|
18
19
|
constructor(httpRequest: BaseHttpRequest);
|
|
20
|
+
/**
|
|
21
|
+
* List the latest transactions across all supported EVM chains
|
|
22
|
+
* Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.
|
|
23
|
+
* @returns ListNativeTransactionsResponse Successful response
|
|
24
|
+
* @throws ApiError
|
|
25
|
+
*/
|
|
26
|
+
listLatestTransactionsAllChains({ pageToken, pageSize, network, status, }: {
|
|
27
|
+
/**
|
|
28
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
29
|
+
*/
|
|
30
|
+
pageToken?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
33
|
+
*/
|
|
34
|
+
pageSize?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Either mainnet or testnet/fuji.
|
|
37
|
+
*/
|
|
38
|
+
network?: Network;
|
|
39
|
+
/**
|
|
40
|
+
* A status filter for listed transactions.
|
|
41
|
+
*/
|
|
42
|
+
status?: TransactionStatus;
|
|
43
|
+
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
19
44
|
/**
|
|
20
45
|
* Get deployment transaction
|
|
21
46
|
* If the address is a smart contract, returns the transaction in which it was deployed.
|
|
@@ -314,7 +339,7 @@ declare class EvmTransactionsService {
|
|
|
314
339
|
* @returns ListNativeTransactionsResponse Successful response
|
|
315
340
|
* @throws ApiError
|
|
316
341
|
*/
|
|
317
|
-
getTransactionsForBlock({ chainId, blockId, }: {
|
|
342
|
+
getTransactionsForBlock({ chainId, blockId, pageToken, pageSize, }: {
|
|
318
343
|
/**
|
|
319
344
|
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
320
345
|
*/
|
|
@@ -323,6 +348,14 @@ declare class EvmTransactionsService {
|
|
|
323
348
|
* A block identifier which is either a block number or the block hash.
|
|
324
349
|
*/
|
|
325
350
|
blockId: string;
|
|
351
|
+
/**
|
|
352
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
353
|
+
*/
|
|
354
|
+
pageToken?: string;
|
|
355
|
+
/**
|
|
356
|
+
* The maximum number of items to return. The minimum page size is 0. The maximum pageSize is 100.
|
|
357
|
+
*/
|
|
358
|
+
pageSize?: number;
|
|
326
359
|
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
327
360
|
/**
|
|
328
361
|
* List latest transactions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
class e{constructor(e){this.httpRequest=e}getDeploymentTransaction({chainId:e,address:r,currency:t}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/contracts/{address}/transactions:getDeployment",path:{chainId:e,address:r},query:{currency:t},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."}})}listContractDeployments({chainId:e,address:r,pageToken:t,pageSize:s=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/contracts/{address}/deployments",path:{chainId:e,address:r},query:{pageToken:t,pageSize:s},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."}})}listTransfers({chainId:e,address:r,startBlock:t,endBlock:s,pageToken:n,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/tokens/{address}/transfers",path:{chainId:e,address:r},query:{startBlock:t,endBlock:s,pageToken:n,pageSize:a},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."}})}listTransactions({chainId:e,address:r,pageToken:t,pageSize:s=10,startBlock:n,endBlock:a,sortOrder:i}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions",path:{chainId:e,address:r},query:{pageToken:t,pageSize:s,startBlock:n,endBlock:a,sortOrder:i},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."}})}listNativeTransactions({chainId:e,address:r,startBlock:t,endBlock:s,pageToken:n,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listNative",path:{chainId:e,address:r},query:{startBlock:t,endBlock:s,pageToken:n,pageSize:a},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."}})}listErc20Transactions({chainId:e,address:r,startBlock:t,endBlock:s,pageToken:n,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listErc20",path:{chainId:e,address:r},query:{startBlock:t,endBlock:s,pageToken:n,pageSize:a},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."}})}listErc721Transactions({chainId:e,address:r,startBlock:t,endBlock:s,pageToken:n,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listErc721",path:{chainId:e,address:r},query:{startBlock:t,endBlock:s,pageToken:n,pageSize:a},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."}})}listErc1155Transactions({chainId:e,address:r,startBlock:t,endBlock:s,pageToken:n,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listErc1155",path:{chainId:e,address:r},query:{startBlock:t,endBlock:s,pageToken:n,pageSize:a},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."}})}listInternalTransactions({chainId:e,address:r,startBlock:t,endBlock:s,pageToken:n,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listInternals",path:{chainId:e,address:r},query:{startBlock:t,endBlock:s,pageToken:n,pageSize:a},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."}})}getTransaction({chainId:e,txHash:r}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/transactions/{txHash}",path:{chainId:e,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."}})}getTransactionsForBlock({chainId:e,blockId:r}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/blocks/{blockId}/transactions",path:{chainId:e,blockId: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."}})}listLatestTransactions({chainId:e,pageToken:r,pageSize:t=10,status:s}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/transactions",path:{chainId:e},query:{pageToken:r,pageSize:t,status:s},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 EvmTransactionsService};
|
|
1
|
+
class e{constructor(e){this.httpRequest=e}listLatestTransactionsAllChains({pageToken:e,pageSize:r=10,network:t,status:n}){return this.httpRequest.request({method:"GET",url:"/v1/transactions",query:{pageToken:e,pageSize:r,network:t,status:n},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."}})}getDeploymentTransaction({chainId:e,address:r,currency:t}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/contracts/{address}/transactions:getDeployment",path:{chainId:e,address:r},query:{currency:t},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."}})}listContractDeployments({chainId:e,address:r,pageToken:t,pageSize:n=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/contracts/{address}/deployments",path:{chainId:e,address:r},query:{pageToken:t,pageSize:n},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."}})}listTransfers({chainId:e,address:r,startBlock:t,endBlock:n,pageToken:s,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/tokens/{address}/transfers",path:{chainId:e,address:r},query:{startBlock:t,endBlock:n,pageToken:s,pageSize:a},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."}})}listTransactions({chainId:e,address:r,pageToken:t,pageSize:n=10,startBlock:s,endBlock:a,sortOrder:i}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions",path:{chainId:e,address:r},query:{pageToken:t,pageSize:n,startBlock:s,endBlock:a,sortOrder:i},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."}})}listNativeTransactions({chainId:e,address:r,startBlock:t,endBlock:n,pageToken:s,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listNative",path:{chainId:e,address:r},query:{startBlock:t,endBlock:n,pageToken:s,pageSize:a},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."}})}listErc20Transactions({chainId:e,address:r,startBlock:t,endBlock:n,pageToken:s,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listErc20",path:{chainId:e,address:r},query:{startBlock:t,endBlock:n,pageToken:s,pageSize:a},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."}})}listErc721Transactions({chainId:e,address:r,startBlock:t,endBlock:n,pageToken:s,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listErc721",path:{chainId:e,address:r},query:{startBlock:t,endBlock:n,pageToken:s,pageSize:a},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."}})}listErc1155Transactions({chainId:e,address:r,startBlock:t,endBlock:n,pageToken:s,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listErc1155",path:{chainId:e,address:r},query:{startBlock:t,endBlock:n,pageToken:s,pageSize:a},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."}})}listInternalTransactions({chainId:e,address:r,startBlock:t,endBlock:n,pageToken:s,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}/transactions:listInternals",path:{chainId:e,address:r},query:{startBlock:t,endBlock:n,pageToken:s,pageSize:a},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."}})}getTransaction({chainId:e,txHash:r}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/transactions/{txHash}",path:{chainId:e,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."}})}getTransactionsForBlock({chainId:e,blockId:r,pageToken:t,pageSize:n}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/blocks/{blockId}/transactions",path:{chainId:e,blockId:r},query:{pageToken:t,pageSize:n},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."}})}listLatestTransactions({chainId:e,pageToken:r,pageSize:t=10,status:n}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/transactions",path:{chainId:e},query:{pageToken:r,pageSize:t,status:n},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 EvmTransactionsService};
|
|
@@ -34,7 +34,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
34
34
|
* @returns ListPrimaryNetworkBlocksResponse Successful response
|
|
35
35
|
* @throws ApiError
|
|
36
36
|
*/
|
|
37
|
-
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, pageToken, pageSize, }: {
|
|
37
|
+
listPrimaryNetworkBlocksByNodeId({ blockchainId, network, nodeId, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
38
38
|
/**
|
|
39
39
|
* A primary network blockchain id or alias.
|
|
40
40
|
*/
|
|
@@ -47,6 +47,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
47
47
|
* A primary network (P or X chain) nodeId.
|
|
48
48
|
*/
|
|
49
49
|
nodeId: string;
|
|
50
|
+
/**
|
|
51
|
+
* Query param for retrieving items after a specific timestamp.
|
|
52
|
+
*/
|
|
53
|
+
startTimestamp?: number;
|
|
54
|
+
/**
|
|
55
|
+
* Query param for retrieving items before a specific timestamp.
|
|
56
|
+
*/
|
|
57
|
+
endTimestamp?: number;
|
|
50
58
|
/**
|
|
51
59
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
52
60
|
*/
|
|
@@ -62,7 +70,7 @@ declare class PrimaryNetworkBlocksService {
|
|
|
62
70
|
* @returns ListPrimaryNetworkBlocksResponse Successful response
|
|
63
71
|
* @throws ApiError
|
|
64
72
|
*/
|
|
65
|
-
listLatestPrimaryNetworkBlocks({ blockchainId, network, pageToken, pageSize, }: {
|
|
73
|
+
listLatestPrimaryNetworkBlocks({ blockchainId, network, startTimestamp, endTimestamp, pageToken, pageSize, }: {
|
|
66
74
|
/**
|
|
67
75
|
* A primary network blockchain id or alias.
|
|
68
76
|
*/
|
|
@@ -71,6 +79,14 @@ declare class PrimaryNetworkBlocksService {
|
|
|
71
79
|
* Either mainnet or testnet/fuji.
|
|
72
80
|
*/
|
|
73
81
|
network: Network;
|
|
82
|
+
/**
|
|
83
|
+
* Query param for retrieving items after a specific timestamp.
|
|
84
|
+
*/
|
|
85
|
+
startTimestamp?: number;
|
|
86
|
+
/**
|
|
87
|
+
* Query param for retrieving items before a specific timestamp.
|
|
88
|
+
*/
|
|
89
|
+
endTimestamp?: number;
|
|
74
90
|
/**
|
|
75
91
|
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
76
92
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
class e{constructor(e){this.httpRequest=e}getBlockById({blockchainId:e,network:r,blockId:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/blocks/{blockId}",path:{blockchainId:e,network:r,blockId:t},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."}})}listPrimaryNetworkBlocksByNodeId({blockchainId:e,network:r,nodeId:t,
|
|
1
|
+
class e{constructor(e){this.httpRequest=e}getBlockById({blockchainId:e,network:r,blockId:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/blocks/{blockId}",path:{blockchainId:e,network:r,blockId:t},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."}})}listPrimaryNetworkBlocksByNodeId({blockchainId:e,network:r,nodeId:t,startTimestamp:n,endTimestamp:s,pageToken:a,pageSize:i=10}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/nodes/{nodeId}/blocks",path:{blockchainId:e,network:r,nodeId:t},query:{startTimestamp:n,endTimestamp:s,pageToken:a,pageSize:i},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."}})}listLatestPrimaryNetworkBlocks({blockchainId:e,network:r,startTimestamp:t,endTimestamp:n,pageToken:s,pageSize:a=10}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/blocks",path:{blockchainId:e,network:r},query:{startTimestamp:t,endTimestamp:n,pageToken:s,pageSize:a},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 PrimaryNetworkBlocksService};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Network } from '../models/Network.js';
|
|
1
2
|
import { SignatureAggregationResponse } from '../models/SignatureAggregationResponse.js';
|
|
2
3
|
import { SignatureAggregatorRequest } from '../models/SignatureAggregatorRequest.js';
|
|
3
4
|
import { CancelablePromise } from '../core/CancelablePromise.js';
|
|
@@ -12,7 +13,11 @@ declare class SignatureAggregatorService {
|
|
|
12
13
|
* @returns SignatureAggregationResponse Successful response
|
|
13
14
|
* @throws ApiError
|
|
14
15
|
*/
|
|
15
|
-
aggregateSignatures({ requestBody, }: {
|
|
16
|
+
aggregateSignatures({ network, requestBody, }: {
|
|
17
|
+
/**
|
|
18
|
+
* Either mainnet or testnet/fuji.
|
|
19
|
+
*/
|
|
20
|
+
network: Network;
|
|
16
21
|
requestBody: SignatureAggregatorRequest;
|
|
17
22
|
}): CancelablePromise<SignatureAggregationResponse>;
|
|
18
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
class e{constructor(e){this.httpRequest=e}aggregateSignatures({requestBody:
|
|
1
|
+
class e{constructor(e){this.httpRequest=e}aggregateSignatures({network:e,requestBody:r}){return this.httpRequest.request({method:"POST",url:"/v1/signatureAggregator/{network}/aggregateSignatures",path:{network:e},body:r,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};
|
package/esm/index.d.ts
CHANGED
|
@@ -156,6 +156,7 @@ export { PrimaryNetworkChainInfo } from './generated/models/PrimaryNetworkChainI
|
|
|
156
156
|
export { PrimaryNetworkChainName } from './generated/models/PrimaryNetworkChainName.js';
|
|
157
157
|
export { PrimaryNetworkOperationType } from './generated/models/PrimaryNetworkOperationType.js';
|
|
158
158
|
export { PrimaryNetworkOptions } from './generated/models/PrimaryNetworkOptions.js';
|
|
159
|
+
export { PrimaryNetworkRpcMetricsGroupByEnum } from './generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js';
|
|
159
160
|
export { PrimaryNetworkTxType } from './generated/models/PrimaryNetworkTxType.js';
|
|
160
161
|
export { ProposerDetails } from './generated/models/ProposerDetails.js';
|
|
161
162
|
export { RemovedValidatorDetails } from './generated/models/RemovedValidatorDetails.js';
|
|
@@ -166,7 +167,7 @@ export { Rewards } from './generated/models/Rewards.js';
|
|
|
166
167
|
export { RewardType } from './generated/models/RewardType.js';
|
|
167
168
|
export { RichAddress } from './generated/models/RichAddress.js';
|
|
168
169
|
export { RpcMetrics } from './generated/models/RpcMetrics.js';
|
|
169
|
-
export {
|
|
170
|
+
export { RpcUsageMetricsGroupByEnum } from './generated/models/RpcUsageMetricsGroupByEnum.js';
|
|
170
171
|
export { RpcUsageMetricsValueAggregated } from './generated/models/RpcUsageMetricsValueAggregated.js';
|
|
171
172
|
export { ServiceUnavailable } from './generated/models/ServiceUnavailable.js';
|
|
172
173
|
export { SharedSecretsResponse } from './generated/models/SharedSecretsResponse.js';
|
|
@@ -177,6 +178,8 @@ export { SortOrder } from './generated/models/SortOrder.js';
|
|
|
177
178
|
export { StakingDistribution } from './generated/models/StakingDistribution.js';
|
|
178
179
|
export { Subnet } from './generated/models/Subnet.js';
|
|
179
180
|
export { SubnetOwnershipInfo } from './generated/models/SubnetOwnershipInfo.js';
|
|
181
|
+
export { SubnetRpcTimeIntervalGranularity } from './generated/models/SubnetRpcTimeIntervalGranularity.js';
|
|
182
|
+
export { SubnetRpcUsageMetricsResponseDTO } from './generated/models/SubnetRpcUsageMetricsResponseDTO.js';
|
|
180
183
|
export { TeleporterDestinationTransaction } from './generated/models/TeleporterDestinationTransaction.js';
|
|
181
184
|
export { TeleporterMessageInfo } from './generated/models/TeleporterMessageInfo.js';
|
|
182
185
|
export { TeleporterReceipt } from './generated/models/TeleporterReceipt.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{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{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{SignatureAggregatorService}from"./generated/services/SignatureAggregatorService.js";export{TeleporterService}from"./generated/services/TeleporterService.js";export{WebhooksService}from"./generated/services/WebhooksService.js";
|
|
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{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{PrimaryNetworkRpcMetricsGroupByEnum}from"./generated/models/PrimaryNetworkRpcMetricsGroupByEnum.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{RpcUsageMetricsGroupByEnum}from"./generated/models/RpcUsageMetricsGroupByEnum.js";export{RpcUsageMetricsValueAggregated}from"./generated/models/RpcUsageMetricsValueAggregated.js";export{SortByOption}from"./generated/models/SortByOption.js";export{SortOrder}from"./generated/models/SortOrder.js";export{SubnetRpcTimeIntervalGranularity}from"./generated/models/SubnetRpcTimeIntervalGranularity.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{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.f0743b0.0+f0743b0",
|
|
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": "f0743b0b92adb57e4e22752ba9ede6bdb932453a"
|
|
33
33
|
}
|