@avalabs/glacier-sdk 3.1.0-alpha.82 → 3.1.0-alpha.84
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.cjs +1 -1
- package/dist/index.d.ts +14 -251
- package/esm/generated/Glacier.d.ts +0 -4
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/core/OpenAPI.js +1 -1
- package/esm/generated/services/EvmContractsService.d.ts +0 -19
- package/esm/generated/services/EvmContractsService.js +1 -1
- package/esm/index.d.ts +0 -14
- package/esm/index.js +1 -1
- package/package.json +2 -2
- package/esm/generated/models/AccessRequest.d.ts +0 -12
- package/esm/generated/models/ContractSubmissionBody.d.ts +0 -10
- package/esm/generated/models/ContractSubmissionErc1155.d.ts +0 -31
- package/esm/generated/models/ContractSubmissionErc1155.js +0 -1
- package/esm/generated/models/ContractSubmissionErc20.d.ts +0 -31
- package/esm/generated/models/ContractSubmissionErc20.js +0 -1
- package/esm/generated/models/ContractSubmissionErc721.d.ts +0 -29
- package/esm/generated/models/ContractSubmissionErc721.js +0 -1
- package/esm/generated/models/ContractSubmissionUnknown.d.ts +0 -25
- package/esm/generated/models/ContractSubmissionUnknown.js +0 -1
- package/esm/generated/models/NotificationsResponse.d.ts +0 -5
- package/esm/generated/models/SubscribeRequest.d.ts +0 -16
- package/esm/generated/models/SubscriptionsRequest.d.ts +0 -8
- package/esm/generated/models/SubscriptionsResponse.d.ts +0 -14
- package/esm/generated/models/UnsubscribeRequest.d.ts +0 -12
- package/esm/generated/models/UpdateContractResponse.d.ts +0 -10
- package/esm/generated/services/DefaultService.d.ts +0 -14
- package/esm/generated/services/DefaultService.js +0 -1
- package/esm/generated/services/NotificationsService.d.ts +0 -51
- package/esm/generated/services/NotificationsService.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -678,16 +678,6 @@ declare class DataApiUsageMetricsService {
|
|
|
678
678
|
}): CancelablePromise<PrimaryNetworkRpcUsageMetricsResponseDTO>;
|
|
679
679
|
}
|
|
680
680
|
|
|
681
|
-
declare class DefaultService {
|
|
682
|
-
readonly httpRequest: BaseHttpRequest;
|
|
683
|
-
constructor(httpRequest: BaseHttpRequest);
|
|
684
|
-
/**
|
|
685
|
-
* @returns any
|
|
686
|
-
* @throws ApiError
|
|
687
|
-
*/
|
|
688
|
-
mediaControllerUploadImage(): CancelablePromise<any>;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
681
|
/**
|
|
692
682
|
* ISO 4217 currency code.
|
|
693
683
|
*/
|
|
@@ -1642,6 +1632,18 @@ declare class EvmChainsService {
|
|
|
1642
1632
|
}): CancelablePromise<ListEvmBlocksResponse>;
|
|
1643
1633
|
}
|
|
1644
1634
|
|
|
1635
|
+
type ContractDeploymentDetails = {
|
|
1636
|
+
txHash: string;
|
|
1637
|
+
/**
|
|
1638
|
+
* The address that initiated the transaction which deployed this contract.
|
|
1639
|
+
*/
|
|
1640
|
+
deployerAddress: string;
|
|
1641
|
+
/**
|
|
1642
|
+
* The contract address which deployed this contract via smart contract. This field is only populated when the contract was deployed as part of smart contract execution.
|
|
1643
|
+
*/
|
|
1644
|
+
deployerContractAddress?: string;
|
|
1645
|
+
};
|
|
1646
|
+
|
|
1645
1647
|
type ImageAsset = {
|
|
1646
1648
|
assetId?: string;
|
|
1647
1649
|
/**
|
|
@@ -1680,120 +1682,6 @@ type ResourceLink = {
|
|
|
1680
1682
|
url: string;
|
|
1681
1683
|
};
|
|
1682
1684
|
|
|
1683
|
-
type ContractSubmissionErc1155 = {
|
|
1684
|
-
description?: string;
|
|
1685
|
-
officialSite?: string;
|
|
1686
|
-
email?: string;
|
|
1687
|
-
logoAsset?: ImageAsset;
|
|
1688
|
-
bannerAsset?: ImageAsset;
|
|
1689
|
-
color?: string;
|
|
1690
|
-
resourceLinks?: Array<ResourceLink>;
|
|
1691
|
-
tags?: Array<string>;
|
|
1692
|
-
/**
|
|
1693
|
-
* The contract name.
|
|
1694
|
-
*/
|
|
1695
|
-
name: string;
|
|
1696
|
-
ercType: ContractSubmissionErc1155.ercType;
|
|
1697
|
-
/**
|
|
1698
|
-
* The contract symbol.
|
|
1699
|
-
*/
|
|
1700
|
-
symbol: string;
|
|
1701
|
-
pricingProviders?: PricingProviders;
|
|
1702
|
-
};
|
|
1703
|
-
declare namespace ContractSubmissionErc1155 {
|
|
1704
|
-
enum ercType {
|
|
1705
|
-
ERC_1155 = "ERC-1155"
|
|
1706
|
-
}
|
|
1707
|
-
}
|
|
1708
|
-
|
|
1709
|
-
type ContractSubmissionErc20 = {
|
|
1710
|
-
description?: string;
|
|
1711
|
-
officialSite?: string;
|
|
1712
|
-
email?: string;
|
|
1713
|
-
logoAsset?: ImageAsset;
|
|
1714
|
-
bannerAsset?: ImageAsset;
|
|
1715
|
-
color?: string;
|
|
1716
|
-
resourceLinks?: Array<ResourceLink>;
|
|
1717
|
-
tags?: Array<string>;
|
|
1718
|
-
/**
|
|
1719
|
-
* The contract name.
|
|
1720
|
-
*/
|
|
1721
|
-
name: string;
|
|
1722
|
-
ercType: ContractSubmissionErc20.ercType;
|
|
1723
|
-
/**
|
|
1724
|
-
* The contract symbol.
|
|
1725
|
-
*/
|
|
1726
|
-
symbol: string;
|
|
1727
|
-
pricingProviders?: PricingProviders;
|
|
1728
|
-
};
|
|
1729
|
-
declare namespace ContractSubmissionErc20 {
|
|
1730
|
-
enum ercType {
|
|
1731
|
-
ERC_20 = "ERC-20"
|
|
1732
|
-
}
|
|
1733
|
-
}
|
|
1734
|
-
|
|
1735
|
-
type ContractSubmissionErc721 = {
|
|
1736
|
-
description?: string;
|
|
1737
|
-
officialSite?: string;
|
|
1738
|
-
email?: string;
|
|
1739
|
-
logoAsset?: ImageAsset;
|
|
1740
|
-
bannerAsset?: ImageAsset;
|
|
1741
|
-
color?: string;
|
|
1742
|
-
resourceLinks?: Array<ResourceLink>;
|
|
1743
|
-
tags?: Array<string>;
|
|
1744
|
-
/**
|
|
1745
|
-
* The contract name.
|
|
1746
|
-
*/
|
|
1747
|
-
name: string;
|
|
1748
|
-
ercType: ContractSubmissionErc721.ercType;
|
|
1749
|
-
/**
|
|
1750
|
-
* The contract symbol.
|
|
1751
|
-
*/
|
|
1752
|
-
symbol: string;
|
|
1753
|
-
};
|
|
1754
|
-
declare namespace ContractSubmissionErc721 {
|
|
1755
|
-
enum ercType {
|
|
1756
|
-
ERC_721 = "ERC-721"
|
|
1757
|
-
}
|
|
1758
|
-
}
|
|
1759
|
-
|
|
1760
|
-
type ContractSubmissionUnknown = {
|
|
1761
|
-
description?: string;
|
|
1762
|
-
officialSite?: string;
|
|
1763
|
-
email?: string;
|
|
1764
|
-
logoAsset?: ImageAsset;
|
|
1765
|
-
bannerAsset?: ImageAsset;
|
|
1766
|
-
color?: string;
|
|
1767
|
-
resourceLinks?: Array<ResourceLink>;
|
|
1768
|
-
tags?: Array<string>;
|
|
1769
|
-
/**
|
|
1770
|
-
* The contract name.
|
|
1771
|
-
*/
|
|
1772
|
-
name: string;
|
|
1773
|
-
ercType: ContractSubmissionUnknown.ercType;
|
|
1774
|
-
};
|
|
1775
|
-
declare namespace ContractSubmissionUnknown {
|
|
1776
|
-
enum ercType {
|
|
1777
|
-
UNKNOWN = "UNKNOWN"
|
|
1778
|
-
}
|
|
1779
|
-
}
|
|
1780
|
-
|
|
1781
|
-
type ContractSubmissionBody = {
|
|
1782
|
-
contract: (ContractSubmissionErc1155 | ContractSubmissionErc20 | ContractSubmissionErc721 | ContractSubmissionUnknown);
|
|
1783
|
-
};
|
|
1784
|
-
|
|
1785
|
-
type ContractDeploymentDetails = {
|
|
1786
|
-
txHash: string;
|
|
1787
|
-
/**
|
|
1788
|
-
* The address that initiated the transaction which deployed this contract.
|
|
1789
|
-
*/
|
|
1790
|
-
deployerAddress: string;
|
|
1791
|
-
/**
|
|
1792
|
-
* The contract address which deployed this contract via smart contract. This field is only populated when the contract was deployed as part of smart contract execution.
|
|
1793
|
-
*/
|
|
1794
|
-
deployerContractAddress?: string;
|
|
1795
|
-
};
|
|
1796
|
-
|
|
1797
1685
|
type Erc1155Contract = {
|
|
1798
1686
|
/**
|
|
1799
1687
|
* The contract name.
|
|
@@ -1916,10 +1804,6 @@ declare namespace UnknownContract {
|
|
|
1916
1804
|
}
|
|
1917
1805
|
}
|
|
1918
1806
|
|
|
1919
|
-
type UpdateContractResponse = {
|
|
1920
|
-
contract: (UnknownContract | Erc20Contract | Erc721Contract | Erc1155Contract);
|
|
1921
|
-
};
|
|
1922
|
-
|
|
1923
1807
|
declare class EvmContractsService {
|
|
1924
1808
|
readonly httpRequest: BaseHttpRequest;
|
|
1925
1809
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -1939,23 +1823,6 @@ declare class EvmContractsService {
|
|
|
1939
1823
|
*/
|
|
1940
1824
|
address: string;
|
|
1941
1825
|
}): CancelablePromise<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
|
|
1942
|
-
/**
|
|
1943
|
-
* Update contract information
|
|
1944
|
-
* Update contract information. Updates will be reviewed by the Ava Labs team before they are published.
|
|
1945
|
-
* @returns UpdateContractResponse Successful response
|
|
1946
|
-
* @throws ApiError
|
|
1947
|
-
*/
|
|
1948
|
-
updateContractInfo({ chainId, address, requestBody, }: {
|
|
1949
|
-
/**
|
|
1950
|
-
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1951
|
-
*/
|
|
1952
|
-
chainId: string;
|
|
1953
|
-
/**
|
|
1954
|
-
* Contract address on the relevant chain.
|
|
1955
|
-
*/
|
|
1956
|
-
address: string;
|
|
1957
|
-
requestBody: ContractSubmissionBody;
|
|
1958
|
-
}): CancelablePromise<UpdateContractResponse>;
|
|
1959
1826
|
}
|
|
1960
1827
|
|
|
1961
1828
|
type Erc1155Token = {
|
|
@@ -3239,108 +3106,6 @@ declare class NfTsService {
|
|
|
3239
3106
|
}): CancelablePromise<(Erc721Token | Erc1155Token)>;
|
|
3240
3107
|
}
|
|
3241
3108
|
|
|
3242
|
-
type AccessRequest = {
|
|
3243
|
-
/**
|
|
3244
|
-
* The email address to send the access token to
|
|
3245
|
-
*/
|
|
3246
|
-
email: string;
|
|
3247
|
-
/**
|
|
3248
|
-
* The captcha to verify the user
|
|
3249
|
-
*/
|
|
3250
|
-
captcha: string;
|
|
3251
|
-
};
|
|
3252
|
-
|
|
3253
|
-
type NotificationsResponse = {
|
|
3254
|
-
message: string;
|
|
3255
|
-
};
|
|
3256
|
-
|
|
3257
|
-
type SubscribeRequest = {
|
|
3258
|
-
/**
|
|
3259
|
-
* The access token to use for authentication
|
|
3260
|
-
*/
|
|
3261
|
-
accessToken: string;
|
|
3262
|
-
/**
|
|
3263
|
-
* The node ID to subscribe to
|
|
3264
|
-
*/
|
|
3265
|
-
nodeId: string;
|
|
3266
|
-
/**
|
|
3267
|
-
* The notification types to subscribe to. If not provided, all notification types will be subscribed to
|
|
3268
|
-
*/
|
|
3269
|
-
notifications?: Array<'connectivity' | 'ports' | 'version'>;
|
|
3270
|
-
};
|
|
3271
|
-
|
|
3272
|
-
type SubscriptionsRequest = {
|
|
3273
|
-
/**
|
|
3274
|
-
* The access token to use for authentication
|
|
3275
|
-
*/
|
|
3276
|
-
accessToken: string;
|
|
3277
|
-
};
|
|
3278
|
-
|
|
3279
|
-
type SubscriptionsResponse = {
|
|
3280
|
-
/**
|
|
3281
|
-
* The email address of the user
|
|
3282
|
-
*/
|
|
3283
|
-
email: string;
|
|
3284
|
-
/**
|
|
3285
|
-
* The subscriptions of the user
|
|
3286
|
-
*/
|
|
3287
|
-
subscriptions: Record<string, {
|
|
3288
|
-
notifications?: Array<'connectivity' | 'ports' | 'version'>;
|
|
3289
|
-
}>;
|
|
3290
|
-
};
|
|
3291
|
-
|
|
3292
|
-
type UnsubscribeRequest = {
|
|
3293
|
-
/**
|
|
3294
|
-
* The access token to use for authentication
|
|
3295
|
-
*/
|
|
3296
|
-
accessToken: string;
|
|
3297
|
-
/**
|
|
3298
|
-
* The node ID to subscribe to
|
|
3299
|
-
*/
|
|
3300
|
-
nodeId: string;
|
|
3301
|
-
};
|
|
3302
|
-
|
|
3303
|
-
declare class NotificationsService {
|
|
3304
|
-
readonly httpRequest: BaseHttpRequest;
|
|
3305
|
-
constructor(httpRequest: BaseHttpRequest);
|
|
3306
|
-
/**
|
|
3307
|
-
* Access Notifications
|
|
3308
|
-
* Access notifications.
|
|
3309
|
-
* @returns NotificationsResponse Successful response
|
|
3310
|
-
* @throws ApiError
|
|
3311
|
-
*/
|
|
3312
|
-
access({ requestBody, }: {
|
|
3313
|
-
requestBody: AccessRequest;
|
|
3314
|
-
}): CancelablePromise<NotificationsResponse>;
|
|
3315
|
-
/**
|
|
3316
|
-
* Subscribe to Notifications
|
|
3317
|
-
* Subscribe to receive notifications.
|
|
3318
|
-
* @returns NotificationsResponse Successful response
|
|
3319
|
-
* @throws ApiError
|
|
3320
|
-
*/
|
|
3321
|
-
subscribe({ requestBody, }: {
|
|
3322
|
-
requestBody: SubscribeRequest;
|
|
3323
|
-
}): CancelablePromise<NotificationsResponse>;
|
|
3324
|
-
/**
|
|
3325
|
-
* Unsubscribe from Notifications
|
|
3326
|
-
* Unsubscribe from receiving notifications.
|
|
3327
|
-
* @returns NotificationsResponse Successful response
|
|
3328
|
-
* @throws ApiError
|
|
3329
|
-
*/
|
|
3330
|
-
unsubscribe({ requestBody, }: {
|
|
3331
|
-
requestBody: UnsubscribeRequest;
|
|
3332
|
-
}): CancelablePromise<NotificationsResponse>;
|
|
3333
|
-
/**
|
|
3334
|
-
* Get Subscriptions
|
|
3335
|
-
* Get subscriptions.
|
|
3336
|
-
* @returns SubscriptionsResponse Successful response
|
|
3337
|
-
* @throws ApiError
|
|
3338
|
-
*/
|
|
3339
|
-
subscriptions({ requestBody, }: {
|
|
3340
|
-
requestBody: SubscriptionsRequest;
|
|
3341
|
-
}): CancelablePromise<SubscriptionsResponse>;
|
|
3342
|
-
}
|
|
3343
|
-
|
|
3344
3109
|
type EvmNetworkOptions = {
|
|
3345
3110
|
addresses: Array<string>;
|
|
3346
3111
|
includeChains: Array<string>;
|
|
@@ -6922,7 +6687,6 @@ type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
|
6922
6687
|
declare class Glacier {
|
|
6923
6688
|
readonly avaxSupply: AvaxSupplyService;
|
|
6924
6689
|
readonly dataApiUsageMetrics: DataApiUsageMetricsService;
|
|
6925
|
-
readonly default: DefaultService;
|
|
6926
6690
|
readonly evmBalances: EvmBalancesService;
|
|
6927
6691
|
readonly evmBlocks: EvmBlocksService;
|
|
6928
6692
|
readonly evmChains: EvmChainsService;
|
|
@@ -6931,7 +6695,6 @@ declare class Glacier {
|
|
|
6931
6695
|
readonly healthCheck: HealthCheckService;
|
|
6932
6696
|
readonly interchainMessaging: InterchainMessagingService;
|
|
6933
6697
|
readonly nfTs: NfTsService;
|
|
6934
|
-
readonly notifications: NotificationsService;
|
|
6935
6698
|
readonly operations: OperationsService;
|
|
6936
6699
|
readonly primaryNetwork: PrimaryNetworkService;
|
|
6937
6700
|
readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
|
|
@@ -7429,5 +7192,5 @@ declare class FetchHttpRequest extends BaseHttpRequest {
|
|
|
7429
7192
|
request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
7430
7193
|
}
|
|
7431
7194
|
|
|
7432
|
-
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityEventType, ApiError, ApiFeature, AvaxSupplyService, BaseHttpRequest, BlockchainId, BlockchainIds, CChainExportTransaction, CChainImportTransaction, CancelError, CancelablePromise, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails,
|
|
7433
|
-
export type { AccessListData,
|
|
7195
|
+
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityEventType, ApiError, ApiFeature, AvaxSupplyService, BaseHttpRequest, BlockchainId, BlockchainIds, CChainExportTransaction, CChainImportTransaction, CancelError, CancelablePromise, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, CurrencyCode, DataApiUsageMetricsService, DelegationStatusType, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMAddressActivityRequest, EVMOperationType, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20TokenV2, Erc721Contract, Erc721Token, Erc721TokenBalance, EvmBalancesService, EvmBlocksService, EvmChainsService, EvmContractsService, EvmTransactionsService, FetchHttpRequest, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, IcmRewardDetails, InterchainMessagingService, InternalTransactionOpCall, Network, NfTsService, NftTokenMetadataStatus, OpenAPI, OperationStatus, OperationStatusCode, OperationType, OperationsService, PChainId, PChainTransactionType, PendingDelegatorDetails, PendingIcmMessage, PendingTeleporterMessage, PendingValidatorDetails, PlatformAddressActivityKeyType, PrimaryNetworkAddressActivityEventType, PrimaryNetworkAddressActivityRequest, PrimaryNetworkAddressActivitySubEventType, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlocksService, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, RemovedValidatorDetails, RequestType, ResourceLinkType, RewardType, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, SignatureAggregatorService, SortByOption, SortOrder, SubnetRpcTimeIntervalGranularity, TeleporterRewardDetails, TeleporterService, TimeIntervalGranularityExtended, TransactionDirectionType, TransactionMethodType, TransactionStatus, UnknownContract, UsageMetricsGroupByEnum, UsageMetricsValueDTO, UtxoType, UtxosSortByOption, ValidationStatusType, ValidatorActivityEventType, ValidatorActivityKeyType, ValidatorActivityRequest, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainTransactionType };
|
|
7196
|
+
export type { AccessListData, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiRequestOptions, AssetAmount, AssetWithPriceInfo, AvaxSupplyResponse, BadGateway, BadRequest, BalanceOwner, Blockchain, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainSharedAssetBalance, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ContractDeploymentDetails, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, DataListChainsResponse, DelegatorsDetails, ERCToken, ERCTransfer, EVMAddressActivityResponse, EVMInput, EVMOutput, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Transfer, Erc20TransferDetails, Erc20TransferDetailsV2, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EvmBlock, EvmGenesisAllocDto, EvmGenesisAllowListConfigDto, EvmGenesisConfigDto, EvmGenesisDto, EvmGenesisFeeConfigDto, EvmGenesisWarpConfigDto, EvmNetworkOptions, Forbidden, FullNativeTransactionDetails, Geolocation, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmSourceTransaction, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, LastActivityTimestamp, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListIcmMessagesResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransactionDetailsResponseV2, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Log, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NotFound, OpenAPIConfig, OperationStatusResponse, PChainBalance, PChainSharedAsset, PChainTransaction, PChainUtxo, PendingReward, PricingProviders, PrimaryNetworkAddressActivityMetadata, PrimaryNetworkAddressActivityResponse, PrimaryNetworkAddressActivitySubEvents, PrimaryNetworkAddressesBodyDto, PrimaryNetworkBalanceThresholdFilter, PrimaryNetworkBlock, PrimaryNetworkChainInfo, PrimaryNetworkOptions, ProposerDetails, ResourceLink, Rewards, RichAddress, RpcMetrics, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcUsageMetricsResponseDTO, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterSourceTransaction, TooManyRequests, Transaction, TransactionDetails, TransactionDetailsV2, TransactionEvent, TransactionExportMetadata, TransactionVertexDetail, Unauthorized, UpdateWebhookRequest, UsageMetricsResponseDTO, UtilityAddresses, Utxo, UtxoCredential, ValidatorActivityMetadata, ValidatorActivityResponse, ValidatorActivitySubEvents, ValidatorHealthDetails, ValidatorsDetails, WebhookInternalTransaction, XChainAssetDetails, XChainBalances, XChainSharedAssetBalance, XChainVertex };
|
|
@@ -2,7 +2,6 @@ import { BaseHttpRequest } from './core/BaseHttpRequest.js';
|
|
|
2
2
|
import { OpenAPIConfig } from './core/OpenAPI.js';
|
|
3
3
|
import { AvaxSupplyService } from './services/AvaxSupplyService.js';
|
|
4
4
|
import { DataApiUsageMetricsService } from './services/DataApiUsageMetricsService.js';
|
|
5
|
-
import { DefaultService } from './services/DefaultService.js';
|
|
6
5
|
import { EvmBalancesService } from './services/EvmBalancesService.js';
|
|
7
6
|
import { EvmBlocksService } from './services/EvmBlocksService.js';
|
|
8
7
|
import { EvmChainsService } from './services/EvmChainsService.js';
|
|
@@ -11,7 +10,6 @@ import { EvmTransactionsService } from './services/EvmTransactionsService.js';
|
|
|
11
10
|
import { HealthCheckService } from './services/HealthCheckService.js';
|
|
12
11
|
import { InterchainMessagingService } from './services/InterchainMessagingService.js';
|
|
13
12
|
import { NfTsService } from './services/NfTsService.js';
|
|
14
|
-
import { NotificationsService } from './services/NotificationsService.js';
|
|
15
13
|
import { OperationsService } from './services/OperationsService.js';
|
|
16
14
|
import { PrimaryNetworkService } from './services/PrimaryNetworkService.js';
|
|
17
15
|
import { PrimaryNetworkBalancesService } from './services/PrimaryNetworkBalancesService.js';
|
|
@@ -28,7 +26,6 @@ type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
|
28
26
|
declare class Glacier {
|
|
29
27
|
readonly avaxSupply: AvaxSupplyService;
|
|
30
28
|
readonly dataApiUsageMetrics: DataApiUsageMetricsService;
|
|
31
|
-
readonly default: DefaultService;
|
|
32
29
|
readonly evmBalances: EvmBalancesService;
|
|
33
30
|
readonly evmBlocks: EvmBlocksService;
|
|
34
31
|
readonly evmChains: EvmChainsService;
|
|
@@ -37,7 +34,6 @@ declare class Glacier {
|
|
|
37
34
|
readonly healthCheck: HealthCheckService;
|
|
38
35
|
readonly interchainMessaging: InterchainMessagingService;
|
|
39
36
|
readonly nfTs: NfTsService;
|
|
40
|
-
readonly notifications: NotificationsService;
|
|
41
37
|
readonly operations: OperationsService;
|
|
42
38
|
readonly primaryNetwork: PrimaryNetworkService;
|
|
43
39
|
readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
|
package/esm/generated/Glacier.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{FetchHttpRequest as e}from"./core/FetchHttpRequest.js";import{AvaxSupplyService as r}from"./services/AvaxSupplyService.js";import{DataApiUsageMetricsService as s}from"./services/DataApiUsageMetricsService.js";import{
|
|
1
|
+
import{FetchHttpRequest as e}from"./core/FetchHttpRequest.js";import{AvaxSupplyService as r}from"./services/AvaxSupplyService.js";import{DataApiUsageMetricsService as s}from"./services/DataApiUsageMetricsService.js";import{EvmBalancesService as t}from"./services/EvmBalancesService.js";import{EvmBlocksService as i}from"./services/EvmBlocksService.js";import{EvmChainsService as o}from"./services/EvmChainsService.js";import{EvmContractsService as a}from"./services/EvmContractsService.js";import{EvmTransactionsService as c}from"./services/EvmTransactionsService.js";import{HealthCheckService as m}from"./services/HealthCheckService.js";import{InterchainMessagingService as n}from"./services/InterchainMessagingService.js";import{NfTsService as h}from"./services/NfTsService.js";import{OperationsService as v}from"./services/OperationsService.js";import{PrimaryNetworkService as p}from"./services/PrimaryNetworkService.js";import{PrimaryNetworkBalancesService as w}from"./services/PrimaryNetworkBalancesService.js";import{PrimaryNetworkBlocksService as S}from"./services/PrimaryNetworkBlocksService.js";import{PrimaryNetworkRewardsService as k}from"./services/PrimaryNetworkRewardsService.js";import{PrimaryNetworkTransactionsService as N}from"./services/PrimaryNetworkTransactionsService.js";import{PrimaryNetworkUtxOsService as u}from"./services/PrimaryNetworkUtxOsService.js";import{PrimaryNetworkVerticesService as E}from"./services/PrimaryNetworkVerticesService.js";import{SignatureAggregatorService as f}from"./services/SignatureAggregatorService.js";import{TeleporterService as q}from"./services/TeleporterService.js";import{WebhooksService as y}from"./services/WebhooksService.js";class l{avaxSupply;dataApiUsageMetrics;evmBalances;evmBlocks;evmChains;evmContracts;evmTransactions;healthCheck;interchainMessaging;nfTs;operations;primaryNetwork;primaryNetworkBalances;primaryNetworkBlocks;primaryNetworkRewards;primaryNetworkTransactions;primaryNetworkUtxOs;primaryNetworkVertices;signatureAggregator;teleporter;webhooks;request;constructor(l,j=e){this.request=new j({BASE:l?.BASE??"https://data-api.avax.network",VERSION:l?.VERSION??"1.0.0",WITH_CREDENTIALS:l?.WITH_CREDENTIALS??!1,CREDENTIALS:l?.CREDENTIALS??"include",TOKEN:l?.TOKEN,USERNAME:l?.USERNAME,PASSWORD:l?.PASSWORD,HEADERS:l?.HEADERS,ENCODE_PATH:l?.ENCODE_PATH}),this.avaxSupply=new r(this.request),this.dataApiUsageMetrics=new s(this.request),this.evmBalances=new t(this.request),this.evmBlocks=new i(this.request),this.evmChains=new o(this.request),this.evmContracts=new a(this.request),this.evmTransactions=new c(this.request),this.healthCheck=new m(this.request),this.interchainMessaging=new n(this.request),this.nfTs=new h(this.request),this.operations=new v(this.request),this.primaryNetwork=new p(this.request),this.primaryNetworkBalances=new w(this.request),this.primaryNetworkBlocks=new S(this.request),this.primaryNetworkRewards=new k(this.request),this.primaryNetworkTransactions=new N(this.request),this.primaryNetworkUtxOs=new u(this.request),this.primaryNetworkVertices=new E(this.request),this.signatureAggregator=new f(this.request),this.teleporter=new q(this.request),this.webhooks=new y(this.request)}}export{l as Glacier};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const E={BASE:"https://data-api
|
|
1
|
+
const E={BASE:"https://data-api.avax.network",VERSION:"1.0.0",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0};export{E as OpenAPI};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { ContractSubmissionBody } from '../models/ContractSubmissionBody.js';
|
|
2
1
|
import { Erc1155Contract } from '../models/Erc1155Contract.js';
|
|
3
2
|
import { Erc20Contract } from '../models/Erc20Contract.js';
|
|
4
3
|
import { Erc721Contract } from '../models/Erc721Contract.js';
|
|
5
4
|
import { UnknownContract } from '../models/UnknownContract.js';
|
|
6
|
-
import { UpdateContractResponse } from '../models/UpdateContractResponse.js';
|
|
7
5
|
import { CancelablePromise } from '../core/CancelablePromise.js';
|
|
8
6
|
import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
|
|
9
7
|
|
|
@@ -26,23 +24,6 @@ declare class EvmContractsService {
|
|
|
26
24
|
*/
|
|
27
25
|
address: string;
|
|
28
26
|
}): CancelablePromise<(Erc721Contract | Erc1155Contract | Erc20Contract | UnknownContract)>;
|
|
29
|
-
/**
|
|
30
|
-
* Update contract information
|
|
31
|
-
* Update contract information. Updates will be reviewed by the Ava Labs team before they are published.
|
|
32
|
-
* @returns UpdateContractResponse Successful response
|
|
33
|
-
* @throws ApiError
|
|
34
|
-
*/
|
|
35
|
-
updateContractInfo({ chainId, address, requestBody, }: {
|
|
36
|
-
/**
|
|
37
|
-
* A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
38
|
-
*/
|
|
39
|
-
chainId: string;
|
|
40
|
-
/**
|
|
41
|
-
* Contract address on the relevant chain.
|
|
42
|
-
*/
|
|
43
|
-
address: string;
|
|
44
|
-
requestBody: ContractSubmissionBody;
|
|
45
|
-
}): CancelablePromise<UpdateContractResponse>;
|
|
46
27
|
}
|
|
47
28
|
|
|
48
29
|
export { EvmContractsService };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
class e{constructor(e){this.httpRequest=e}getContractMetadata({chainId:e,address:r}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}",path:{chainId:e,address: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."}})}
|
|
1
|
+
class e{constructor(e){this.httpRequest=e}getContractMetadata({chainId:e,address:r}){return this.httpRequest.request({method:"GET",url:"/v1/chains/{chainId}/addresses/{address}",path:{chainId:e,address: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."}})}}export{e as EvmContractsService};
|
package/esm/index.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ export { BaseHttpRequest } from './generated/core/BaseHttpRequest.js';
|
|
|
4
4
|
export { CancelError, CancelablePromise } from './generated/core/CancelablePromise.js';
|
|
5
5
|
export { OpenAPI, OpenAPIConfig } from './generated/core/OpenAPI.js';
|
|
6
6
|
export { AccessListData } from './generated/models/AccessListData.js';
|
|
7
|
-
export { AccessRequest } from './generated/models/AccessRequest.js';
|
|
8
7
|
export { ActiveDelegatorDetails } from './generated/models/ActiveDelegatorDetails.js';
|
|
9
8
|
export { ActiveValidatorDetails } from './generated/models/ActiveValidatorDetails.js';
|
|
10
9
|
export { AddressActivityEventType } from './generated/models/AddressActivityEventType.js';
|
|
@@ -35,11 +34,6 @@ export { CommonBalanceType } from './generated/models/CommonBalanceType.js';
|
|
|
35
34
|
export { CompletedDelegatorDetails } from './generated/models/CompletedDelegatorDetails.js';
|
|
36
35
|
export { CompletedValidatorDetails } from './generated/models/CompletedValidatorDetails.js';
|
|
37
36
|
export { ContractDeploymentDetails } from './generated/models/ContractDeploymentDetails.js';
|
|
38
|
-
export { ContractSubmissionBody } from './generated/models/ContractSubmissionBody.js';
|
|
39
|
-
export { ContractSubmissionErc1155 } from './generated/models/ContractSubmissionErc1155.js';
|
|
40
|
-
export { ContractSubmissionErc20 } from './generated/models/ContractSubmissionErc20.js';
|
|
41
|
-
export { ContractSubmissionErc721 } from './generated/models/ContractSubmissionErc721.js';
|
|
42
|
-
export { ContractSubmissionUnknown } from './generated/models/ContractSubmissionUnknown.js';
|
|
43
37
|
export { CreateEvmTransactionExportRequest } from './generated/models/CreateEvmTransactionExportRequest.js';
|
|
44
38
|
export { CreatePrimaryNetworkTransactionExportRequest } from './generated/models/CreatePrimaryNetworkTransactionExportRequest.js';
|
|
45
39
|
export { CurrencyCode } from './generated/models/CurrencyCode.js';
|
|
@@ -163,7 +157,6 @@ export { NetworkTokenInfo } from './generated/models/NetworkTokenInfo.js';
|
|
|
163
157
|
export { NextPageToken } from './generated/models/NextPageToken.js';
|
|
164
158
|
export { NftTokenMetadataStatus } from './generated/models/NftTokenMetadataStatus.js';
|
|
165
159
|
export { NotFound } from './generated/models/NotFound.js';
|
|
166
|
-
export { NotificationsResponse } from './generated/models/NotificationsResponse.js';
|
|
167
160
|
export { OperationStatus } from './generated/models/OperationStatus.js';
|
|
168
161
|
export { OperationStatusCode } from './generated/models/OperationStatusCode.js';
|
|
169
162
|
export { OperationStatusResponse } from './generated/models/OperationStatusResponse.js';
|
|
@@ -223,9 +216,6 @@ export { Subnet } from './generated/models/Subnet.js';
|
|
|
223
216
|
export { SubnetOwnershipInfo } from './generated/models/SubnetOwnershipInfo.js';
|
|
224
217
|
export { SubnetRpcTimeIntervalGranularity } from './generated/models/SubnetRpcTimeIntervalGranularity.js';
|
|
225
218
|
export { SubnetRpcUsageMetricsResponseDTO } from './generated/models/SubnetRpcUsageMetricsResponseDTO.js';
|
|
226
|
-
export { SubscribeRequest } from './generated/models/SubscribeRequest.js';
|
|
227
|
-
export { SubscriptionsRequest } from './generated/models/SubscriptionsRequest.js';
|
|
228
|
-
export { SubscriptionsResponse } from './generated/models/SubscriptionsResponse.js';
|
|
229
219
|
export { TeleporterDestinationTransaction } from './generated/models/TeleporterDestinationTransaction.js';
|
|
230
220
|
export { TeleporterMessageInfo } from './generated/models/TeleporterMessageInfo.js';
|
|
231
221
|
export { TeleporterReceipt } from './generated/models/TeleporterReceipt.js';
|
|
@@ -244,8 +234,6 @@ export { TransactionStatus } from './generated/models/TransactionStatus.js';
|
|
|
244
234
|
export { TransactionVertexDetail } from './generated/models/TransactionVertexDetail.js';
|
|
245
235
|
export { Unauthorized } from './generated/models/Unauthorized.js';
|
|
246
236
|
export { UnknownContract } from './generated/models/UnknownContract.js';
|
|
247
|
-
export { UnsubscribeRequest } from './generated/models/UnsubscribeRequest.js';
|
|
248
|
-
export { UpdateContractResponse } from './generated/models/UpdateContractResponse.js';
|
|
249
237
|
export { UpdateWebhookRequest } from './generated/models/UpdateWebhookRequest.js';
|
|
250
238
|
export { UsageMetricsGroupByEnum } from './generated/models/UsageMetricsGroupByEnum.js';
|
|
251
239
|
export { UsageMetricsResponseDTO } from './generated/models/UsageMetricsResponseDTO.js';
|
|
@@ -279,7 +267,6 @@ export { XChainTransactionType } from './generated/models/XChainTransactionType.
|
|
|
279
267
|
export { XChainVertex } from './generated/models/XChainVertex.js';
|
|
280
268
|
export { AvaxSupplyService } from './generated/services/AvaxSupplyService.js';
|
|
281
269
|
export { DataApiUsageMetricsService } from './generated/services/DataApiUsageMetricsService.js';
|
|
282
|
-
export { DefaultService } from './generated/services/DefaultService.js';
|
|
283
270
|
export { EvmBalancesService } from './generated/services/EvmBalancesService.js';
|
|
284
271
|
export { EvmBlocksService } from './generated/services/EvmBlocksService.js';
|
|
285
272
|
export { EvmChainsService } from './generated/services/EvmChainsService.js';
|
|
@@ -288,7 +275,6 @@ export { EvmTransactionsService } from './generated/services/EvmTransactionsServ
|
|
|
288
275
|
export { HealthCheckService } from './generated/services/HealthCheckService.js';
|
|
289
276
|
export { InterchainMessagingService } from './generated/services/InterchainMessagingService.js';
|
|
290
277
|
export { NfTsService } from './generated/services/NfTsService.js';
|
|
291
|
-
export { NotificationsService } from './generated/services/NotificationsService.js';
|
|
292
278
|
export { OperationsService } from './generated/services/OperationsService.js';
|
|
293
279
|
export { PrimaryNetworkService } from './generated/services/PrimaryNetworkService.js';
|
|
294
280
|
export { PrimaryNetworkBalancesService } from './generated/services/PrimaryNetworkBalancesService.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{AddressActivityEventType}from"./generated/models/AddressActivityEventType.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{CommonBalanceType}from"./generated/models/CommonBalanceType.js";export{CompletedDelegatorDetails}from"./generated/models/CompletedDelegatorDetails.js";export{CompletedValidatorDetails}from"./generated/models/CompletedValidatorDetails.js";export{
|
|
1
|
+
export{Glacier}from"./generated/Glacier.js";export{ApiError}from"./generated/core/ApiError.js";export{BaseHttpRequest}from"./generated/core/BaseHttpRequest.js";export{CancelError,CancelablePromise}from"./generated/core/CancelablePromise.js";export{OpenAPI}from"./generated/core/OpenAPI.js";export{ActiveDelegatorDetails}from"./generated/models/ActiveDelegatorDetails.js";export{ActiveValidatorDetails}from"./generated/models/ActiveValidatorDetails.js";export{AddressActivityEventType}from"./generated/models/AddressActivityEventType.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{CommonBalanceType}from"./generated/models/CommonBalanceType.js";export{CompletedDelegatorDetails}from"./generated/models/CompletedDelegatorDetails.js";export{CompletedValidatorDetails}from"./generated/models/CompletedValidatorDetails.js";export{CurrencyCode}from"./generated/models/CurrencyCode.js";export{DelegationStatusType}from"./generated/models/DelegationStatusType.js";export{DeliveredIcmMessage}from"./generated/models/DeliveredIcmMessage.js";export{DeliveredSourceNotIndexedIcmMessage}from"./generated/models/DeliveredSourceNotIndexedIcmMessage.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{Erc20TokenV2}from"./generated/models/Erc20TokenV2.js";export{Erc721Contract}from"./generated/models/Erc721Contract.js";export{Erc721Token}from"./generated/models/Erc721Token.js";export{Erc721TokenBalance}from"./generated/models/Erc721TokenBalance.js";export{EVMAddressActivityRequest}from"./generated/models/EVMAddressActivityRequest.js";export{EVMOperationType}from"./generated/models/EVMOperationType.js";export{HealthCheckResultDto}from"./generated/models/HealthCheckResultDto.js";export{HealthIndicatorResultDto}from"./generated/models/HealthIndicatorResultDto.js";export{IcmRewardDetails}from"./generated/models/IcmRewardDetails.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{PendingIcmMessage}from"./generated/models/PendingIcmMessage.js";export{PendingTeleporterMessage}from"./generated/models/PendingTeleporterMessage.js";export{PendingValidatorDetails}from"./generated/models/PendingValidatorDetails.js";export{PlatformAddressActivityKeyType}from"./generated/models/PlatformAddressActivityKeyType.js";export{PrimaryNetworkAddressActivityEventType}from"./generated/models/PrimaryNetworkAddressActivityEventType.js";export{PrimaryNetworkAddressActivityRequest}from"./generated/models/PrimaryNetworkAddressActivityRequest.js";export{PrimaryNetworkAddressActivitySubEventType}from"./generated/models/PrimaryNetworkAddressActivitySubEventType.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{PrimaryNetworkRpcTimeIntervalGranularity}from"./generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js";export{PrimaryNetworkRpcUsageMetricsResponseDTO}from"./generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js";export{PrimaryNetworkTxType}from"./generated/models/PrimaryNetworkTxType.js";export{PrimaryNetworkType}from"./generated/models/PrimaryNetworkType.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{UtxosSortByOption}from"./generated/models/UtxosSortByOption.js";export{UtxoType}from"./generated/models/UtxoType.js";export{ValidationStatusType}from"./generated/models/ValidationStatusType.js";export{ValidatorActivityEventType}from"./generated/models/ValidatorActivityEventType.js";export{ValidatorActivityKeyType}from"./generated/models/ValidatorActivityKeyType.js";export{ValidatorActivityRequest}from"./generated/models/ValidatorActivityRequest.js";export{VmName}from"./generated/models/VmName.js";export{WebhookAddressActivityResponse}from"./generated/models/WebhookAddressActivityResponse.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{AvaxSupplyService}from"./generated/services/AvaxSupplyService.js";export{DataApiUsageMetricsService}from"./generated/services/DataApiUsageMetricsService.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{InterchainMessagingService}from"./generated/services/InterchainMessagingService.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";export{FetchHttpRequest}from"./generated/core/FetchHttpRequest.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avalabs/glacier-sdk",
|
|
3
|
-
"version": "3.1.0-alpha.
|
|
3
|
+
"version": "3.1.0-alpha.84",
|
|
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",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"bugs": {
|
|
39
39
|
"url": "https://github.com/ava-labs/avalanche-sdks/issues"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "e2ac4af6d3156d49e8d74b9608e6c17889392d9d"
|
|
42
42
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ContractSubmissionErc1155 } from './ContractSubmissionErc1155.js';
|
|
2
|
-
import { ContractSubmissionErc20 } from './ContractSubmissionErc20.js';
|
|
3
|
-
import { ContractSubmissionErc721 } from './ContractSubmissionErc721.js';
|
|
4
|
-
import { ContractSubmissionUnknown } from './ContractSubmissionUnknown.js';
|
|
5
|
-
|
|
6
|
-
type ContractSubmissionBody = {
|
|
7
|
-
contract: (ContractSubmissionErc1155 | ContractSubmissionErc20 | ContractSubmissionErc721 | ContractSubmissionUnknown);
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export type { ContractSubmissionBody };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ImageAsset } from './ImageAsset.js';
|
|
2
|
-
import { PricingProviders } from './PricingProviders.js';
|
|
3
|
-
import { ResourceLink } from './ResourceLink.js';
|
|
4
|
-
|
|
5
|
-
type ContractSubmissionErc1155 = {
|
|
6
|
-
description?: string;
|
|
7
|
-
officialSite?: string;
|
|
8
|
-
email?: string;
|
|
9
|
-
logoAsset?: ImageAsset;
|
|
10
|
-
bannerAsset?: ImageAsset;
|
|
11
|
-
color?: string;
|
|
12
|
-
resourceLinks?: Array<ResourceLink>;
|
|
13
|
-
tags?: Array<string>;
|
|
14
|
-
/**
|
|
15
|
-
* The contract name.
|
|
16
|
-
*/
|
|
17
|
-
name: string;
|
|
18
|
-
ercType: ContractSubmissionErc1155.ercType;
|
|
19
|
-
/**
|
|
20
|
-
* The contract symbol.
|
|
21
|
-
*/
|
|
22
|
-
symbol: string;
|
|
23
|
-
pricingProviders?: PricingProviders;
|
|
24
|
-
};
|
|
25
|
-
declare namespace ContractSubmissionErc1155 {
|
|
26
|
-
enum ercType {
|
|
27
|
-
ERC_1155 = "ERC-1155"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export { ContractSubmissionErc1155 };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e,r;((r=e||(e={})).ercType||(r.ercType={})).ERC_1155="ERC-1155";export{e as ContractSubmissionErc1155};
|