@avalabs/glacier-sdk 2.8.0-canary.9b911e2.0 → 2.8.0-canary.aeb3588.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 +292 -193
- package/dist/index.js +158 -51
- package/esm/generated/Glacier.d.ts +4 -0
- package/esm/generated/Glacier.js +29 -10
- package/esm/generated/core/ApiError.js +5 -0
- package/esm/generated/core/CancelablePromise.js +11 -6
- package/esm/generated/core/request.js +14 -31
- package/esm/generated/models/ActiveDelegatorDetails.d.ts +6 -3
- package/esm/generated/models/ActiveDelegatorDetails.js +8 -0
- package/esm/generated/models/ActiveValidatorDetails.d.ts +6 -2
- package/esm/generated/models/ActiveValidatorDetails.js +8 -0
- package/esm/generated/models/ChainInfo.d.ts +1 -0
- package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -3
- package/esm/generated/models/CompletedDelegatorDetails.js +8 -0
- package/esm/generated/models/CompletedValidatorDetails.d.ts +6 -2
- package/esm/generated/models/CompletedValidatorDetails.js +8 -0
- package/esm/generated/models/Erc1155Contract.d.ts +2 -1
- package/esm/generated/models/Erc20Contract.d.ts +2 -1
- package/esm/generated/models/Erc721Contract.d.ts +0 -1
- package/esm/generated/models/GetChainResponse.d.ts +1 -0
- package/esm/generated/models/ImageAsset.d.ts +0 -3
- package/esm/generated/models/ListContractsResponse.d.ts +1 -1
- package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -3
- package/esm/generated/models/PendingDelegatorDetails.js +8 -0
- package/esm/generated/models/PendingValidatorDetails.d.ts +6 -3
- package/esm/generated/models/PendingValidatorDetails.js +8 -0
- package/esm/generated/models/PricingProviders.d.ts +5 -0
- package/esm/generated/models/UnknownContract.d.ts +0 -1
- package/esm/generated/services/EvmContractsService.d.ts +29 -0
- package/esm/generated/services/EvmContractsService.js +20 -0
- package/esm/generated/services/EvmTransactionsService.js +1 -1
- package/esm/generated/services/NfTsService.d.ts +51 -0
- package/esm/generated/services/NfTsService.js +37 -0
- package/esm/generated/services/PrimaryNetworkService.d.ts +1 -5
- package/esm/generated/services/PrimaryNetworkService.js +1 -3
- package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +5 -1
- package/esm/index.d.ts +3 -0
- package/esm/index.js +8 -0
- package/package.json +2 -2
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Rewards } from './Rewards.js';
|
|
2
|
-
import { ValidationStatusType } from './ValidationStatusType.js';
|
|
3
2
|
|
|
4
3
|
type ActiveValidatorDetails = {
|
|
5
4
|
nodeId: string;
|
|
@@ -7,7 +6,6 @@ type ActiveValidatorDetails = {
|
|
|
7
6
|
delegationFee: string;
|
|
8
7
|
startTimestamp: number;
|
|
9
8
|
endTimestamp: number;
|
|
10
|
-
validationStatus: ValidationStatusType;
|
|
11
9
|
stakePercentage: number;
|
|
12
10
|
delegatorCount: number;
|
|
13
11
|
amountDelegated: string;
|
|
@@ -15,6 +13,12 @@ type ActiveValidatorDetails = {
|
|
|
15
13
|
avalancheGoVersion: string;
|
|
16
14
|
delegationCapacity: string;
|
|
17
15
|
potentialRewards: Rewards;
|
|
16
|
+
validationStatus: ActiveValidatorDetails.validationStatus;
|
|
18
17
|
};
|
|
18
|
+
declare namespace ActiveValidatorDetails {
|
|
19
|
+
enum validationStatus {
|
|
20
|
+
ACTIVE = "active"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
19
23
|
|
|
20
24
|
export { ActiveValidatorDetails };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var ActiveValidatorDetails;
|
|
2
|
+
((ActiveValidatorDetails2) => {
|
|
3
|
+
((validationStatus2) => {
|
|
4
|
+
validationStatus2["ACTIVE"] = "active";
|
|
5
|
+
})(ActiveValidatorDetails2.validationStatus || (ActiveValidatorDetails2.validationStatus = {}));
|
|
6
|
+
})(ActiveValidatorDetails || (ActiveValidatorDetails = {}));
|
|
7
|
+
|
|
8
|
+
export { ActiveValidatorDetails };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { DelegationStatusType } from './DelegationStatusType.js';
|
|
2
|
-
|
|
3
1
|
type CompletedDelegatorDetails = {
|
|
4
2
|
txHash: string;
|
|
5
3
|
rewardAddresses: Array<string>;
|
|
@@ -7,9 +5,14 @@ type CompletedDelegatorDetails = {
|
|
|
7
5
|
delegationFee: string;
|
|
8
6
|
startTimestamp: number;
|
|
9
7
|
endTimestamp: number;
|
|
10
|
-
delegationStatus: DelegationStatusType;
|
|
11
8
|
grossReward: string;
|
|
12
9
|
netReward: string;
|
|
10
|
+
delegationStatus: CompletedDelegatorDetails.delegationStatus;
|
|
13
11
|
};
|
|
12
|
+
declare namespace CompletedDelegatorDetails {
|
|
13
|
+
enum delegationStatus {
|
|
14
|
+
COMPLETED = "completed"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
14
17
|
|
|
15
18
|
export { CompletedDelegatorDetails };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var CompletedDelegatorDetails;
|
|
2
|
+
((CompletedDelegatorDetails2) => {
|
|
3
|
+
((delegationStatus2) => {
|
|
4
|
+
delegationStatus2["COMPLETED"] = "completed";
|
|
5
|
+
})(CompletedDelegatorDetails2.delegationStatus || (CompletedDelegatorDetails2.delegationStatus = {}));
|
|
6
|
+
})(CompletedDelegatorDetails || (CompletedDelegatorDetails = {}));
|
|
7
|
+
|
|
8
|
+
export { CompletedDelegatorDetails };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Rewards } from './Rewards.js';
|
|
2
|
-
import { ValidationStatusType } from './ValidationStatusType.js';
|
|
3
2
|
|
|
4
3
|
type CompletedValidatorDetails = {
|
|
5
4
|
nodeId: string;
|
|
@@ -7,9 +6,14 @@ type CompletedValidatorDetails = {
|
|
|
7
6
|
delegationFee: string;
|
|
8
7
|
startTimestamp: number;
|
|
9
8
|
endTimestamp: number;
|
|
10
|
-
validationStatus: ValidationStatusType;
|
|
11
9
|
delegatorCount: number;
|
|
12
10
|
rewards: Rewards;
|
|
11
|
+
validationStatus: CompletedValidatorDetails.validationStatus;
|
|
13
12
|
};
|
|
13
|
+
declare namespace CompletedValidatorDetails {
|
|
14
|
+
enum validationStatus {
|
|
15
|
+
COMPLETED = "completed"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
14
18
|
|
|
15
19
|
export { CompletedValidatorDetails };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var CompletedValidatorDetails;
|
|
2
|
+
((CompletedValidatorDetails2) => {
|
|
3
|
+
((validationStatus2) => {
|
|
4
|
+
validationStatus2["COMPLETED"] = "completed";
|
|
5
|
+
})(CompletedValidatorDetails2.validationStatus || (CompletedValidatorDetails2.validationStatus = {}));
|
|
6
|
+
})(CompletedValidatorDetails || (CompletedValidatorDetails = {}));
|
|
7
|
+
|
|
8
|
+
export { CompletedValidatorDetails };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ContractDeploymentDetails } from './ContractDeploymentDetails.js';
|
|
2
2
|
import { ImageAsset } from './ImageAsset.js';
|
|
3
|
+
import { PricingProviders } from './PricingProviders.js';
|
|
3
4
|
import { ResourceLink } from './ResourceLink.js';
|
|
4
5
|
|
|
5
6
|
type Erc1155Contract = {
|
|
@@ -13,7 +14,6 @@ type Erc1155Contract = {
|
|
|
13
14
|
logoAsset?: ImageAsset;
|
|
14
15
|
bannerAsset?: ImageAsset;
|
|
15
16
|
color?: string;
|
|
16
|
-
coingeckoCoinId?: string;
|
|
17
17
|
resourceLinks?: Array<ResourceLink>;
|
|
18
18
|
tags?: Array<string>;
|
|
19
19
|
/**
|
|
@@ -26,6 +26,7 @@ type Erc1155Contract = {
|
|
|
26
26
|
* The contract symbol.
|
|
27
27
|
*/
|
|
28
28
|
symbol?: string;
|
|
29
|
+
pricingProviders?: PricingProviders;
|
|
29
30
|
};
|
|
30
31
|
declare namespace Erc1155Contract {
|
|
31
32
|
enum ercType {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ContractDeploymentDetails } from './ContractDeploymentDetails.js';
|
|
2
2
|
import { ImageAsset } from './ImageAsset.js';
|
|
3
|
+
import { PricingProviders } from './PricingProviders.js';
|
|
3
4
|
import { ResourceLink } from './ResourceLink.js';
|
|
4
5
|
|
|
5
6
|
type Erc20Contract = {
|
|
@@ -13,7 +14,6 @@ type Erc20Contract = {
|
|
|
13
14
|
logoAsset?: ImageAsset;
|
|
14
15
|
bannerAsset?: ImageAsset;
|
|
15
16
|
color?: string;
|
|
16
|
-
coingeckoCoinId?: string;
|
|
17
17
|
resourceLinks?: Array<ResourceLink>;
|
|
18
18
|
tags?: Array<string>;
|
|
19
19
|
/**
|
|
@@ -30,6 +30,7 @@ type Erc20Contract = {
|
|
|
30
30
|
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
31
31
|
*/
|
|
32
32
|
decimals: number;
|
|
33
|
+
pricingProviders?: PricingProviders;
|
|
33
34
|
};
|
|
34
35
|
declare namespace Erc20Contract {
|
|
35
36
|
enum ercType {
|
|
@@ -8,7 +8,7 @@ type ListContractsResponse = {
|
|
|
8
8
|
* A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
|
|
9
9
|
*/
|
|
10
10
|
nextPageToken?: string;
|
|
11
|
-
contracts: Array<(
|
|
11
|
+
contracts: Array<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
export { ListContractsResponse };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { DelegationStatusType } from './DelegationStatusType.js';
|
|
2
|
-
|
|
3
1
|
type PendingDelegatorDetails = {
|
|
4
2
|
txHash: string;
|
|
5
3
|
rewardAddresses: Array<string>;
|
|
@@ -7,9 +5,14 @@ type PendingDelegatorDetails = {
|
|
|
7
5
|
delegationFee: string;
|
|
8
6
|
startTimestamp: number;
|
|
9
7
|
endTimestamp: number;
|
|
10
|
-
delegationStatus: DelegationStatusType;
|
|
11
8
|
estimatedGrossReward: string;
|
|
12
9
|
estimatedNetReward: string;
|
|
10
|
+
delegationStatus: PendingDelegatorDetails.delegationStatus;
|
|
13
11
|
};
|
|
12
|
+
declare namespace PendingDelegatorDetails {
|
|
13
|
+
enum delegationStatus {
|
|
14
|
+
PENDING = "pending"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
14
17
|
|
|
15
18
|
export { PendingDelegatorDetails };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var PendingDelegatorDetails;
|
|
2
|
+
((PendingDelegatorDetails2) => {
|
|
3
|
+
((delegationStatus2) => {
|
|
4
|
+
delegationStatus2["PENDING"] = "pending";
|
|
5
|
+
})(PendingDelegatorDetails2.delegationStatus || (PendingDelegatorDetails2.delegationStatus = {}));
|
|
6
|
+
})(PendingDelegatorDetails || (PendingDelegatorDetails = {}));
|
|
7
|
+
|
|
8
|
+
export { PendingDelegatorDetails };
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { ValidationStatusType } from './ValidationStatusType.js';
|
|
2
|
-
|
|
3
1
|
type PendingValidatorDetails = {
|
|
4
2
|
nodeId: string;
|
|
5
3
|
amountStaked: string;
|
|
6
4
|
delegationFee: string;
|
|
7
5
|
startTimestamp: number;
|
|
8
6
|
endTimestamp: number;
|
|
9
|
-
validationStatus:
|
|
7
|
+
validationStatus: PendingValidatorDetails.validationStatus;
|
|
10
8
|
};
|
|
9
|
+
declare namespace PendingValidatorDetails {
|
|
10
|
+
enum validationStatus {
|
|
11
|
+
PENDING = "pending"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
11
14
|
|
|
12
15
|
export { PendingValidatorDetails };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var PendingValidatorDetails;
|
|
2
|
+
((PendingValidatorDetails2) => {
|
|
3
|
+
((validationStatus2) => {
|
|
4
|
+
validationStatus2["PENDING"] = "pending";
|
|
5
|
+
})(PendingValidatorDetails2.validationStatus || (PendingValidatorDetails2.validationStatus = {}));
|
|
6
|
+
})(PendingValidatorDetails || (PendingValidatorDetails = {}));
|
|
7
|
+
|
|
8
|
+
export { PendingValidatorDetails };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Erc1155Contract } from '../models/Erc1155Contract.js';
|
|
2
|
+
import { Erc20Contract } from '../models/Erc20Contract.js';
|
|
3
|
+
import { Erc721Contract } from '../models/Erc721Contract.js';
|
|
4
|
+
import { UnknownContract } from '../models/UnknownContract.js';
|
|
5
|
+
import { CancelablePromise } from '../core/CancelablePromise.js';
|
|
6
|
+
import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
|
|
7
|
+
|
|
8
|
+
declare class EvmContractsService {
|
|
9
|
+
readonly httpRequest: BaseHttpRequest;
|
|
10
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
11
|
+
/**
|
|
12
|
+
* Get contract metadata
|
|
13
|
+
* Gets metadata about the contract at the given address.
|
|
14
|
+
* @returns any
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
getContractMetadata({ chainId, address, }: {
|
|
18
|
+
/**
|
|
19
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
20
|
+
*/
|
|
21
|
+
chainId: string;
|
|
22
|
+
/**
|
|
23
|
+
* Contract address on the relevant chain.
|
|
24
|
+
*/
|
|
25
|
+
address: string;
|
|
26
|
+
}): CancelablePromise<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { EvmContractsService };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
class EvmContractsService {
|
|
2
|
+
constructor(httpRequest) {
|
|
3
|
+
this.httpRequest = httpRequest;
|
|
4
|
+
}
|
|
5
|
+
getContractMetadata({
|
|
6
|
+
chainId,
|
|
7
|
+
address
|
|
8
|
+
}) {
|
|
9
|
+
return this.httpRequest.request({
|
|
10
|
+
method: "GET",
|
|
11
|
+
url: "/v1/chains/{chainId}/addresses/{address}",
|
|
12
|
+
path: {
|
|
13
|
+
"chainId": chainId,
|
|
14
|
+
"address": address
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { EvmContractsService };
|
|
@@ -27,7 +27,7 @@ class EvmTransactionsService {
|
|
|
27
27
|
}) {
|
|
28
28
|
return this.httpRequest.request({
|
|
29
29
|
method: "GET",
|
|
30
|
-
url: "/v1/chains/{chainId}/
|
|
30
|
+
url: "/v1/chains/{chainId}/contracts/{address}/deployments",
|
|
31
31
|
path: {
|
|
32
32
|
"chainId": chainId,
|
|
33
33
|
"address": address
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Erc1155Token } from '../models/Erc1155Token.js';
|
|
2
|
+
import { Erc721Token } from '../models/Erc721Token.js';
|
|
3
|
+
import { CancelablePromise } from '../core/CancelablePromise.js';
|
|
4
|
+
import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
|
|
5
|
+
|
|
6
|
+
declare class NfTsService {
|
|
7
|
+
readonly httpRequest: BaseHttpRequest;
|
|
8
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
9
|
+
/**
|
|
10
|
+
* Reindex NFT metadata
|
|
11
|
+
* Triggers reindexing of token metadata for an NFT token. Reindexing can only be called once per hour for each NFT token.
|
|
12
|
+
* @returns any
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
reindexNft({ chainId, address, tokenId, }: {
|
|
16
|
+
/**
|
|
17
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
18
|
+
*/
|
|
19
|
+
chainId: string;
|
|
20
|
+
/**
|
|
21
|
+
* Contract address on the relevant chain.
|
|
22
|
+
*/
|
|
23
|
+
address: string;
|
|
24
|
+
/**
|
|
25
|
+
* TokenId on the contract
|
|
26
|
+
*/
|
|
27
|
+
tokenId: string;
|
|
28
|
+
}): CancelablePromise<any>;
|
|
29
|
+
/**
|
|
30
|
+
* Get token details
|
|
31
|
+
* Gets token details for a specific token of an NFT contract.
|
|
32
|
+
* @returns any
|
|
33
|
+
* @throws ApiError
|
|
34
|
+
*/
|
|
35
|
+
getTokenDetails({ chainId, address, tokenId, }: {
|
|
36
|
+
/**
|
|
37
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
38
|
+
*/
|
|
39
|
+
chainId: string;
|
|
40
|
+
/**
|
|
41
|
+
* Contract address on the relevant chain.
|
|
42
|
+
*/
|
|
43
|
+
address: string;
|
|
44
|
+
/**
|
|
45
|
+
* TokenId on the contract
|
|
46
|
+
*/
|
|
47
|
+
tokenId: string;
|
|
48
|
+
}): CancelablePromise<(Erc721Token | Erc1155Token)>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export { NfTsService };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
class NfTsService {
|
|
2
|
+
constructor(httpRequest) {
|
|
3
|
+
this.httpRequest = httpRequest;
|
|
4
|
+
}
|
|
5
|
+
reindexNft({
|
|
6
|
+
chainId,
|
|
7
|
+
address,
|
|
8
|
+
tokenId
|
|
9
|
+
}) {
|
|
10
|
+
return this.httpRequest.request({
|
|
11
|
+
method: "POST",
|
|
12
|
+
url: "/v1/chains/{chainId}/nfts/collections/{address}/tokens/{tokenId}:reindex",
|
|
13
|
+
path: {
|
|
14
|
+
"chainId": chainId,
|
|
15
|
+
"address": address,
|
|
16
|
+
"tokenId": tokenId
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
getTokenDetails({
|
|
21
|
+
chainId,
|
|
22
|
+
address,
|
|
23
|
+
tokenId
|
|
24
|
+
}) {
|
|
25
|
+
return this.httpRequest.request({
|
|
26
|
+
method: "GET",
|
|
27
|
+
url: "/v1/chains/{chainId}/nfts/collections/{address}/tokens/{tokenId}",
|
|
28
|
+
path: {
|
|
29
|
+
"chainId": chainId,
|
|
30
|
+
"address": address,
|
|
31
|
+
"tokenId": tokenId
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { NfTsService };
|
|
@@ -186,15 +186,11 @@ declare class PrimaryNetworkService {
|
|
|
186
186
|
* @returns ListDelegatorDetailsResponse
|
|
187
187
|
* @throws ApiError
|
|
188
188
|
*/
|
|
189
|
-
listDelegators({ network,
|
|
189
|
+
listDelegators({ network, pageSize, pageToken, sortOrder, delegationStatus, rewardAddresses, nodeIds, }: {
|
|
190
190
|
/**
|
|
191
191
|
* Either mainnet or a testnet.
|
|
192
192
|
*/
|
|
193
193
|
network: Network;
|
|
194
|
-
/**
|
|
195
|
-
* A primary network (P or X chain) nodeId.
|
|
196
|
-
*/
|
|
197
|
-
nodeId: string;
|
|
198
194
|
/**
|
|
199
195
|
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
200
196
|
*/
|
|
@@ -131,7 +131,6 @@ class PrimaryNetworkService {
|
|
|
131
131
|
}
|
|
132
132
|
listDelegators({
|
|
133
133
|
network,
|
|
134
|
-
nodeId,
|
|
135
134
|
pageSize = 10,
|
|
136
135
|
pageToken,
|
|
137
136
|
sortOrder,
|
|
@@ -143,8 +142,7 @@ class PrimaryNetworkService {
|
|
|
143
142
|
method: "GET",
|
|
144
143
|
url: "/v1/networks/{network}/delegators",
|
|
145
144
|
path: {
|
|
146
|
-
"network": network
|
|
147
|
-
"nodeId": nodeId
|
|
145
|
+
"network": network
|
|
148
146
|
},
|
|
149
147
|
query: {
|
|
150
148
|
"pageSize": pageSize,
|
|
@@ -40,7 +40,11 @@ declare class PrimaryNetworkTransactionsService {
|
|
|
40
40
|
}): CancelablePromise<(PChainTransaction | XChainNonLinearTransaction | XChainLinearTransaction | CChainExportTransaction | CChainImportTransaction)>;
|
|
41
41
|
/**
|
|
42
42
|
* List latest transactions
|
|
43
|
-
* Lists the latest transactions on one of the Primary Network chains.
|
|
43
|
+
* Lists the latest transactions on one of the Primary Network chains.
|
|
44
|
+
*
|
|
45
|
+
* Transactions are filterable by addresses.
|
|
46
|
+
*
|
|
47
|
+
* Given that each transaction may return a large number of UTXO objects, bounded only by the maximum transaction size, the query may return less transactions than the provided page size. The result will contain less results than the page size if the number of utxos contained in the resulting transactions reach a performance threshold.
|
|
44
48
|
* @returns any
|
|
45
49
|
* @throws ApiError
|
|
46
50
|
*/
|
package/esm/index.d.ts
CHANGED
|
@@ -112,6 +112,7 @@ export { PChainUtxo } from './generated/models/PChainUtxo.js';
|
|
|
112
112
|
export { PendingDelegatorDetails } from './generated/models/PendingDelegatorDetails.js';
|
|
113
113
|
export { PendingReward } from './generated/models/PendingReward.js';
|
|
114
114
|
export { PendingValidatorDetails } from './generated/models/PendingValidatorDetails.js';
|
|
115
|
+
export { PricingProviders } from './generated/models/PricingProviders.js';
|
|
115
116
|
export { PrimaryNetwork } from './generated/models/PrimaryNetwork.js';
|
|
116
117
|
export { PrimaryNetworkBlock } from './generated/models/PrimaryNetworkBlock.js';
|
|
117
118
|
export { PrimaryNetworkChainInfo } from './generated/models/PrimaryNetworkChainInfo.js';
|
|
@@ -151,8 +152,10 @@ export { XChainVertex } from './generated/models/XChainVertex.js';
|
|
|
151
152
|
export { EvmBalancesService } from './generated/services/EvmBalancesService.js';
|
|
152
153
|
export { EvmBlocksService } from './generated/services/EvmBlocksService.js';
|
|
153
154
|
export { EvmChainsService } from './generated/services/EvmChainsService.js';
|
|
155
|
+
export { EvmContractsService } from './generated/services/EvmContractsService.js';
|
|
154
156
|
export { EvmTransactionsService } from './generated/services/EvmTransactionsService.js';
|
|
155
157
|
export { HealthCheckService } from './generated/services/HealthCheckService.js';
|
|
158
|
+
export { NfTsService } from './generated/services/NfTsService.js';
|
|
156
159
|
export { OperationsService } from './generated/services/OperationsService.js';
|
|
157
160
|
export { PrimaryNetworkService } from './generated/services/PrimaryNetworkService.js';
|
|
158
161
|
export { PrimaryNetworkBalancesService } from './generated/services/PrimaryNetworkBalancesService.js';
|
package/esm/index.js
CHANGED
|
@@ -3,11 +3,15 @@ export { ApiError } from './generated/core/ApiError.js';
|
|
|
3
3
|
export { BaseHttpRequest } from './generated/core/BaseHttpRequest.js';
|
|
4
4
|
export { CancelError, CancelablePromise } from './generated/core/CancelablePromise.js';
|
|
5
5
|
export { OpenAPI } from './generated/core/OpenAPI.js';
|
|
6
|
+
export { ActiveDelegatorDetails } from './generated/models/ActiveDelegatorDetails.js';
|
|
7
|
+
export { ActiveValidatorDetails } from './generated/models/ActiveValidatorDetails.js';
|
|
6
8
|
export { BlockchainId } from './generated/models/BlockchainId.js';
|
|
7
9
|
export { BlockchainIds } from './generated/models/BlockchainIds.js';
|
|
8
10
|
export { CChainExportTransaction } from './generated/models/CChainExportTransaction.js';
|
|
9
11
|
export { CChainImportTransaction } from './generated/models/CChainImportTransaction.js';
|
|
10
12
|
export { ChainStatus } from './generated/models/ChainStatus.js';
|
|
13
|
+
export { CompletedDelegatorDetails } from './generated/models/CompletedDelegatorDetails.js';
|
|
14
|
+
export { CompletedValidatorDetails } from './generated/models/CompletedValidatorDetails.js';
|
|
11
15
|
export { CreateEvmTransactionExportRequest } from './generated/models/CreateEvmTransactionExportRequest.js';
|
|
12
16
|
export { CreatePrimaryNetworkTransactionExportRequest } from './generated/models/CreatePrimaryNetworkTransactionExportRequest.js';
|
|
13
17
|
export { CurrencyCode } from './generated/models/CurrencyCode.js';
|
|
@@ -30,6 +34,8 @@ export { OperationStatusCode } from './generated/models/OperationStatusCode.js';
|
|
|
30
34
|
export { OperationType } from './generated/models/OperationType.js';
|
|
31
35
|
export { PChainId } from './generated/models/PChainId.js';
|
|
32
36
|
export { PChainTransactionType } from './generated/models/PChainTransactionType.js';
|
|
37
|
+
export { PendingDelegatorDetails } from './generated/models/PendingDelegatorDetails.js';
|
|
38
|
+
export { PendingValidatorDetails } from './generated/models/PendingValidatorDetails.js';
|
|
33
39
|
export { PrimaryNetwork } from './generated/models/PrimaryNetwork.js';
|
|
34
40
|
export { PrimaryNetworkChainName } from './generated/models/PrimaryNetworkChainName.js';
|
|
35
41
|
export { PrimaryNetworkTxType } from './generated/models/PrimaryNetworkTxType.js';
|
|
@@ -48,8 +54,10 @@ export { XChainNonLinearTransaction } from './generated/models/XChainNonLinearTr
|
|
|
48
54
|
export { EvmBalancesService } from './generated/services/EvmBalancesService.js';
|
|
49
55
|
export { EvmBlocksService } from './generated/services/EvmBlocksService.js';
|
|
50
56
|
export { EvmChainsService } from './generated/services/EvmChainsService.js';
|
|
57
|
+
export { EvmContractsService } from './generated/services/EvmContractsService.js';
|
|
51
58
|
export { EvmTransactionsService } from './generated/services/EvmTransactionsService.js';
|
|
52
59
|
export { HealthCheckService } from './generated/services/HealthCheckService.js';
|
|
60
|
+
export { NfTsService } from './generated/services/NfTsService.js';
|
|
53
61
|
export { OperationsService } from './generated/services/OperationsService.js';
|
|
54
62
|
export { PrimaryNetworkService } from './generated/services/PrimaryNetworkService.js';
|
|
55
63
|
export { PrimaryNetworkBalancesService } from './generated/services/PrimaryNetworkBalancesService.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avalabs/glacier-sdk",
|
|
3
|
-
"version": "2.8.0-canary.
|
|
3
|
+
"version": "2.8.0-canary.aeb3588.0+aeb3588",
|
|
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": "aeb358894c10c019fc40216dc4ed29f7011ea278"
|
|
33
33
|
}
|