@avalabs/glacier-sdk 2.8.0-alpha.120 → 2.8.0-alpha.122
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 +547 -589
- package/dist/index.js +137 -145
- package/esm/generated/models/ChainInfo.d.ts +1 -4
- package/esm/generated/models/CompletedValidatorDetails.d.ts +15 -0
- package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +8 -0
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +8 -0
- package/esm/generated/models/Erc1155TokenBalance.d.ts +1 -2
- package/esm/generated/models/Erc20Token.d.ts +1 -3
- package/esm/generated/models/Erc20TokenBalance.d.ts +2 -5
- package/esm/generated/models/GetChainResponse.d.ts +1 -4
- package/esm/generated/models/GetNetworkDetailsResponse.d.ts +2 -2
- package/esm/generated/models/GetTransactionResponse.d.ts +1 -7
- package/esm/generated/models/HistoricalReward.d.ts +24 -0
- package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -2
- package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +11 -0
- package/esm/generated/models/{ListListingsResponse.d.ts → ListPendingRewardsResponse.d.ts} +4 -4
- package/esm/generated/models/ListValidatorDetailsResponse.d.ts +11 -0
- package/esm/generated/models/Method.d.ts +1 -7
- package/esm/generated/models/NativeTokenBalance.d.ts +2 -5
- package/esm/generated/models/NetworkToken.d.ts +1 -3
- package/esm/generated/models/NetworkTokenDetails.d.ts +1 -3
- package/esm/generated/models/PChainBalance.d.ts +13 -0
- package/esm/generated/models/PChainSharedAsset.d.ts +8 -0
- package/esm/generated/models/PendingReward.d.ts +22 -0
- package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +2 -5
- package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -0
- package/esm/generated/models/PrimaryNetworkTxType.d.ts +19 -0
- package/esm/generated/models/PrimaryNetworkTxType.js +20 -0
- package/esm/generated/models/Rewards.d.ts +6 -0
- package/esm/generated/models/RichAddress.d.ts +1 -3
- package/esm/generated/models/StakingDistribution.d.ts +1 -1
- package/esm/generated/models/TransactionDetails.d.ts +1 -7
- package/esm/generated/models/TransactionExportMetadata.d.ts +1 -4
- package/esm/generated/models/ValidationStatusType.d.ts +5 -0
- package/esm/generated/models/ValidationStatusType.js +6 -0
- package/esm/generated/models/XChainBalances.d.ts +2 -2
- package/esm/generated/services/EvmService.d.ts +105 -259
- package/esm/generated/services/EvmService.js +1 -92
- package/esm/generated/services/HealthCheckService.d.ts +1 -1
- package/esm/generated/services/OperationsService.d.ts +5 -1
- package/esm/generated/services/PrimaryNetworkService.d.ts +222 -62
- package/esm/generated/services/PrimaryNetworkService.js +111 -3
- package/esm/index.d.ts +10 -18
- package/esm/index.js +2 -7
- package/package.json +2 -2
- package/esm/generated/models/Address.d.ts +0 -8
- package/esm/generated/models/CancelListingEventResponse.d.ts +0 -5
- package/esm/generated/models/CloseAuctionEventResponse.d.ts +0 -6
- package/esm/generated/models/ListingCurrencyType.d.ts +0 -6
- package/esm/generated/models/ListingCurrencyType.js +0 -7
- package/esm/generated/models/ListingEventType.d.ts +0 -8
- package/esm/generated/models/ListingEventType.js +0 -9
- package/esm/generated/models/ListingResponse.d.ts +0 -19
- package/esm/generated/models/ListingType.d.ts +0 -6
- package/esm/generated/models/ListingType.js +0 -7
- package/esm/generated/models/ListingsSortByOption.d.ts +0 -5
- package/esm/generated/models/ListingsSortByOption.js +0 -6
- package/esm/generated/models/NftFilterOptionsProperty.d.ts +0 -10
- package/esm/generated/models/NftSearchBody.d.ts +0 -10
- package/esm/generated/models/NftSearchResultTypeOption.d.ts +0 -6
- package/esm/generated/models/NftSearchResultTypeOption.js +0 -7
- package/esm/generated/models/OpenListingEventResponse.d.ts +0 -17
- package/esm/generated/models/PaginationParams.d.ts +0 -13
- package/esm/generated/models/PrimaryNetwork.d.ts +0 -6
- package/esm/generated/models/PrimaryNetwork.js +0 -7
- package/esm/generated/models/PrimaryNetworkChainName.d.ts +0 -7
- package/esm/generated/models/PrimaryNetworkChainName.js +0 -8
- package/esm/generated/models/PurchaseListingEventResponse.d.ts +0 -17
- package/esm/generated/models/TokenWithPrice.d.ts +0 -28
package/dist/index.d.ts
CHANGED
|
@@ -191,9 +191,7 @@ type NetworkToken = {
|
|
|
191
191
|
*/
|
|
192
192
|
symbol: string;
|
|
193
193
|
/**
|
|
194
|
-
* The number of decimals the token uses. For example `6`,
|
|
195
|
-
* means to divide the token amount by `1000000` to get its user
|
|
196
|
-
* representation.
|
|
194
|
+
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
197
195
|
*/
|
|
198
196
|
decimals: number;
|
|
199
197
|
/**
|
|
@@ -216,10 +214,7 @@ declare enum VmName {
|
|
|
216
214
|
type GetChainResponse = {
|
|
217
215
|
chainId: string;
|
|
218
216
|
/**
|
|
219
|
-
* Status of chain nodes. Chain nodes can become temporarily
|
|
220
|
-
* `UNAVAILABLE` for several reasons, such as validator stake falling
|
|
221
|
-
* below threshold. If chain nodes are `UNAVAILABLE`, requests that rely
|
|
222
|
-
* on data from the chain nodes may return 503 errors.
|
|
217
|
+
* Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for several reasons, such as validator stake falling below threshold. If chain nodes are `UNAVAILABLE`, requests that rely on data from the chain nodes may return 503 errors.
|
|
223
218
|
*/
|
|
224
219
|
status: ChainStatus;
|
|
225
220
|
chainName: string;
|
|
@@ -302,9 +297,7 @@ type NativeTokenBalance = {
|
|
|
302
297
|
*/
|
|
303
298
|
symbol: string;
|
|
304
299
|
/**
|
|
305
|
-
* The number of decimals the token uses. For example `6`,
|
|
306
|
-
* means to divide the token amount by `1000000` to get its user
|
|
307
|
-
* representation.
|
|
300
|
+
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
308
301
|
*/
|
|
309
302
|
decimals: number;
|
|
310
303
|
/**
|
|
@@ -320,8 +313,7 @@ type NativeTokenBalance = {
|
|
|
320
313
|
*/
|
|
321
314
|
price?: Money;
|
|
322
315
|
/**
|
|
323
|
-
* The address balance for the token, in units specified by the
|
|
324
|
-
* `decimals` value for the contract.
|
|
316
|
+
* The address balance for the token, in units specified by the `decimals` value for the contract.
|
|
325
317
|
*/
|
|
326
318
|
balance: string;
|
|
327
319
|
/**
|
|
@@ -347,9 +339,7 @@ type RichAddress = {
|
|
|
347
339
|
*/
|
|
348
340
|
symbol?: string;
|
|
349
341
|
/**
|
|
350
|
-
* The number of decimals the token uses. For example `6`,
|
|
351
|
-
* means to divide the token amount by `1000000` to get its user
|
|
352
|
-
* representation.
|
|
342
|
+
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
353
343
|
*/
|
|
354
344
|
decimals?: number;
|
|
355
345
|
/**
|
|
@@ -384,9 +374,7 @@ type Erc20Token = {
|
|
|
384
374
|
*/
|
|
385
375
|
symbol: string;
|
|
386
376
|
/**
|
|
387
|
-
* The number of decimals the token uses. For example `6`,
|
|
388
|
-
* means to divide the token amount by `1000000` to get its user
|
|
389
|
-
* representation.
|
|
377
|
+
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
390
378
|
*/
|
|
391
379
|
decimals: number;
|
|
392
380
|
/**
|
|
@@ -428,13 +416,7 @@ declare enum TransactionMethodType {
|
|
|
428
416
|
|
|
429
417
|
type Method = {
|
|
430
418
|
/**
|
|
431
|
-
* The contract call type.
|
|
432
|
-
* NATIVE_TRANSFER indicates a transfer of the
|
|
433
|
-
* native token without any smart-contract interaction.
|
|
434
|
-
* CONTRACT_CALL indicates a smart-contract
|
|
435
|
-
* interaction.
|
|
436
|
-
* CONTRACT_CREATION indicates a smart-contract
|
|
437
|
-
* creation.
|
|
419
|
+
* The contract call type. NATIVE_TRANSFER indicates a transfer of the native token without any smart-contract interaction. CONTRACT_CALL indicates a smart-contract interaction. CONTRACT_CREATION indicates a smart-contract creation.
|
|
438
420
|
*/
|
|
439
421
|
callType: TransactionMethodType;
|
|
440
422
|
/**
|
|
@@ -535,9 +517,7 @@ type NetworkTokenDetails = {
|
|
|
535
517
|
*/
|
|
536
518
|
currentPrice?: Money;
|
|
537
519
|
/**
|
|
538
|
-
* The historical token price at the time the transaction
|
|
539
|
-
* occured, if available. Note, this is only provided if the transaction
|
|
540
|
-
* occured more than 24 hours ago.
|
|
520
|
+
* The historical token price at the time the transaction occured, if available. Note, this is only provided if the transaction occured more than 24 hours ago.
|
|
541
521
|
*/
|
|
542
522
|
historicalPrice?: Money;
|
|
543
523
|
};
|
|
@@ -556,13 +536,7 @@ type GetTransactionResponse = {
|
|
|
556
536
|
*/
|
|
557
537
|
erc1155Transfers?: Array<Erc1155TransferDetails>;
|
|
558
538
|
/**
|
|
559
|
-
* The list of internal transactions. Note that this list only
|
|
560
|
-
* includes CALL and
|
|
561
|
-
* CALLCODE internal transactions that had a
|
|
562
|
-
* non-zero value and
|
|
563
|
-
* CREATE/CREATE2
|
|
564
|
-
* calls. Use a client provider to recieve a full debug trace of the
|
|
565
|
-
* transaction.
|
|
539
|
+
* The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2 calls. Use a client provider to recieve a full debug trace of the transaction.
|
|
566
540
|
*/
|
|
567
541
|
internalTransactions?: Array<InternalTransactionDetails>;
|
|
568
542
|
networkTokenDetails: NetworkTokenDetails;
|
|
@@ -572,10 +546,7 @@ type GetTransactionResponse = {
|
|
|
572
546
|
type ChainInfo = {
|
|
573
547
|
chainId: string;
|
|
574
548
|
/**
|
|
575
|
-
* Status of chain nodes. Chain nodes can become temporarily
|
|
576
|
-
* `UNAVAILABLE` for several reasons, such as validator stake falling
|
|
577
|
-
* below threshold. If chain nodes are `UNAVAILABLE`, requests that rely
|
|
578
|
-
* on data from the chain nodes may return 503 errors.
|
|
549
|
+
* Status of chain nodes. Chain nodes can become temporarily `UNAVAILABLE` for several reasons, such as validator stake falling below threshold. If chain nodes are `UNAVAILABLE`, requests that rely on data from the chain nodes may return 503 errors.
|
|
579
550
|
*/
|
|
580
551
|
status: ChainStatus;
|
|
581
552
|
chainName: string;
|
|
@@ -611,8 +582,7 @@ type Erc1155TokenBalance = {
|
|
|
611
582
|
*/
|
|
612
583
|
chainId: string;
|
|
613
584
|
/**
|
|
614
|
-
* The address balance for the token, in units specified by the
|
|
615
|
-
* `decimals` value for the contract.
|
|
585
|
+
* The address balance for the token, in units specified by the `decimals` value for the contract.
|
|
616
586
|
*/
|
|
617
587
|
balance: string;
|
|
618
588
|
};
|
|
@@ -660,8 +630,7 @@ type ListCollectibleBalancesResponse = {
|
|
|
660
630
|
*/
|
|
661
631
|
nextPageToken?: string;
|
|
662
632
|
/**
|
|
663
|
-
* The list of ERC-721 and ERC-1155 token balances for the
|
|
664
|
-
* address.
|
|
633
|
+
* The list of ERC-721 and ERC-1155 token balances for the address.
|
|
665
634
|
*/
|
|
666
635
|
collectibleBalances: Array<(Erc721TokenBalance | Erc1155TokenBalance)>;
|
|
667
636
|
};
|
|
@@ -723,9 +692,7 @@ type Erc20TokenBalance = {
|
|
|
723
692
|
*/
|
|
724
693
|
symbol: string;
|
|
725
694
|
/**
|
|
726
|
-
* The number of decimals the token uses. For example `6`,
|
|
727
|
-
* means to divide the token amount by `1000000` to get its user
|
|
728
|
-
* representation.
|
|
695
|
+
* The number of decimals the token uses. For example `6`, means to divide the token amount by `1000000` to get its user representation.
|
|
729
696
|
*/
|
|
730
697
|
decimals: number;
|
|
731
698
|
/**
|
|
@@ -742,8 +709,7 @@ type Erc20TokenBalance = {
|
|
|
742
709
|
*/
|
|
743
710
|
chainId: string;
|
|
744
711
|
/**
|
|
745
|
-
* The address balance for the token, in units specified by the
|
|
746
|
-
* `decimals` value for the contract.
|
|
712
|
+
* The address balance for the token, in units specified by the `decimals` value for the contract.
|
|
747
713
|
*/
|
|
748
714
|
balance: string;
|
|
749
715
|
/**
|
|
@@ -894,17 +860,6 @@ type ListEvmBlocksResponse = {
|
|
|
894
860
|
blocks: Array<EvmBlock>;
|
|
895
861
|
};
|
|
896
862
|
|
|
897
|
-
declare enum ListingEventType {
|
|
898
|
-
OPEN_LISTING = "OPEN_LISTING",
|
|
899
|
-
CANCEL_LISTING = "CANCEL_LISTING",
|
|
900
|
-
PURCHASE_LISTING = "PURCHASE_LISTING",
|
|
901
|
-
CLOSE_AUCTION = "CLOSE_AUCTION"
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
declare enum ListingsSortByOption {
|
|
905
|
-
LAST_EVENT_TIMESTAMP = "lastEventTimestamp"
|
|
906
|
-
}
|
|
907
|
-
|
|
908
863
|
type InternalTransaction = {
|
|
909
864
|
/**
|
|
910
865
|
* The block number on the chain.
|
|
@@ -942,153 +897,6 @@ type ListInternalTransactionsResponse = {
|
|
|
942
897
|
transactions: Array<InternalTransaction>;
|
|
943
898
|
};
|
|
944
899
|
|
|
945
|
-
type CancelListingEventResponse = {
|
|
946
|
-
eventTimestamp: number;
|
|
947
|
-
};
|
|
948
|
-
|
|
949
|
-
type CloseAuctionEventResponse = {
|
|
950
|
-
eventTimestamp: number;
|
|
951
|
-
purchaseTxHash?: string;
|
|
952
|
-
};
|
|
953
|
-
|
|
954
|
-
declare enum ErcType {
|
|
955
|
-
ERC_20 = "ERC-20",
|
|
956
|
-
ERC_721 = "ERC-721",
|
|
957
|
-
ERC_1155 = "ERC-1155",
|
|
958
|
-
UNKNOWN = "UNKNOWN"
|
|
959
|
-
}
|
|
960
|
-
|
|
961
|
-
declare enum ResourceLinkType {
|
|
962
|
-
BLOG = "Blog",
|
|
963
|
-
COIN_GECKO = "CoinGecko",
|
|
964
|
-
COIN_MARKET_CAP = "CoinMarketCap",
|
|
965
|
-
DISCORD = "Discord",
|
|
966
|
-
DOCUMENTATION = "Documentation",
|
|
967
|
-
FACEBOOK = "Facebook",
|
|
968
|
-
GITHUB = "Github",
|
|
969
|
-
INSTAGRAM = "Instagram",
|
|
970
|
-
LINKED_IN = "LinkedIn",
|
|
971
|
-
MEDIUM = "Medium",
|
|
972
|
-
REDDIT = "Reddit",
|
|
973
|
-
SUPPORT = "Support",
|
|
974
|
-
TELEGRAM = "Telegram",
|
|
975
|
-
TIK_TOK = "TikTok",
|
|
976
|
-
TWITTER = "Twitter",
|
|
977
|
-
WEBSITE = "Website",
|
|
978
|
-
WHITEPAPER = "Whitepaper",
|
|
979
|
-
YOUTUBE = "Youtube"
|
|
980
|
-
}
|
|
981
|
-
|
|
982
|
-
type ResourceLink = {
|
|
983
|
-
type: ResourceLinkType;
|
|
984
|
-
url: string;
|
|
985
|
-
};
|
|
986
|
-
|
|
987
|
-
type NftCollection = {
|
|
988
|
-
/**
|
|
989
|
-
* A wallet or contract address in mixed-case checksum encoding.
|
|
990
|
-
*/
|
|
991
|
-
address: string;
|
|
992
|
-
/**
|
|
993
|
-
* The contract name.
|
|
994
|
-
*/
|
|
995
|
-
name: string;
|
|
996
|
-
/**
|
|
997
|
-
* The contract symbol.
|
|
998
|
-
*/
|
|
999
|
-
symbol: string;
|
|
1000
|
-
ercType: ErcType;
|
|
1001
|
-
bannerUri?: string;
|
|
1002
|
-
logoUri?: string;
|
|
1003
|
-
description?: string;
|
|
1004
|
-
resourceLinks?: Array<ResourceLink>;
|
|
1005
|
-
};
|
|
1006
|
-
|
|
1007
|
-
type Address = {
|
|
1008
|
-
/**
|
|
1009
|
-
* A wallet or contract address in mixed-case checksum encoding.
|
|
1010
|
-
*/
|
|
1011
|
-
address: string;
|
|
1012
|
-
};
|
|
1013
|
-
|
|
1014
|
-
declare enum ListingCurrencyType {
|
|
1015
|
-
NATIVE = "NATIVE",
|
|
1016
|
-
ERC20 = "ERC20"
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
declare enum ListingType {
|
|
1020
|
-
SALE = "SALE",
|
|
1021
|
-
AUCTION = "AUCTION"
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
type TokenWithPrice = {
|
|
1025
|
-
/**
|
|
1026
|
-
* A wallet or contract address in mixed-case checksum encoding.
|
|
1027
|
-
*/
|
|
1028
|
-
address?: string;
|
|
1029
|
-
/**
|
|
1030
|
-
* The contract name.
|
|
1031
|
-
*/
|
|
1032
|
-
name: string;
|
|
1033
|
-
/**
|
|
1034
|
-
* The contract symbol.
|
|
1035
|
-
*/
|
|
1036
|
-
symbol: string;
|
|
1037
|
-
/**
|
|
1038
|
-
* The number of decimals the token uses. For example `6`,
|
|
1039
|
-
* means to divide the token amount by `1000000` to get its user
|
|
1040
|
-
* representation.
|
|
1041
|
-
*/
|
|
1042
|
-
decimals: number;
|
|
1043
|
-
/**
|
|
1044
|
-
* The token price, if available.
|
|
1045
|
-
*/
|
|
1046
|
-
price?: Money;
|
|
1047
|
-
};
|
|
1048
|
-
|
|
1049
|
-
type OpenListingEventResponse = {
|
|
1050
|
-
eventTimestamp: number;
|
|
1051
|
-
listingType: ListingType;
|
|
1052
|
-
listingPrice?: string;
|
|
1053
|
-
listingCurrencyType: ListingCurrencyType;
|
|
1054
|
-
listingCurrencyInfo: TokenWithPrice;
|
|
1055
|
-
sellerAddress: Address;
|
|
1056
|
-
startingPrice?: string;
|
|
1057
|
-
auctionCloseTimestamp?: number;
|
|
1058
|
-
};
|
|
1059
|
-
|
|
1060
|
-
type PurchaseListingEventResponse = {
|
|
1061
|
-
eventTimestamp: number;
|
|
1062
|
-
listingPrice: string;
|
|
1063
|
-
listingCurrencyType: ListingCurrencyType;
|
|
1064
|
-
listingCurrencyInfo: TokenWithPrice;
|
|
1065
|
-
sellerAddress: Address;
|
|
1066
|
-
salePrice: string;
|
|
1067
|
-
buyerAddress: Address;
|
|
1068
|
-
saleTimestamp: number;
|
|
1069
|
-
purchaseTxHash?: string;
|
|
1070
|
-
};
|
|
1071
|
-
|
|
1072
|
-
type ListingResponse = {
|
|
1073
|
-
marketplaceName: string;
|
|
1074
|
-
chainId: string;
|
|
1075
|
-
collection: NftCollection;
|
|
1076
|
-
token: any;
|
|
1077
|
-
listingId: string;
|
|
1078
|
-
openListingEvents?: Array<OpenListingEventResponse>;
|
|
1079
|
-
cancelListingEvents?: Array<CancelListingEventResponse>;
|
|
1080
|
-
purchaseListingEvents?: Array<PurchaseListingEventResponse>;
|
|
1081
|
-
closeAuctionEvents?: Array<CloseAuctionEventResponse>;
|
|
1082
|
-
};
|
|
1083
|
-
|
|
1084
|
-
type ListListingsResponse = {
|
|
1085
|
-
/**
|
|
1086
|
-
* 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.
|
|
1087
|
-
*/
|
|
1088
|
-
nextPageToken?: string;
|
|
1089
|
-
listings: Array<ListingResponse>;
|
|
1090
|
-
};
|
|
1091
|
-
|
|
1092
900
|
type NativeTransaction = {
|
|
1093
901
|
/**
|
|
1094
902
|
* The block number on the chain.
|
|
@@ -1193,6 +1001,39 @@ type CollectionMetrics = {
|
|
|
1193
1001
|
floorPrice?: string;
|
|
1194
1002
|
};
|
|
1195
1003
|
|
|
1004
|
+
declare enum ErcType {
|
|
1005
|
+
ERC_20 = "ERC-20",
|
|
1006
|
+
ERC_721 = "ERC-721",
|
|
1007
|
+
ERC_1155 = "ERC-1155",
|
|
1008
|
+
UNKNOWN = "UNKNOWN"
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
declare enum ResourceLinkType {
|
|
1012
|
+
BLOG = "Blog",
|
|
1013
|
+
COIN_GECKO = "CoinGecko",
|
|
1014
|
+
COIN_MARKET_CAP = "CoinMarketCap",
|
|
1015
|
+
DISCORD = "Discord",
|
|
1016
|
+
DOCUMENTATION = "Documentation",
|
|
1017
|
+
FACEBOOK = "Facebook",
|
|
1018
|
+
GITHUB = "Github",
|
|
1019
|
+
INSTAGRAM = "Instagram",
|
|
1020
|
+
LINKED_IN = "LinkedIn",
|
|
1021
|
+
MEDIUM = "Medium",
|
|
1022
|
+
REDDIT = "Reddit",
|
|
1023
|
+
SUPPORT = "Support",
|
|
1024
|
+
TELEGRAM = "Telegram",
|
|
1025
|
+
TIK_TOK = "TikTok",
|
|
1026
|
+
TWITTER = "Twitter",
|
|
1027
|
+
WEBSITE = "Website",
|
|
1028
|
+
WHITEPAPER = "Whitepaper",
|
|
1029
|
+
YOUTUBE = "Youtube"
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
type ResourceLink = {
|
|
1033
|
+
type: ResourceLinkType;
|
|
1034
|
+
url: string;
|
|
1035
|
+
};
|
|
1036
|
+
|
|
1196
1037
|
type NftCollectionWithMetrics = {
|
|
1197
1038
|
/**
|
|
1198
1039
|
* A wallet or contract address in mixed-case checksum encoding.
|
|
@@ -1240,13 +1081,7 @@ type TransactionDetails = {
|
|
|
1240
1081
|
*/
|
|
1241
1082
|
erc1155Transfers?: Array<Erc1155TransferDetails>;
|
|
1242
1083
|
/**
|
|
1243
|
-
* The list of internal transactions. Note that this list only
|
|
1244
|
-
* includes CALL and
|
|
1245
|
-
* CALLCODE internal transactions that had a
|
|
1246
|
-
* non-zero value and
|
|
1247
|
-
* CREATE/CREATE2
|
|
1248
|
-
* calls. Use a client provider to recieve a full debug trace of the
|
|
1249
|
-
* transaction.
|
|
1084
|
+
* The list of internal transactions. Note that this list only includes CALL and CALLCODE internal transactions that had a non-zero value and CREATE/CREATE2 calls. Use a client provider to recieve a full debug trace of the transaction.
|
|
1250
1085
|
*/
|
|
1251
1086
|
internalTransactions?: Array<InternalTransactionDetails>;
|
|
1252
1087
|
};
|
|
@@ -1272,36 +1107,6 @@ declare enum NetworkType {
|
|
|
1272
1107
|
TESTNET = "testnet"
|
|
1273
1108
|
}
|
|
1274
1109
|
|
|
1275
|
-
declare enum NftSearchResultTypeOption {
|
|
1276
|
-
TOKEN = "token",
|
|
1277
|
-
COLLECTION = "collection"
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
type NftFilterOptionsProperty = {
|
|
1281
|
-
/**
|
|
1282
|
-
* Filters search results by collection or token.
|
|
1283
|
-
*/
|
|
1284
|
-
resultType: NftSearchResultTypeOption;
|
|
1285
|
-
};
|
|
1286
|
-
|
|
1287
|
-
type PaginationParams = {
|
|
1288
|
-
/**
|
|
1289
|
-
* The maximum number of items to return.
|
|
1290
|
-
*/
|
|
1291
|
-
pageSize?: number;
|
|
1292
|
-
/**
|
|
1293
|
-
* A page token, received from a previous list call.
|
|
1294
|
-
* Provide this to retrieve the subsequent page.
|
|
1295
|
-
*/
|
|
1296
|
-
pageToken?: string;
|
|
1297
|
-
};
|
|
1298
|
-
|
|
1299
|
-
type NftSearchBody = {
|
|
1300
|
-
searchQuery: string;
|
|
1301
|
-
paginationParams?: PaginationParams;
|
|
1302
|
-
filterOptions: NftFilterOptionsProperty;
|
|
1303
|
-
};
|
|
1304
|
-
|
|
1305
1110
|
declare enum SortOrder {
|
|
1306
1111
|
ASC = "asc",
|
|
1307
1112
|
DESC = "desc"
|
|
@@ -1322,14 +1127,16 @@ declare class EvmService {
|
|
|
1322
1127
|
readonly httpRequest: BaseHttpRequest;
|
|
1323
1128
|
constructor(httpRequest: BaseHttpRequest);
|
|
1324
1129
|
/**
|
|
1325
|
-
* Get native token balance
|
|
1130
|
+
* Get native token balance
|
|
1131
|
+
* Gets native token balance of a wallet address.
|
|
1132
|
+
*
|
|
1133
|
+
* Balance at a given block can be retrieved with the `blockNumber` parameter.
|
|
1326
1134
|
* @returns GetNativeBalanceResponse
|
|
1327
1135
|
* @throws ApiError
|
|
1328
1136
|
*/
|
|
1329
1137
|
getNativeBalance({ chainId, address, blockNumber, currency, }: {
|
|
1330
1138
|
/**
|
|
1331
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1332
|
-
* a list of supported chain ids.
|
|
1139
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1333
1140
|
*/
|
|
1334
1141
|
chainId: string;
|
|
1335
1142
|
/**
|
|
@@ -1346,14 +1153,18 @@ declare class EvmService {
|
|
|
1346
1153
|
currency?: CurrencyCode;
|
|
1347
1154
|
}): CancelablePromise<GetNativeBalanceResponse>;
|
|
1348
1155
|
/**
|
|
1349
|
-
* List ERC-20
|
|
1156
|
+
* List ERC-20 balances
|
|
1157
|
+
* Lists ERC-20 token balances of a wallet address.
|
|
1158
|
+
*
|
|
1159
|
+
* Balance at a given block can be retrieved with the `blockNumber` parameter.
|
|
1160
|
+
*
|
|
1161
|
+
* Balance for specific contracts can be retrieved with the `contractAddresses` parameter.
|
|
1350
1162
|
* @returns ListErc20BalancesResponse
|
|
1351
1163
|
* @throws ApiError
|
|
1352
1164
|
*/
|
|
1353
1165
|
listErc20Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddresses, currency, }: {
|
|
1354
1166
|
/**
|
|
1355
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1356
|
-
* a list of supported chain ids.
|
|
1167
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1357
1168
|
*/
|
|
1358
1169
|
chainId: string;
|
|
1359
1170
|
/**
|
|
@@ -1365,8 +1176,7 @@ declare class EvmService {
|
|
|
1365
1176
|
*/
|
|
1366
1177
|
blockNumber?: string;
|
|
1367
1178
|
/**
|
|
1368
|
-
* The maximum number of items to return. The minimum page size
|
|
1369
|
-
* is 1. The maximum pageSize is 100.
|
|
1179
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1370
1180
|
*/
|
|
1371
1181
|
pageSize?: number;
|
|
1372
1182
|
/**
|
|
@@ -1383,14 +1193,16 @@ declare class EvmService {
|
|
|
1383
1193
|
currency?: CurrencyCode;
|
|
1384
1194
|
}): CancelablePromise<ListErc20BalancesResponse>;
|
|
1385
1195
|
/**
|
|
1386
|
-
* List ERC-721
|
|
1196
|
+
* List ERC-721 balances
|
|
1197
|
+
* Lists ERC-721 token balances of a wallet address.
|
|
1198
|
+
*
|
|
1199
|
+
* Balance for a specific contract can be retrieved with the `contractAddress` parameter.
|
|
1387
1200
|
* @returns ListErc721BalancesResponse
|
|
1388
1201
|
* @throws ApiError
|
|
1389
1202
|
*/
|
|
1390
1203
|
listErc721Balances({ chainId, address, pageSize, pageToken, contractAddress, }: {
|
|
1391
1204
|
/**
|
|
1392
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1393
|
-
* a list of supported chain ids.
|
|
1205
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1394
1206
|
*/
|
|
1395
1207
|
chainId: string;
|
|
1396
1208
|
/**
|
|
@@ -1398,8 +1210,7 @@ declare class EvmService {
|
|
|
1398
1210
|
*/
|
|
1399
1211
|
address: string;
|
|
1400
1212
|
/**
|
|
1401
|
-
* The maximum number of items to return. The minimum page size
|
|
1402
|
-
* is 1. The maximum pageSize is 100.
|
|
1213
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1403
1214
|
*/
|
|
1404
1215
|
pageSize?: number;
|
|
1405
1216
|
/**
|
|
@@ -1412,14 +1223,18 @@ declare class EvmService {
|
|
|
1412
1223
|
contractAddress?: string;
|
|
1413
1224
|
}): CancelablePromise<ListErc721BalancesResponse>;
|
|
1414
1225
|
/**
|
|
1415
|
-
* List ERC-1155
|
|
1226
|
+
* List ERC-1155 balances
|
|
1227
|
+
* Lists ERC-1155 token balances of a wallet address.
|
|
1228
|
+
*
|
|
1229
|
+
* Balance at a given block can be retrieved with the `blockNumber` parameter.
|
|
1230
|
+
*
|
|
1231
|
+
* Balance for a specific contract can be retrieved with the `contractAddress` parameter.
|
|
1416
1232
|
* @returns ListErc1155BalancesResponse
|
|
1417
1233
|
* @throws ApiError
|
|
1418
1234
|
*/
|
|
1419
1235
|
listErc1155Balances({ chainId, address, blockNumber, pageSize, pageToken, contractAddress, }: {
|
|
1420
1236
|
/**
|
|
1421
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1422
|
-
* a list of supported chain ids.
|
|
1237
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1423
1238
|
*/
|
|
1424
1239
|
chainId: string;
|
|
1425
1240
|
/**
|
|
@@ -1431,8 +1246,7 @@ declare class EvmService {
|
|
|
1431
1246
|
*/
|
|
1432
1247
|
blockNumber?: string;
|
|
1433
1248
|
/**
|
|
1434
|
-
* The maximum number of items to return. The minimum page size
|
|
1435
|
-
* is 1. The maximum pageSize is 100.
|
|
1249
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1436
1250
|
*/
|
|
1437
1251
|
pageSize?: number;
|
|
1438
1252
|
/**
|
|
@@ -1445,15 +1259,16 @@ declare class EvmService {
|
|
|
1445
1259
|
contractAddress?: string;
|
|
1446
1260
|
}): CancelablePromise<ListErc1155BalancesResponse>;
|
|
1447
1261
|
/**
|
|
1448
|
-
* List ERC-721
|
|
1449
|
-
*
|
|
1262
|
+
* List collectible (ERC-721/ERC-1155) balances
|
|
1263
|
+
* Lists ERC-721 and ERC-1155 token balances of a wallet address.
|
|
1264
|
+
*
|
|
1265
|
+
* Balance for a specific contract can be retrieved with the `contractAddress` parameter.
|
|
1450
1266
|
* @returns ListCollectibleBalancesResponse
|
|
1451
1267
|
* @throws ApiError
|
|
1452
1268
|
*/
|
|
1453
1269
|
listCollectibleBalances({ chainId, address, pageSize, pageToken, contractAddress, }: {
|
|
1454
1270
|
/**
|
|
1455
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1456
|
-
* a list of supported chain ids.
|
|
1271
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1457
1272
|
*/
|
|
1458
1273
|
chainId: string;
|
|
1459
1274
|
/**
|
|
@@ -1461,8 +1276,7 @@ declare class EvmService {
|
|
|
1461
1276
|
*/
|
|
1462
1277
|
address: string;
|
|
1463
1278
|
/**
|
|
1464
|
-
* The maximum number of items to return. The minimum page size
|
|
1465
|
-
* is 1. The maximum pageSize is 100.
|
|
1279
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1466
1280
|
*/
|
|
1467
1281
|
pageSize?: number;
|
|
1468
1282
|
/**
|
|
@@ -1475,19 +1289,18 @@ declare class EvmService {
|
|
|
1475
1289
|
contractAddress?: string;
|
|
1476
1290
|
}): CancelablePromise<ListCollectibleBalancesResponse>;
|
|
1477
1291
|
/**
|
|
1478
|
-
*
|
|
1292
|
+
* List latest blocks
|
|
1293
|
+
* Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
|
|
1479
1294
|
* @returns ListEvmBlocksResponse
|
|
1480
1295
|
* @throws ApiError
|
|
1481
1296
|
*/
|
|
1482
1297
|
getLatestBlocks({ chainId, pageSize, pageToken, }: {
|
|
1483
1298
|
/**
|
|
1484
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1485
|
-
* a list of supported chain ids.
|
|
1299
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1486
1300
|
*/
|
|
1487
1301
|
chainId: string;
|
|
1488
1302
|
/**
|
|
1489
|
-
* The maximum number of items to return. The minimum page size
|
|
1490
|
-
* is 1. The maximum pageSize is 100.
|
|
1303
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1491
1304
|
*/
|
|
1492
1305
|
pageSize?: number;
|
|
1493
1306
|
/**
|
|
@@ -1496,14 +1309,14 @@ declare class EvmService {
|
|
|
1496
1309
|
pageToken?: string;
|
|
1497
1310
|
}): CancelablePromise<ListEvmBlocksResponse>;
|
|
1498
1311
|
/**
|
|
1499
|
-
*
|
|
1312
|
+
* Get block
|
|
1313
|
+
* Gets the details of an individual block on the EVM-compatible chain.
|
|
1500
1314
|
* @returns GetEvmBlockResponse
|
|
1501
1315
|
* @throws ApiError
|
|
1502
1316
|
*/
|
|
1503
1317
|
getBlock({ chainId, blockId, }: {
|
|
1504
1318
|
/**
|
|
1505
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1506
|
-
* a list of supported chain ids.
|
|
1319
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1507
1320
|
*/
|
|
1508
1321
|
chainId: string;
|
|
1509
1322
|
/**
|
|
@@ -1512,14 +1325,14 @@ declare class EvmService {
|
|
|
1512
1325
|
blockId: string;
|
|
1513
1326
|
}): CancelablePromise<GetEvmBlockResponse>;
|
|
1514
1327
|
/**
|
|
1515
|
-
*
|
|
1328
|
+
* Get deployment transaction
|
|
1329
|
+
* If the address is a smart contract, returns the transaction in which it was deployed.
|
|
1516
1330
|
* @returns GetTransactionResponse
|
|
1517
1331
|
* @throws ApiError
|
|
1518
1332
|
*/
|
|
1519
1333
|
getDeploymentTransaction({ chainId, address, currency, }: {
|
|
1520
1334
|
/**
|
|
1521
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1522
|
-
* a list of supported chain ids.
|
|
1335
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1523
1336
|
*/
|
|
1524
1337
|
chainId: string;
|
|
1525
1338
|
/**
|
|
@@ -1532,7 +1345,8 @@ declare class EvmService {
|
|
|
1532
1345
|
currency?: CurrencyCode;
|
|
1533
1346
|
}): CancelablePromise<GetTransactionResponse>;
|
|
1534
1347
|
/**
|
|
1535
|
-
*
|
|
1348
|
+
* List chains
|
|
1349
|
+
* Lists the supported EVM-compatible chains. Filterable by network.
|
|
1536
1350
|
* @returns ListChainsResponse
|
|
1537
1351
|
* @throws ApiError
|
|
1538
1352
|
*/
|
|
@@ -1543,28 +1357,26 @@ declare class EvmService {
|
|
|
1543
1357
|
network?: NetworkType;
|
|
1544
1358
|
}): CancelablePromise<ListChainsResponse>;
|
|
1545
1359
|
/**
|
|
1546
|
-
*
|
|
1360
|
+
* Get chain information
|
|
1361
|
+
* Gets chain information for the EVM-compatible chain if supported by the api.
|
|
1547
1362
|
* @returns GetChainResponse
|
|
1548
1363
|
* @throws ApiError
|
|
1549
1364
|
*/
|
|
1550
1365
|
getChainInfo({ chainId, }: {
|
|
1551
1366
|
/**
|
|
1552
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1553
|
-
* a list of supported chain ids.
|
|
1367
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1554
1368
|
*/
|
|
1555
1369
|
chainId: string;
|
|
1556
1370
|
}): CancelablePromise<GetChainResponse>;
|
|
1557
1371
|
/**
|
|
1558
|
-
*
|
|
1559
|
-
* Triggers reindexing of token metadata for
|
|
1560
|
-
* Will throw 400 if Nft has been indexed within the last hour.
|
|
1372
|
+
* Reindex NFT metadata
|
|
1373
|
+
* Triggers reindexing of token metadata for NFT contracts. Will return 400 if the NFT has been indexed within the last hour.
|
|
1561
1374
|
* @returns any
|
|
1562
1375
|
* @throws ApiError
|
|
1563
1376
|
*/
|
|
1564
1377
|
reindexNft({ chainId, address, tokenId, }: {
|
|
1565
1378
|
/**
|
|
1566
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1567
|
-
* a list of supported chain ids.
|
|
1379
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1568
1380
|
*/
|
|
1569
1381
|
chainId: string;
|
|
1570
1382
|
/**
|
|
@@ -1577,14 +1389,14 @@ declare class EvmService {
|
|
|
1577
1389
|
tokenId: string;
|
|
1578
1390
|
}): CancelablePromise<any>;
|
|
1579
1391
|
/**
|
|
1580
|
-
* Get collection
|
|
1392
|
+
* Get collection details
|
|
1393
|
+
* Get collection details for a specific contract.
|
|
1581
1394
|
* @returns NftCollectionWithMetrics
|
|
1582
1395
|
* @throws ApiError
|
|
1583
1396
|
*/
|
|
1584
1397
|
getCollection({ chainId, address, timeframe, }: {
|
|
1585
1398
|
/**
|
|
1586
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1587
|
-
* a list of supported chain ids.
|
|
1399
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1588
1400
|
*/
|
|
1589
1401
|
chainId: string;
|
|
1590
1402
|
/**
|
|
@@ -1597,135 +1409,18 @@ declare class EvmService {
|
|
|
1597
1409
|
timeframe?: TrendingTimeframe;
|
|
1598
1410
|
}): CancelablePromise<NftCollectionWithMetrics>;
|
|
1599
1411
|
/**
|
|
1600
|
-
* List
|
|
1601
|
-
*
|
|
1602
|
-
* @throws ApiError
|
|
1603
|
-
*/
|
|
1604
|
-
listListingsByCollectionTokenId({ chainId, address, tokenId, pageSize, pageToken, sortBy, sortOrder, currency, includeHistory, }: {
|
|
1605
|
-
/**
|
|
1606
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1607
|
-
* a list of supported chain ids.
|
|
1608
|
-
*/
|
|
1609
|
-
chainId: string;
|
|
1610
|
-
/**
|
|
1611
|
-
* Contract address on the relevant chain.
|
|
1612
|
-
*/
|
|
1613
|
-
address: string;
|
|
1614
|
-
/**
|
|
1615
|
-
* TokenId on the contract
|
|
1616
|
-
*/
|
|
1617
|
-
tokenId: string;
|
|
1618
|
-
/**
|
|
1619
|
-
* The maximum number of items to return. The minimum page size
|
|
1620
|
-
* is 1. The maximum pageSize is 100.
|
|
1621
|
-
*/
|
|
1622
|
-
pageSize?: number;
|
|
1623
|
-
/**
|
|
1624
|
-
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1625
|
-
*/
|
|
1626
|
-
pageToken?: string;
|
|
1627
|
-
/**
|
|
1628
|
-
* Which property to sort by, in conjunction with sortOrder.
|
|
1629
|
-
*/
|
|
1630
|
-
sortBy?: ListingsSortByOption;
|
|
1631
|
-
/**
|
|
1632
|
-
* The order by which to sort results. Use "asc" for ascending
|
|
1633
|
-
* order, "desc" for descending order. Sorted by timestamp or the `sortBy`
|
|
1634
|
-
* query parameter, if provided.
|
|
1635
|
-
*/
|
|
1636
|
-
sortOrder?: SortOrder;
|
|
1637
|
-
/**
|
|
1638
|
-
* The currency that return values should use. Defaults to USD.
|
|
1639
|
-
*/
|
|
1640
|
-
currency?: CurrencyCode;
|
|
1641
|
-
/**
|
|
1642
|
-
* Determines whether to return full transaction history for listings.
|
|
1643
|
-
*/
|
|
1644
|
-
includeHistory?: boolean;
|
|
1645
|
-
}): CancelablePromise<ListListingsResponse>;
|
|
1646
|
-
/**
|
|
1647
|
-
* List open listings for a NFT collection.
|
|
1648
|
-
* @returns ListListingsResponse
|
|
1649
|
-
* @throws ApiError
|
|
1650
|
-
*/
|
|
1651
|
-
listListingsByCollection({ chainId, address, pageSize, pageToken, sortBy, sortOrder, currency, includeHistory, }: {
|
|
1652
|
-
/**
|
|
1653
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1654
|
-
* a list of supported chain ids.
|
|
1655
|
-
*/
|
|
1656
|
-
chainId: string;
|
|
1657
|
-
/**
|
|
1658
|
-
* Contract address on the relevant chain.
|
|
1659
|
-
*/
|
|
1660
|
-
address: string;
|
|
1661
|
-
/**
|
|
1662
|
-
* The maximum number of items to return. The minimum page size
|
|
1663
|
-
* is 1. The maximum pageSize is 100.
|
|
1664
|
-
*/
|
|
1665
|
-
pageSize?: number;
|
|
1666
|
-
/**
|
|
1667
|
-
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1668
|
-
*/
|
|
1669
|
-
pageToken?: string;
|
|
1670
|
-
/**
|
|
1671
|
-
* Which property to sort by, in conjunction with sortOrder.
|
|
1672
|
-
*/
|
|
1673
|
-
sortBy?: ListingsSortByOption;
|
|
1674
|
-
/**
|
|
1675
|
-
* The order by which to sort results. Use "asc" for ascending
|
|
1676
|
-
* order, "desc" for descending order. Sorted by timestamp or the `sortBy`
|
|
1677
|
-
* query parameter, if provided.
|
|
1678
|
-
*/
|
|
1679
|
-
sortOrder?: SortOrder;
|
|
1680
|
-
/**
|
|
1681
|
-
* The currency that return values should use. Defaults to USD.
|
|
1682
|
-
*/
|
|
1683
|
-
currency?: CurrencyCode;
|
|
1684
|
-
/**
|
|
1685
|
-
* Determines whether to return full transaction history for listings.
|
|
1686
|
-
*/
|
|
1687
|
-
includeHistory?: boolean;
|
|
1688
|
-
}): CancelablePromise<ListListingsResponse>;
|
|
1689
|
-
/**
|
|
1690
|
-
* List recent listings on the chain.
|
|
1691
|
-
* @returns ListListingsResponse
|
|
1692
|
-
* @throws ApiError
|
|
1693
|
-
*/
|
|
1694
|
-
listRecentListings({ chainId, pageSize, pageToken, eventType, currency, }: {
|
|
1695
|
-
/**
|
|
1696
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1697
|
-
* a list of supported chain ids.
|
|
1698
|
-
*/
|
|
1699
|
-
chainId: string;
|
|
1700
|
-
/**
|
|
1701
|
-
* The maximum number of items to return. The minimum page size
|
|
1702
|
-
* is 1. The maximum pageSize is 100.
|
|
1703
|
-
*/
|
|
1704
|
-
pageSize?: number;
|
|
1705
|
-
/**
|
|
1706
|
-
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
1707
|
-
*/
|
|
1708
|
-
pageToken?: string;
|
|
1709
|
-
eventType?: ListingEventType;
|
|
1710
|
-
/**
|
|
1711
|
-
* The currency that return values should use. Defaults to USD.
|
|
1712
|
-
*/
|
|
1713
|
-
currency?: CurrencyCode;
|
|
1714
|
-
}): CancelablePromise<ListListingsResponse>;
|
|
1715
|
-
/**
|
|
1716
|
-
* List details and metrics for collections.
|
|
1412
|
+
* List collections
|
|
1413
|
+
* Lists details and metrics for collections.
|
|
1717
1414
|
* @returns ListNftCollectionWithMetricsResponse
|
|
1718
1415
|
* @throws ApiError
|
|
1719
1416
|
*/
|
|
1720
1417
|
listCollections({ chainId, pageSize, pageToken, timeframe, sortBy, sortOrder, }: {
|
|
1721
1418
|
/**
|
|
1722
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1723
|
-
* a list of supported chain ids.
|
|
1419
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1724
1420
|
*/
|
|
1725
1421
|
chainId: string;
|
|
1726
1422
|
/**
|
|
1727
|
-
* The maximum number of items to return. The minimum page size
|
|
1728
|
-
* is 1. The maximum pageSize is 100.
|
|
1423
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1729
1424
|
*/
|
|
1730
1425
|
pageSize?: number;
|
|
1731
1426
|
/**
|
|
@@ -1741,36 +1436,19 @@ declare class EvmService {
|
|
|
1741
1436
|
*/
|
|
1742
1437
|
sortBy?: CollectionSortByOption;
|
|
1743
1438
|
/**
|
|
1744
|
-
* The order by which to sort results. Use "asc" for ascending
|
|
1745
|
-
* order, "desc" for descending order. Sorted by timestamp or the `sortBy`
|
|
1746
|
-
* query parameter, if provided.
|
|
1439
|
+
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
1747
1440
|
*/
|
|
1748
1441
|
sortOrder?: SortOrder;
|
|
1749
1442
|
}): CancelablePromise<ListNftCollectionWithMetricsResponse>;
|
|
1750
1443
|
/**
|
|
1751
|
-
*
|
|
1444
|
+
* Get token details
|
|
1445
|
+
* Get token details for a specific token of a contract.
|
|
1752
1446
|
* @returns any
|
|
1753
1447
|
* @throws ApiError
|
|
1754
1448
|
*/
|
|
1755
|
-
|
|
1449
|
+
getTokenDetails({ chainId, address, tokenId, }: {
|
|
1756
1450
|
/**
|
|
1757
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1758
|
-
* a list of supported chain ids.
|
|
1759
|
-
*/
|
|
1760
|
-
chainId: string;
|
|
1761
|
-
requestBody: NftSearchBody;
|
|
1762
|
-
}): CancelablePromise<{
|
|
1763
|
-
results?: Array<NftCollection>;
|
|
1764
|
-
}>;
|
|
1765
|
-
/**
|
|
1766
|
-
* Get metadata for a specific token by providing the contract address and token id.
|
|
1767
|
-
* @returns any
|
|
1768
|
-
* @throws ApiError
|
|
1769
|
-
*/
|
|
1770
|
-
getTokenMetadata({ chainId, address, tokenId, }: {
|
|
1771
|
-
/**
|
|
1772
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1773
|
-
* a list of supported chain ids.
|
|
1451
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1774
1452
|
*/
|
|
1775
1453
|
chainId: string;
|
|
1776
1454
|
/**
|
|
@@ -1783,15 +1461,14 @@ declare class EvmService {
|
|
|
1783
1461
|
tokenId: string;
|
|
1784
1462
|
}): CancelablePromise<(Erc721Token | Erc1155Token)>;
|
|
1785
1463
|
/**
|
|
1786
|
-
*
|
|
1787
|
-
* or ERC-1155 contract address.
|
|
1464
|
+
* List ERC transfers
|
|
1465
|
+
* Lists ERC transfers for an ERC-20, ERC-721, or ERC-1155 contract address.
|
|
1788
1466
|
* @returns ListTransfersResponse
|
|
1789
1467
|
* @throws ApiError
|
|
1790
1468
|
*/
|
|
1791
1469
|
listTransfers({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
|
|
1792
1470
|
/**
|
|
1793
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1794
|
-
* a list of supported chain ids.
|
|
1471
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1795
1472
|
*/
|
|
1796
1473
|
chainId: string;
|
|
1797
1474
|
/**
|
|
@@ -1801,8 +1478,7 @@ declare class EvmService {
|
|
|
1801
1478
|
startBlock?: number;
|
|
1802
1479
|
endBlock?: number;
|
|
1803
1480
|
/**
|
|
1804
|
-
* The maximum number of items to return. The minimum page size
|
|
1805
|
-
* is 1. The maximum pageSize is 100.
|
|
1481
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1806
1482
|
*/
|
|
1807
1483
|
pageSize?: number;
|
|
1808
1484
|
/**
|
|
@@ -1811,24 +1487,16 @@ declare class EvmService {
|
|
|
1811
1487
|
pageToken?: string;
|
|
1812
1488
|
}): CancelablePromise<ListTransfersResponse>;
|
|
1813
1489
|
/**
|
|
1814
|
-
*
|
|
1815
|
-
* Returns a list of transactions where the given wallet
|
|
1816
|
-
*
|
|
1817
|
-
*
|
|
1818
|
-
* returned are only those where the input address had an interaction.
|
|
1819
|
-
* Specifically, those list only inlcude entries where the input address
|
|
1820
|
-
* was the sender (`from` field) or the receiver (`to` field) for the
|
|
1821
|
-
* sub-transaction. Therefore the transactions returned from this list may
|
|
1822
|
-
* not be complete representations of the on-chain data. For a complete
|
|
1823
|
-
* view of a transaction use the `/chains/:chainId/transactions/:txHash`
|
|
1824
|
-
* endpoint.
|
|
1490
|
+
* List transactions
|
|
1491
|
+
* Returns a list of transactions where the given wallet address had an on-chain interaction for the given chain. The ERC-20 transfers, ERC-721 transfers, ERC-1155, and internal transactions returned are only those where the input address had an interaction. Specifically, those lists only inlcude entries where the input address was the sender (`from` field) or the receiver (`to` field) for the sub-transaction. Therefore the transactions returned from this list may not be complete representations of the on-chain data. For a complete view of a transaction use the `/chains/:chainId/transactions/:txHash` endpoint.
|
|
1492
|
+
*
|
|
1493
|
+
* Filterable by block ranges.
|
|
1825
1494
|
* @returns ListTransactionDetailsResponse
|
|
1826
1495
|
* @throws ApiError
|
|
1827
1496
|
*/
|
|
1828
1497
|
listTransactions({ chainId, address, pageSize, pageToken, startBlock, endBlock, sortOrder, }: {
|
|
1829
1498
|
/**
|
|
1830
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1831
|
-
* a list of supported chain ids.
|
|
1499
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1832
1500
|
*/
|
|
1833
1501
|
chainId: string;
|
|
1834
1502
|
/**
|
|
@@ -1836,8 +1504,7 @@ declare class EvmService {
|
|
|
1836
1504
|
*/
|
|
1837
1505
|
address: string;
|
|
1838
1506
|
/**
|
|
1839
|
-
* The maximum number of items to return. The minimum page size
|
|
1840
|
-
* is 1. The maximum pageSize is 100.
|
|
1507
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1841
1508
|
*/
|
|
1842
1509
|
pageSize?: number;
|
|
1843
1510
|
/**
|
|
@@ -1847,21 +1514,19 @@ declare class EvmService {
|
|
|
1847
1514
|
startBlock?: number;
|
|
1848
1515
|
endBlock?: number;
|
|
1849
1516
|
/**
|
|
1850
|
-
* The order by which to sort results. Use "asc" for ascending
|
|
1851
|
-
* order, "desc" for descending order. Sorted by timestamp or the `sortBy`
|
|
1852
|
-
* query parameter, if provided.
|
|
1517
|
+
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
1853
1518
|
*/
|
|
1854
1519
|
sortOrder?: SortOrder;
|
|
1855
1520
|
}): CancelablePromise<ListTransactionDetailsResponse>;
|
|
1856
1521
|
/**
|
|
1857
|
-
*
|
|
1522
|
+
* List native transactions
|
|
1523
|
+
* Lists native transactions for an address. Filterable by block range.
|
|
1858
1524
|
* @returns ListNativeTransactionsResponse
|
|
1859
1525
|
* @throws ApiError
|
|
1860
1526
|
*/
|
|
1861
1527
|
listNativeTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
|
|
1862
1528
|
/**
|
|
1863
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1864
|
-
* a list of supported chain ids.
|
|
1529
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1865
1530
|
*/
|
|
1866
1531
|
chainId: string;
|
|
1867
1532
|
/**
|
|
@@ -1871,8 +1536,7 @@ declare class EvmService {
|
|
|
1871
1536
|
startBlock?: number;
|
|
1872
1537
|
endBlock?: number;
|
|
1873
1538
|
/**
|
|
1874
|
-
* The maximum number of items to return. The minimum page size
|
|
1875
|
-
* is 1. The maximum pageSize is 100.
|
|
1539
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1876
1540
|
*/
|
|
1877
1541
|
pageSize?: number;
|
|
1878
1542
|
/**
|
|
@@ -1881,14 +1545,14 @@ declare class EvmService {
|
|
|
1881
1545
|
pageToken?: string;
|
|
1882
1546
|
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
1883
1547
|
/**
|
|
1884
|
-
*
|
|
1548
|
+
* List ERC-20 transfers
|
|
1549
|
+
* Lists ERC-20 transfers for an address. Filterable by block range.
|
|
1885
1550
|
* @returns ListErc20TransactionsResponse
|
|
1886
1551
|
* @throws ApiError
|
|
1887
1552
|
*/
|
|
1888
1553
|
listErc20Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
|
|
1889
1554
|
/**
|
|
1890
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1891
|
-
* a list of supported chain ids.
|
|
1555
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1892
1556
|
*/
|
|
1893
1557
|
chainId: string;
|
|
1894
1558
|
/**
|
|
@@ -1898,8 +1562,7 @@ declare class EvmService {
|
|
|
1898
1562
|
startBlock?: number;
|
|
1899
1563
|
endBlock?: number;
|
|
1900
1564
|
/**
|
|
1901
|
-
* The maximum number of items to return. The minimum page size
|
|
1902
|
-
* is 1. The maximum pageSize is 100.
|
|
1565
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1903
1566
|
*/
|
|
1904
1567
|
pageSize?: number;
|
|
1905
1568
|
/**
|
|
@@ -1908,14 +1571,14 @@ declare class EvmService {
|
|
|
1908
1571
|
pageToken?: string;
|
|
1909
1572
|
}): CancelablePromise<ListErc20TransactionsResponse>;
|
|
1910
1573
|
/**
|
|
1911
|
-
*
|
|
1574
|
+
* List ERC-721 transfers
|
|
1575
|
+
* Lists ERC-721 transfers for an address. Filterable by block range.
|
|
1912
1576
|
* @returns ListErc721TransactionsResponse
|
|
1913
1577
|
* @throws ApiError
|
|
1914
1578
|
*/
|
|
1915
1579
|
listErc721Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
|
|
1916
1580
|
/**
|
|
1917
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1918
|
-
* a list of supported chain ids.
|
|
1581
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1919
1582
|
*/
|
|
1920
1583
|
chainId: string;
|
|
1921
1584
|
/**
|
|
@@ -1925,8 +1588,7 @@ declare class EvmService {
|
|
|
1925
1588
|
startBlock?: number;
|
|
1926
1589
|
endBlock?: number;
|
|
1927
1590
|
/**
|
|
1928
|
-
* The maximum number of items to return. The minimum page size
|
|
1929
|
-
* is 1. The maximum pageSize is 100.
|
|
1591
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1930
1592
|
*/
|
|
1931
1593
|
pageSize?: number;
|
|
1932
1594
|
/**
|
|
@@ -1935,14 +1597,14 @@ declare class EvmService {
|
|
|
1935
1597
|
pageToken?: string;
|
|
1936
1598
|
}): CancelablePromise<ListErc721TransactionsResponse>;
|
|
1937
1599
|
/**
|
|
1938
|
-
*
|
|
1600
|
+
* List ERC-1155 transfers
|
|
1601
|
+
* Lists ERC-1155 transfers for an address. Filterable by block range.
|
|
1939
1602
|
* @returns ListErc1155TransactionsResponse
|
|
1940
1603
|
* @throws ApiError
|
|
1941
1604
|
*/
|
|
1942
1605
|
listErc1155Transactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
|
|
1943
1606
|
/**
|
|
1944
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1945
|
-
* a list of supported chain ids.
|
|
1607
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1946
1608
|
*/
|
|
1947
1609
|
chainId: string;
|
|
1948
1610
|
/**
|
|
@@ -1952,8 +1614,7 @@ declare class EvmService {
|
|
|
1952
1614
|
startBlock?: number;
|
|
1953
1615
|
endBlock?: number;
|
|
1954
1616
|
/**
|
|
1955
|
-
* The maximum number of items to return. The minimum page size
|
|
1956
|
-
* is 1. The maximum pageSize is 100.
|
|
1617
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1957
1618
|
*/
|
|
1958
1619
|
pageSize?: number;
|
|
1959
1620
|
/**
|
|
@@ -1962,19 +1623,16 @@ declare class EvmService {
|
|
|
1962
1623
|
pageToken?: string;
|
|
1963
1624
|
}): CancelablePromise<ListErc1155TransactionsResponse>;
|
|
1964
1625
|
/**
|
|
1965
|
-
*
|
|
1966
|
-
* Returns a list of internal transactions for an address and
|
|
1967
|
-
*
|
|
1968
|
-
* CALLCODE transactions with a non-zero value and CREATE
|
|
1969
|
-
* transactions. To get a complete list of internal transactions use the
|
|
1970
|
-
* `debug_` prefixed RPC methods on an archive node.
|
|
1626
|
+
* List internal transactions
|
|
1627
|
+
* Returns a list of internal transactions for an address and chain. Filterable by block range.
|
|
1628
|
+
*
|
|
1629
|
+
* Note that the internal transactions list only contains `CALL` or `CALLCODE` transactions with a non-zero value and `CREATE`/`CREATE2` transactions. To get a complete list of internal transactions use the `debug_` prefixed RPC methods on an archive node.
|
|
1971
1630
|
* @returns ListInternalTransactionsResponse
|
|
1972
1631
|
* @throws ApiError
|
|
1973
1632
|
*/
|
|
1974
1633
|
listInternalTransactions({ chainId, address, startBlock, endBlock, pageSize, pageToken, }: {
|
|
1975
1634
|
/**
|
|
1976
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
1977
|
-
* a list of supported chain ids.
|
|
1635
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
1978
1636
|
*/
|
|
1979
1637
|
chainId: string;
|
|
1980
1638
|
/**
|
|
@@ -1984,8 +1642,7 @@ declare class EvmService {
|
|
|
1984
1642
|
startBlock?: number;
|
|
1985
1643
|
endBlock?: number;
|
|
1986
1644
|
/**
|
|
1987
|
-
* The maximum number of items to return. The minimum page size
|
|
1988
|
-
* is 1. The maximum pageSize is 100.
|
|
1645
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
1989
1646
|
*/
|
|
1990
1647
|
pageSize?: number;
|
|
1991
1648
|
/**
|
|
@@ -1994,14 +1651,14 @@ declare class EvmService {
|
|
|
1994
1651
|
pageToken?: string;
|
|
1995
1652
|
}): CancelablePromise<ListInternalTransactionsResponse>;
|
|
1996
1653
|
/**
|
|
1654
|
+
* Get transaction
|
|
1997
1655
|
* Gets the details of a single transaction.
|
|
1998
1656
|
* @returns GetTransactionResponse
|
|
1999
1657
|
* @throws ApiError
|
|
2000
1658
|
*/
|
|
2001
1659
|
getTransaction({ chainId, txHash, }: {
|
|
2002
1660
|
/**
|
|
2003
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
2004
|
-
* a list of supported chain ids.
|
|
1661
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2005
1662
|
*/
|
|
2006
1663
|
chainId: string;
|
|
2007
1664
|
/**
|
|
@@ -2010,14 +1667,14 @@ declare class EvmService {
|
|
|
2010
1667
|
txHash: string;
|
|
2011
1668
|
}): CancelablePromise<GetTransactionResponse>;
|
|
2012
1669
|
/**
|
|
2013
|
-
*
|
|
1670
|
+
* List transactions for a block
|
|
1671
|
+
* Lists the transactions that occured in a given block.
|
|
2014
1672
|
* @returns ListNativeTransactionsResponse
|
|
2015
1673
|
* @throws ApiError
|
|
2016
1674
|
*/
|
|
2017
1675
|
getTransactionsForBlock({ chainId, blockId, }: {
|
|
2018
1676
|
/**
|
|
2019
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
2020
|
-
* a list of supported chain ids.
|
|
1677
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2021
1678
|
*/
|
|
2022
1679
|
chainId: string;
|
|
2023
1680
|
/**
|
|
@@ -2026,19 +1683,18 @@ declare class EvmService {
|
|
|
2026
1683
|
blockId: string;
|
|
2027
1684
|
}): CancelablePromise<ListNativeTransactionsResponse>;
|
|
2028
1685
|
/**
|
|
2029
|
-
*
|
|
1686
|
+
* List latest transactions
|
|
1687
|
+
* Lists the latest transactions. Filterable by status.
|
|
2030
1688
|
* @returns ListNativeTransactionsResponse
|
|
2031
1689
|
* @throws ApiError
|
|
2032
1690
|
*/
|
|
2033
1691
|
listLatestTransactions({ chainId, pageSize, pageToken, status, }: {
|
|
2034
1692
|
/**
|
|
2035
|
-
* A supported evm chain id. Use the `/chains` endpoint to get
|
|
2036
|
-
* a list of supported chain ids.
|
|
1693
|
+
* A supported evm chain id. Use the `/chains` endpoint to get a list of supported chain ids.
|
|
2037
1694
|
*/
|
|
2038
1695
|
chainId: string;
|
|
2039
1696
|
/**
|
|
2040
|
-
* The maximum number of items to return. The minimum page size
|
|
2041
|
-
* is 1. The maximum pageSize is 100.
|
|
1697
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2042
1698
|
*/
|
|
2043
1699
|
pageSize?: number;
|
|
2044
1700
|
/**
|
|
@@ -2056,7 +1712,7 @@ declare class HealthCheckService {
|
|
|
2056
1712
|
readonly httpRequest: BaseHttpRequest;
|
|
2057
1713
|
constructor(httpRequest: BaseHttpRequest);
|
|
2058
1714
|
/**
|
|
2059
|
-
* Get the health of the service
|
|
1715
|
+
* Get the health of the service
|
|
2060
1716
|
* @returns any The Health Check is successful
|
|
2061
1717
|
* @throws ApiError
|
|
2062
1718
|
*/
|
|
@@ -2075,7 +1731,15 @@ type EvmNetworkOptions = {
|
|
|
2075
1731
|
|
|
2076
1732
|
type CreateEvmTransactionExportRequest = {
|
|
2077
1733
|
type: CreateEvmTransactionExportRequest.type;
|
|
1734
|
+
firstDate: string;
|
|
1735
|
+
lastDate: string;
|
|
1736
|
+
/**
|
|
1737
|
+
* @deprecated
|
|
1738
|
+
*/
|
|
2078
1739
|
startDate: string;
|
|
1740
|
+
/**
|
|
1741
|
+
* @deprecated
|
|
1742
|
+
*/
|
|
2079
1743
|
endDate: string;
|
|
2080
1744
|
options: EvmNetworkOptions;
|
|
2081
1745
|
};
|
|
@@ -2087,12 +1751,21 @@ declare namespace CreateEvmTransactionExportRequest {
|
|
|
2087
1751
|
|
|
2088
1752
|
type PrimaryNetworkOptions = {
|
|
2089
1753
|
addresses: Array<string>;
|
|
1754
|
+
cChainEvmAddresses?: Array<string>;
|
|
2090
1755
|
includeChains: Array<'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain'>;
|
|
2091
1756
|
};
|
|
2092
1757
|
|
|
2093
1758
|
type CreatePrimaryNetworkTransactionExportRequest = {
|
|
2094
1759
|
type: CreatePrimaryNetworkTransactionExportRequest.type;
|
|
1760
|
+
firstDate: string;
|
|
1761
|
+
lastDate: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* @deprecated
|
|
1764
|
+
*/
|
|
2095
1765
|
startDate: string;
|
|
1766
|
+
/**
|
|
1767
|
+
* @deprecated
|
|
1768
|
+
*/
|
|
2096
1769
|
endDate: string;
|
|
2097
1770
|
options: PrimaryNetworkOptions;
|
|
2098
1771
|
};
|
|
@@ -2127,10 +1800,7 @@ type TransactionExportMetadata = {
|
|
|
2127
1800
|
*/
|
|
2128
1801
|
downloadUrl?: string;
|
|
2129
1802
|
/**
|
|
2130
|
-
* The next date (YYYY-MM-DD) to use as the
|
|
2131
|
-
* up requests if a request results in a transaction history exceeding the
|
|
2132
|
-
* max size and has been reported as COMPLETED_WITH_WARNING with the warning
|
|
2133
|
-
* WarnTruncatedExport.
|
|
1803
|
+
* The next date (YYYY-MM-DD) to use as the firstDate in follow up requests if a request results in a transaction history exceeding the max size and has been reported as `COMPLETED_WITH_WARNING` with the warning 'WarnTruncatedExport'.
|
|
2134
1804
|
*/
|
|
2135
1805
|
nextDate?: string;
|
|
2136
1806
|
};
|
|
@@ -2149,7 +1819,10 @@ declare class OperationsService {
|
|
|
2149
1819
|
readonly httpRequest: BaseHttpRequest;
|
|
2150
1820
|
constructor(httpRequest: BaseHttpRequest);
|
|
2151
1821
|
/**
|
|
1822
|
+
* Create transaction export operation
|
|
2152
1823
|
* Trigger a transaction export operation with given parameters.
|
|
1824
|
+
*
|
|
1825
|
+
* The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the `/v1/operations/:operationId` endpoint using the `operationId` returned from this endpoint.
|
|
2153
1826
|
* @returns OperationStatusResponse
|
|
2154
1827
|
* @throws ApiError
|
|
2155
1828
|
*/
|
|
@@ -2157,7 +1830,8 @@ declare class OperationsService {
|
|
|
2157
1830
|
requestBody: (CreateEvmTransactionExportRequest | CreatePrimaryNetworkTransactionExportRequest);
|
|
2158
1831
|
}): CancelablePromise<OperationStatusResponse>;
|
|
2159
1832
|
/**
|
|
2160
|
-
*
|
|
1833
|
+
* Get operation
|
|
1834
|
+
* Gets operation details for the given operation id.
|
|
2161
1835
|
* @returns OperationStatusResponse
|
|
2162
1836
|
* @throws ApiError
|
|
2163
1837
|
*/
|
|
@@ -2438,7 +2112,7 @@ type DelegatorsDetails = {
|
|
|
2438
2112
|
|
|
2439
2113
|
type StakingDistribution = {
|
|
2440
2114
|
version: string;
|
|
2441
|
-
|
|
2115
|
+
amountStaked: string;
|
|
2442
2116
|
};
|
|
2443
2117
|
|
|
2444
2118
|
type ValidatorsDetails = {
|
|
@@ -2449,8 +2123,8 @@ type ValidatorsDetails = {
|
|
|
2449
2123
|
};
|
|
2450
2124
|
|
|
2451
2125
|
type GetNetworkDetailsResponse = {
|
|
2452
|
-
|
|
2453
|
-
|
|
2126
|
+
validatorDetails: ValidatorsDetails;
|
|
2127
|
+
delegatorDetails: DelegatorsDetails;
|
|
2454
2128
|
};
|
|
2455
2129
|
|
|
2456
2130
|
type ProposerDetails = {
|
|
@@ -2524,20 +2198,9 @@ type CChainAtomicBalances = {
|
|
|
2524
2198
|
atomicMemoryLocked: Array<CChainSharedAssetBalance>;
|
|
2525
2199
|
};
|
|
2526
2200
|
|
|
2527
|
-
declare enum PrimaryNetwork {
|
|
2528
|
-
MAINNET = "mainnet",
|
|
2529
|
-
FUJI = "fuji"
|
|
2530
|
-
}
|
|
2531
|
-
|
|
2532
|
-
declare enum PrimaryNetworkChainName {
|
|
2533
|
-
P_CHAIN = "p-chain",
|
|
2534
|
-
X_CHAIN = "x-chain",
|
|
2535
|
-
C_CHAIN = "c-chain"
|
|
2536
|
-
}
|
|
2537
|
-
|
|
2538
2201
|
type PrimaryNetworkChainInfo = {
|
|
2539
|
-
chainName:
|
|
2540
|
-
network:
|
|
2202
|
+
chainName: any;
|
|
2203
|
+
network: any;
|
|
2541
2204
|
};
|
|
2542
2205
|
|
|
2543
2206
|
type ListCChainAtomicBalancesResponse = {
|
|
@@ -2559,6 +2222,46 @@ type PChainAsset = {
|
|
|
2559
2222
|
amount: string;
|
|
2560
2223
|
};
|
|
2561
2224
|
|
|
2225
|
+
declare enum RewardType {
|
|
2226
|
+
VALIDATOR = "VALIDATOR",
|
|
2227
|
+
DELEGATOR = "DELEGATOR"
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
type HistoricalReward = {
|
|
2231
|
+
/**
|
|
2232
|
+
* An array of P-Chain wallet addresses.
|
|
2233
|
+
*/
|
|
2234
|
+
addresses: Array<string>;
|
|
2235
|
+
txHash: string;
|
|
2236
|
+
amountStaked: string;
|
|
2237
|
+
nodeId: string;
|
|
2238
|
+
startTimestamp: number;
|
|
2239
|
+
endTimestamp: number;
|
|
2240
|
+
rewardType: RewardType;
|
|
2241
|
+
utxoId: string;
|
|
2242
|
+
outputIndex: number;
|
|
2243
|
+
/**
|
|
2244
|
+
* An object containing P-chain Asset ID and the amount of that Asset ID.
|
|
2245
|
+
*/
|
|
2246
|
+
reward: PChainAsset;
|
|
2247
|
+
rewardTxHash: string;
|
|
2248
|
+
};
|
|
2249
|
+
|
|
2250
|
+
type ListHistoricalRewardsResponse = {
|
|
2251
|
+
/**
|
|
2252
|
+
* 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.
|
|
2253
|
+
*/
|
|
2254
|
+
nextPageToken?: string;
|
|
2255
|
+
historicalRewards: Array<HistoricalReward>;
|
|
2256
|
+
};
|
|
2257
|
+
|
|
2258
|
+
type PChainSharedAsset = {
|
|
2259
|
+
assetId: string;
|
|
2260
|
+
amount: string;
|
|
2261
|
+
sharedWithChainId: string;
|
|
2262
|
+
status: string;
|
|
2263
|
+
};
|
|
2264
|
+
|
|
2562
2265
|
type PChainBalance = {
|
|
2563
2266
|
/**
|
|
2564
2267
|
* A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unstaked Avax that is consumable by any transaction.
|
|
@@ -2580,6 +2283,18 @@ type PChainBalance = {
|
|
|
2580
2283
|
* A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of staked Avax that will be locked when the staking period ends.
|
|
2581
2284
|
*/
|
|
2582
2285
|
lockedStaked: Array<PChainAsset>;
|
|
2286
|
+
/**
|
|
2287
|
+
* A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of staked Avax whose staking period has not yet started.
|
|
2288
|
+
*/
|
|
2289
|
+
pendingStaked: Array<PChainAsset>;
|
|
2290
|
+
/**
|
|
2291
|
+
* A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of unlocked Avax in the atomic memory between P-Chain and other chain.
|
|
2292
|
+
*/
|
|
2293
|
+
atomicMemoryUnlocked: Array<PChainSharedAsset>;
|
|
2294
|
+
/**
|
|
2295
|
+
* A list of objects containing P-chain Asset ID and the amount of that Asset ID. Denotes the amount of locked Avax in the atomic memory between P-Chain and other chain.
|
|
2296
|
+
*/
|
|
2297
|
+
atomicMemoryLocked: Array<PChainSharedAsset>;
|
|
2583
2298
|
};
|
|
2584
2299
|
|
|
2585
2300
|
type ListPChainBalancesResponse = {
|
|
@@ -2602,11 +2317,6 @@ declare enum PChainTransactionType {
|
|
|
2602
2317
|
UNKNOWN = "UNKNOWN"
|
|
2603
2318
|
}
|
|
2604
2319
|
|
|
2605
|
-
declare enum RewardType {
|
|
2606
|
-
VALIDATOR = "VALIDATOR",
|
|
2607
|
-
DELEGATOR = "DELEGATOR"
|
|
2608
|
-
}
|
|
2609
|
-
|
|
2610
2320
|
declare enum UtxoType {
|
|
2611
2321
|
STAKE = "STAKE",
|
|
2612
2322
|
TRANSFER = "TRANSFER"
|
|
@@ -2723,6 +2433,32 @@ type ListPChainUtxosResponse = {
|
|
|
2723
2433
|
chainInfo: PrimaryNetworkChainInfo;
|
|
2724
2434
|
};
|
|
2725
2435
|
|
|
2436
|
+
type PendingReward = {
|
|
2437
|
+
/**
|
|
2438
|
+
* An array of P-Chain wallet addresses.
|
|
2439
|
+
*/
|
|
2440
|
+
addresses: Array<string>;
|
|
2441
|
+
txHash: string;
|
|
2442
|
+
amountStaked: string;
|
|
2443
|
+
nodeId: string;
|
|
2444
|
+
startTimestamp: number;
|
|
2445
|
+
endTimestamp: number;
|
|
2446
|
+
rewardType: RewardType;
|
|
2447
|
+
progress: number;
|
|
2448
|
+
/**
|
|
2449
|
+
* An object containing P-chain Asset ID and the amount of that Asset ID.
|
|
2450
|
+
*/
|
|
2451
|
+
estimatedReward: PChainAsset;
|
|
2452
|
+
};
|
|
2453
|
+
|
|
2454
|
+
type ListPendingRewardsResponse = {
|
|
2455
|
+
/**
|
|
2456
|
+
* 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.
|
|
2457
|
+
*/
|
|
2458
|
+
nextPageToken?: string;
|
|
2459
|
+
pendingRewards: Array<PendingReward>;
|
|
2460
|
+
};
|
|
2461
|
+
|
|
2726
2462
|
type PrimaryNetworkBlock = {
|
|
2727
2463
|
blockNumber: string;
|
|
2728
2464
|
blockHash: string;
|
|
@@ -2775,6 +2511,34 @@ type ListUtxosResponse = {
|
|
|
2775
2511
|
chainInfo: PrimaryNetworkChainInfo;
|
|
2776
2512
|
};
|
|
2777
2513
|
|
|
2514
|
+
type Rewards = {
|
|
2515
|
+
validationRewardAmount: string;
|
|
2516
|
+
delegationRewardAmount: string;
|
|
2517
|
+
};
|
|
2518
|
+
|
|
2519
|
+
declare enum ValidationStatusType {
|
|
2520
|
+
COMPLETED = "completed"
|
|
2521
|
+
}
|
|
2522
|
+
|
|
2523
|
+
type CompletedValidatorDetails = {
|
|
2524
|
+
nodeId: string;
|
|
2525
|
+
amountStaked: string;
|
|
2526
|
+
delegationFee: string;
|
|
2527
|
+
startTimestamp: number;
|
|
2528
|
+
endTimestamp: number;
|
|
2529
|
+
validationStatus: ValidationStatusType;
|
|
2530
|
+
delegatorCount: number;
|
|
2531
|
+
rewards: Rewards;
|
|
2532
|
+
};
|
|
2533
|
+
|
|
2534
|
+
type ListValidatorDetailsResponse = {
|
|
2535
|
+
/**
|
|
2536
|
+
* 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.
|
|
2537
|
+
*/
|
|
2538
|
+
nextPageToken?: string;
|
|
2539
|
+
validators: Array<CompletedValidatorDetails>;
|
|
2540
|
+
};
|
|
2541
|
+
|
|
2778
2542
|
type XChainAssetBalance = {
|
|
2779
2543
|
/**
|
|
2780
2544
|
* Unique ID for an asset.
|
|
@@ -2834,11 +2598,11 @@ type XChainSharedAssetBalance = {
|
|
|
2834
2598
|
|
|
2835
2599
|
type XChainBalances = {
|
|
2836
2600
|
/**
|
|
2837
|
-
* A list of objects containing X-chain Asset balance
|
|
2601
|
+
* A list of objects containing X-chain Asset balance information.
|
|
2838
2602
|
*/
|
|
2839
2603
|
locked: Array<XChainAssetBalance>;
|
|
2840
2604
|
/**
|
|
2841
|
-
* A list of objects containing X-chain Asset balance
|
|
2605
|
+
* A list of objects containing X-chain Asset balance information.
|
|
2842
2606
|
*/
|
|
2843
2607
|
unlocked: Array<XChainAssetBalance>;
|
|
2844
2608
|
atomicMemoryUnlocked: Array<XChainSharedAssetBalance>;
|
|
@@ -3055,6 +2819,24 @@ declare enum PChainId {
|
|
|
3055
2819
|
P_CHAIN = "p-chain"
|
|
3056
2820
|
}
|
|
3057
2821
|
|
|
2822
|
+
declare enum PrimaryNetworkTxType {
|
|
2823
|
+
ADD_VALIDATOR_TX = "AddValidatorTx",
|
|
2824
|
+
ADD_DELEGATOR_TX = "AddDelegatorTx",
|
|
2825
|
+
ADD_PERMISSIONLESS_VALIDATOR_TX = "AddPermissionlessValidatorTx",
|
|
2826
|
+
ADD_SUBNET_VALIDATOR_TX = "AddSubnetValidatorTx",
|
|
2827
|
+
REMOVE_SUBNET_VALIDATOR_TX = "RemoveSubnetValidatorTx",
|
|
2828
|
+
REWARD_VALIDATOR_TX = "RewardValidatorTx",
|
|
2829
|
+
CREATE_CHAIN_TX = "CreateChainTx",
|
|
2830
|
+
CREATE_SUBNET_TX = "CreateSubnetTx",
|
|
2831
|
+
IMPORT_TX = "ImportTx",
|
|
2832
|
+
EXPORT_TX = "ExportTx",
|
|
2833
|
+
ADVANCE_TIME_TX = "AdvanceTimeTx",
|
|
2834
|
+
UNKNOWN = "UNKNOWN",
|
|
2835
|
+
BASE_TX = "BaseTx",
|
|
2836
|
+
CREATE_ASSET_TX = "CreateAssetTx",
|
|
2837
|
+
OPERATION_TX = "OperationTx"
|
|
2838
|
+
}
|
|
2839
|
+
|
|
3058
2840
|
declare enum XChainId {
|
|
3059
2841
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
3060
2842
|
_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
|
|
@@ -3065,7 +2847,8 @@ declare class PrimaryNetworkService {
|
|
|
3065
2847
|
readonly httpRequest: BaseHttpRequest;
|
|
3066
2848
|
constructor(httpRequest: BaseHttpRequest);
|
|
3067
2849
|
/**
|
|
3068
|
-
*
|
|
2850
|
+
* Get transaction
|
|
2851
|
+
* Gets the details of a single transaction on one of the Primary Network chains.
|
|
3069
2852
|
* @returns any
|
|
3070
2853
|
* @throws ApiError
|
|
3071
2854
|
*/
|
|
@@ -3084,11 +2867,12 @@ declare class PrimaryNetworkService {
|
|
|
3084
2867
|
txHash: string;
|
|
3085
2868
|
}): CancelablePromise<(PChainTransaction | XChainNonLinearTransaction | XChainLinearTransaction | CChainExportTransaction | CChainImportTransaction)>;
|
|
3086
2869
|
/**
|
|
3087
|
-
*
|
|
2870
|
+
* List latest transactions
|
|
2871
|
+
* Lists the latest transactions on one of the Primary Network chains. Transactions are filterable by addresses.
|
|
3088
2872
|
* @returns any
|
|
3089
2873
|
* @throws ApiError
|
|
3090
2874
|
*/
|
|
3091
|
-
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, pageSize, pageToken, sortOrder, }: {
|
|
2875
|
+
listLatestPrimaryNetworkTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
|
|
3092
2876
|
/**
|
|
3093
2877
|
* A primary network blockchain id or alias.
|
|
3094
2878
|
*/
|
|
@@ -3102,8 +2886,19 @@ declare class PrimaryNetworkService {
|
|
|
3102
2886
|
*/
|
|
3103
2887
|
addresses?: string;
|
|
3104
2888
|
/**
|
|
3105
|
-
*
|
|
3106
|
-
|
|
2889
|
+
* Query param for filtering items based on transaction types.
|
|
2890
|
+
*/
|
|
2891
|
+
txTypes?: Array<PrimaryNetworkTxType>;
|
|
2892
|
+
/**
|
|
2893
|
+
* Query param for retrieving items after a specific timestamp.
|
|
2894
|
+
*/
|
|
2895
|
+
startTimestamp?: number;
|
|
2896
|
+
/**
|
|
2897
|
+
* Query param for retrieving items before a specific timestamp.
|
|
2898
|
+
*/
|
|
2899
|
+
endTimestamp?: number;
|
|
2900
|
+
/**
|
|
2901
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3107
2902
|
*/
|
|
3108
2903
|
pageSize?: number;
|
|
3109
2904
|
/**
|
|
@@ -3111,18 +2906,17 @@ declare class PrimaryNetworkService {
|
|
|
3111
2906
|
*/
|
|
3112
2907
|
pageToken?: string;
|
|
3113
2908
|
/**
|
|
3114
|
-
* The order by which to sort results. Use "asc" for ascending
|
|
3115
|
-
* order, "desc" for descending order. Sorted by timestamp or the `sortBy`
|
|
3116
|
-
* query parameter, if provided.
|
|
2909
|
+
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
3117
2910
|
*/
|
|
3118
2911
|
sortOrder?: SortOrder;
|
|
3119
2912
|
}): CancelablePromise<(ListPChainTransactionsResponse | ListXChainTransactionsResponse | ListCChainAtomicTransactionsResponse)>;
|
|
3120
2913
|
/**
|
|
3121
|
-
*
|
|
2914
|
+
* List staking transactions
|
|
2915
|
+
* Lists active staking transactions on the P-Chain for the supplied addresses.
|
|
3122
2916
|
* @returns ListPChainTransactionsResponse
|
|
3123
2917
|
* @throws ApiError
|
|
3124
2918
|
*/
|
|
3125
|
-
listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, pageSize, pageToken, sortOrder, }: {
|
|
2919
|
+
listActivePrimaryNetworkStakingTransactions({ blockchainId, network, addresses, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, sortOrder, }: {
|
|
3126
2920
|
/**
|
|
3127
2921
|
* A primary network blockchain id or alias.
|
|
3128
2922
|
*/
|
|
@@ -3136,8 +2930,19 @@ declare class PrimaryNetworkService {
|
|
|
3136
2930
|
*/
|
|
3137
2931
|
addresses?: string;
|
|
3138
2932
|
/**
|
|
3139
|
-
*
|
|
3140
|
-
|
|
2933
|
+
* Query param for filtering items based on transaction types.
|
|
2934
|
+
*/
|
|
2935
|
+
txTypes?: Array<PrimaryNetworkTxType>;
|
|
2936
|
+
/**
|
|
2937
|
+
* Query param for retrieving items after a specific timestamp.
|
|
2938
|
+
*/
|
|
2939
|
+
startTimestamp?: number;
|
|
2940
|
+
/**
|
|
2941
|
+
* Query param for retrieving items before a specific timestamp.
|
|
2942
|
+
*/
|
|
2943
|
+
endTimestamp?: number;
|
|
2944
|
+
/**
|
|
2945
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3141
2946
|
*/
|
|
3142
2947
|
pageSize?: number;
|
|
3143
2948
|
/**
|
|
@@ -3145,14 +2950,69 @@ declare class PrimaryNetworkService {
|
|
|
3145
2950
|
*/
|
|
3146
2951
|
pageToken?: string;
|
|
3147
2952
|
/**
|
|
3148
|
-
* The order by which to sort results. Use "asc" for ascending
|
|
3149
|
-
* order, "desc" for descending order. Sorted by timestamp or the `sortBy`
|
|
3150
|
-
* query parameter, if provided.
|
|
2953
|
+
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
3151
2954
|
*/
|
|
3152
2955
|
sortOrder?: SortOrder;
|
|
3153
2956
|
}): CancelablePromise<ListPChainTransactionsResponse>;
|
|
3154
2957
|
/**
|
|
3155
|
-
*
|
|
2958
|
+
* List pending rewards
|
|
2959
|
+
* Lists pending rewards on the Primary Network for the supplied addresses.
|
|
2960
|
+
* @returns ListPendingRewardsResponse
|
|
2961
|
+
* @throws ApiError
|
|
2962
|
+
*/
|
|
2963
|
+
listPendingPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, sortOrder, }: {
|
|
2964
|
+
/**
|
|
2965
|
+
* Either mainnet or a testnet.
|
|
2966
|
+
*/
|
|
2967
|
+
network: Network;
|
|
2968
|
+
/**
|
|
2969
|
+
* A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
|
|
2970
|
+
*/
|
|
2971
|
+
addresses?: string;
|
|
2972
|
+
/**
|
|
2973
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
2974
|
+
*/
|
|
2975
|
+
pageSize?: number;
|
|
2976
|
+
/**
|
|
2977
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
2978
|
+
*/
|
|
2979
|
+
pageToken?: string;
|
|
2980
|
+
/**
|
|
2981
|
+
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
2982
|
+
*/
|
|
2983
|
+
sortOrder?: SortOrder;
|
|
2984
|
+
}): CancelablePromise<ListPendingRewardsResponse>;
|
|
2985
|
+
/**
|
|
2986
|
+
* List historical rewards
|
|
2987
|
+
* Lists historical rewards on the Primary Network for the supplied addresses.
|
|
2988
|
+
* @returns ListHistoricalRewardsResponse
|
|
2989
|
+
* @throws ApiError
|
|
2990
|
+
*/
|
|
2991
|
+
listHistoricalPrimaryNetworkRewards({ network, addresses, pageSize, pageToken, sortOrder, }: {
|
|
2992
|
+
/**
|
|
2993
|
+
* Either mainnet or a testnet.
|
|
2994
|
+
*/
|
|
2995
|
+
network: Network;
|
|
2996
|
+
/**
|
|
2997
|
+
* A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
|
|
2998
|
+
*/
|
|
2999
|
+
addresses?: string;
|
|
3000
|
+
/**
|
|
3001
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3002
|
+
*/
|
|
3003
|
+
pageSize?: number;
|
|
3004
|
+
/**
|
|
3005
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3006
|
+
*/
|
|
3007
|
+
pageToken?: string;
|
|
3008
|
+
/**
|
|
3009
|
+
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
3010
|
+
*/
|
|
3011
|
+
sortOrder?: SortOrder;
|
|
3012
|
+
}): CancelablePromise<ListHistoricalRewardsResponse>;
|
|
3013
|
+
/**
|
|
3014
|
+
* List UTXOs
|
|
3015
|
+
* Lists UTXOs on one of the Primary Network chains for the supplied addresses.
|
|
3156
3016
|
* @returns any
|
|
3157
3017
|
* @throws ApiError
|
|
3158
3018
|
*/
|
|
@@ -3170,8 +3030,7 @@ declare class PrimaryNetworkService {
|
|
|
3170
3030
|
*/
|
|
3171
3031
|
addresses?: string;
|
|
3172
3032
|
/**
|
|
3173
|
-
* The maximum number of items to return. The minimum page size
|
|
3174
|
-
* is 1. The maximum pageSize is 100.
|
|
3033
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3175
3034
|
*/
|
|
3176
3035
|
pageSize?: number;
|
|
3177
3036
|
/**
|
|
@@ -3183,14 +3042,15 @@ declare class PrimaryNetworkService {
|
|
|
3183
3042
|
*/
|
|
3184
3043
|
assetId?: string;
|
|
3185
3044
|
/**
|
|
3186
|
-
* The order by which to sort results. Use "asc" for ascending
|
|
3187
|
-
* order, "desc" for descending order. Sorted by timestamp or the `sortBy`
|
|
3188
|
-
* query parameter, if provided.
|
|
3045
|
+
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
3189
3046
|
*/
|
|
3190
3047
|
sortOrder?: SortOrder;
|
|
3191
3048
|
}): CancelablePromise<(ListPChainUtxosResponse | ListUtxosResponse)>;
|
|
3192
3049
|
/**
|
|
3193
|
-
*
|
|
3050
|
+
* Get balances
|
|
3051
|
+
* Gets primary network balances for one of the Primary Network chains for the supplied addresses.
|
|
3052
|
+
*
|
|
3053
|
+
* C-Chain balances returned are only the shared atomic memory balance. For EVM balance, use the `/v1/chains/:chainId/addresses/:addressId/balances:getNative` endpoint.
|
|
3194
3054
|
* @returns any
|
|
3195
3055
|
* @throws ApiError
|
|
3196
3056
|
*/
|
|
@@ -3204,8 +3064,7 @@ declare class PrimaryNetworkService {
|
|
|
3204
3064
|
*/
|
|
3205
3065
|
network: Network;
|
|
3206
3066
|
/**
|
|
3207
|
-
* An epoch timestamp in seconds.
|
|
3208
|
-
* Balance will be calculated as of this timestamp.
|
|
3067
|
+
* An epoch timestamp in seconds. Balance will be calculated at this timestamp.
|
|
3209
3068
|
*/
|
|
3210
3069
|
blockTimestamp?: number;
|
|
3211
3070
|
/**
|
|
@@ -3214,7 +3073,8 @@ declare class PrimaryNetworkService {
|
|
|
3214
3073
|
addresses?: string;
|
|
3215
3074
|
}): CancelablePromise<(ListPChainBalancesResponse | ListXChainBalancesResponse | ListCChainAtomicBalancesResponse)>;
|
|
3216
3075
|
/**
|
|
3217
|
-
*
|
|
3076
|
+
* Get block
|
|
3077
|
+
* Gets a block by block height or block hash on one of the Primary Network chains.
|
|
3218
3078
|
* @returns GetPrimaryNetworkBlockResponse
|
|
3219
3079
|
* @throws ApiError
|
|
3220
3080
|
*/
|
|
@@ -3233,7 +3093,8 @@ declare class PrimaryNetworkService {
|
|
|
3233
3093
|
blockId: string;
|
|
3234
3094
|
}): CancelablePromise<GetPrimaryNetworkBlockResponse>;
|
|
3235
3095
|
/**
|
|
3236
|
-
*
|
|
3096
|
+
* List blocks proposed by node
|
|
3097
|
+
* Lists the latest blocks proposed by a given NodeID on one of the Primary Network chains.
|
|
3237
3098
|
* @returns ListPrimaryNetworkBlocksResponse
|
|
3238
3099
|
* @throws ApiError
|
|
3239
3100
|
*/
|
|
@@ -3251,8 +3112,7 @@ declare class PrimaryNetworkService {
|
|
|
3251
3112
|
*/
|
|
3252
3113
|
nodeId: string;
|
|
3253
3114
|
/**
|
|
3254
|
-
* The maximum number of items to return. The minimum page size
|
|
3255
|
-
* is 1. The maximum pageSize is 100.
|
|
3115
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3256
3116
|
*/
|
|
3257
3117
|
pageSize?: number;
|
|
3258
3118
|
/**
|
|
@@ -3261,7 +3121,8 @@ declare class PrimaryNetworkService {
|
|
|
3261
3121
|
pageToken?: string;
|
|
3262
3122
|
}): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
|
|
3263
3123
|
/**
|
|
3264
|
-
*
|
|
3124
|
+
* List latest blocks
|
|
3125
|
+
* Lists latest blocks on one of the Primary Network chains.
|
|
3265
3126
|
* @returns ListPrimaryNetworkBlocksResponse
|
|
3266
3127
|
* @throws ApiError
|
|
3267
3128
|
*/
|
|
@@ -3275,8 +3136,7 @@ declare class PrimaryNetworkService {
|
|
|
3275
3136
|
*/
|
|
3276
3137
|
network: Network;
|
|
3277
3138
|
/**
|
|
3278
|
-
* The maximum number of items to return. The minimum page size
|
|
3279
|
-
* is 1. The maximum pageSize is 100.
|
|
3139
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3280
3140
|
*/
|
|
3281
3141
|
pageSize?: number;
|
|
3282
3142
|
/**
|
|
@@ -3285,7 +3145,8 @@ declare class PrimaryNetworkService {
|
|
|
3285
3145
|
pageToken?: string;
|
|
3286
3146
|
}): CancelablePromise<ListPrimaryNetworkBlocksResponse>;
|
|
3287
3147
|
/**
|
|
3288
|
-
*
|
|
3148
|
+
* List vertices
|
|
3149
|
+
* Lists latest vertices on the X-Chain.
|
|
3289
3150
|
* @returns ListXChainVerticesResponse
|
|
3290
3151
|
* @throws ApiError
|
|
3291
3152
|
*/
|
|
@@ -3299,8 +3160,7 @@ declare class PrimaryNetworkService {
|
|
|
3299
3160
|
*/
|
|
3300
3161
|
network: Network;
|
|
3301
3162
|
/**
|
|
3302
|
-
* The maximum number of items to return. The minimum page size
|
|
3303
|
-
* is 1. The maximum pageSize is 100.
|
|
3163
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3304
3164
|
*/
|
|
3305
3165
|
pageSize?: number;
|
|
3306
3166
|
/**
|
|
@@ -3309,7 +3169,8 @@ declare class PrimaryNetworkService {
|
|
|
3309
3169
|
pageToken?: string;
|
|
3310
3170
|
}): CancelablePromise<ListXChainVerticesResponse>;
|
|
3311
3171
|
/**
|
|
3312
|
-
*
|
|
3172
|
+
* Get vertex
|
|
3173
|
+
* Gets a single vertex on the X-Chain.
|
|
3313
3174
|
* @returns XChainVertex
|
|
3314
3175
|
* @throws ApiError
|
|
3315
3176
|
*/
|
|
@@ -3328,7 +3189,8 @@ declare class PrimaryNetworkService {
|
|
|
3328
3189
|
network: Network;
|
|
3329
3190
|
}): CancelablePromise<XChainVertex>;
|
|
3330
3191
|
/**
|
|
3331
|
-
*
|
|
3192
|
+
* List vertices by height
|
|
3193
|
+
* Lists vertices at the given vertex height on the X-Chain.
|
|
3332
3194
|
* @returns ListXChainVerticesResponse
|
|
3333
3195
|
* @throws ApiError
|
|
3334
3196
|
*/
|
|
@@ -3346,8 +3208,7 @@ declare class PrimaryNetworkService {
|
|
|
3346
3208
|
*/
|
|
3347
3209
|
network: Network;
|
|
3348
3210
|
/**
|
|
3349
|
-
* The maximum number of items to return. The minimum page size
|
|
3350
|
-
* is 1. The maximum pageSize is 100.
|
|
3211
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3351
3212
|
*/
|
|
3352
3213
|
pageSize?: number;
|
|
3353
3214
|
/**
|
|
@@ -3355,14 +3216,13 @@ declare class PrimaryNetworkService {
|
|
|
3355
3216
|
*/
|
|
3356
3217
|
pageToken?: string;
|
|
3357
3218
|
/**
|
|
3358
|
-
* The order by which to sort results. Use "asc" for ascending
|
|
3359
|
-
* order, "desc" for descending order. Sorted by timestamp or the `sortBy`
|
|
3360
|
-
* query parameter, if provided.
|
|
3219
|
+
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
3361
3220
|
*/
|
|
3362
3221
|
sortOrder?: SortOrder;
|
|
3363
3222
|
}): CancelablePromise<ListXChainVerticesResponse>;
|
|
3364
3223
|
/**
|
|
3365
|
-
*
|
|
3224
|
+
* Get asset details
|
|
3225
|
+
* Gets asset details corresponding to the given asset id on the X-Chain.
|
|
3366
3226
|
* @returns XChainAssetDetails
|
|
3367
3227
|
* @throws ApiError
|
|
3368
3228
|
*/
|
|
@@ -3381,11 +3241,12 @@ declare class PrimaryNetworkService {
|
|
|
3381
3241
|
assetId: string;
|
|
3382
3242
|
}): CancelablePromise<XChainAssetDetails>;
|
|
3383
3243
|
/**
|
|
3384
|
-
*
|
|
3244
|
+
* List asset transactions
|
|
3245
|
+
* Lists asset transactions corresponding to the given asset id on the X-Chain.
|
|
3385
3246
|
* @returns ListXChainTransactionsResponse
|
|
3386
3247
|
* @throws ApiError
|
|
3387
3248
|
*/
|
|
3388
|
-
|
|
3249
|
+
listAssetTransactions({ blockchainId, network, assetId, txTypes, startTimestamp, endTimestamp, pageSize, pageToken, }: {
|
|
3389
3250
|
/**
|
|
3390
3251
|
* A primary network blockchain id or alias.
|
|
3391
3252
|
*/
|
|
@@ -3399,8 +3260,19 @@ declare class PrimaryNetworkService {
|
|
|
3399
3260
|
*/
|
|
3400
3261
|
assetId: string;
|
|
3401
3262
|
/**
|
|
3402
|
-
*
|
|
3403
|
-
|
|
3263
|
+
* Query param for filtering items based on transaction types.
|
|
3264
|
+
*/
|
|
3265
|
+
txTypes?: Array<PrimaryNetworkTxType>;
|
|
3266
|
+
/**
|
|
3267
|
+
* Query param for retrieving items after a specific timestamp.
|
|
3268
|
+
*/
|
|
3269
|
+
startTimestamp?: number;
|
|
3270
|
+
/**
|
|
3271
|
+
* Query param for retrieving items before a specific timestamp.
|
|
3272
|
+
*/
|
|
3273
|
+
endTimestamp?: number;
|
|
3274
|
+
/**
|
|
3275
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3404
3276
|
*/
|
|
3405
3277
|
pageSize?: number;
|
|
3406
3278
|
/**
|
|
@@ -3409,11 +3281,12 @@ declare class PrimaryNetworkService {
|
|
|
3409
3281
|
pageToken?: string;
|
|
3410
3282
|
}): CancelablePromise<ListXChainTransactionsResponse>;
|
|
3411
3283
|
/**
|
|
3412
|
-
*
|
|
3284
|
+
* Get chain interactions for addresses
|
|
3285
|
+
* Returns Primary Network chains that each address has touched in the form of an address mapped array. If an address has had any on-chain interaction for a chain, that chain's chain id will be returned.
|
|
3413
3286
|
* @returns ChainAddressChainIdMapListResponse
|
|
3414
3287
|
* @throws ApiError
|
|
3415
3288
|
*/
|
|
3416
|
-
|
|
3289
|
+
getChainIdsForAddresses({ addresses, network, }: {
|
|
3417
3290
|
/**
|
|
3418
3291
|
* A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji".
|
|
3419
3292
|
*/
|
|
@@ -3424,18 +3297,20 @@ declare class PrimaryNetworkService {
|
|
|
3424
3297
|
network: Network;
|
|
3425
3298
|
}): CancelablePromise<ChainAddressChainIdMapListResponse>;
|
|
3426
3299
|
/**
|
|
3427
|
-
* Get
|
|
3300
|
+
* Get network details
|
|
3301
|
+
* Gets network details such as validator and delegator stats.
|
|
3428
3302
|
* @returns GetNetworkDetailsResponse
|
|
3429
3303
|
* @throws ApiError
|
|
3430
3304
|
*/
|
|
3431
|
-
|
|
3305
|
+
getNetworkDetails({ network, }: {
|
|
3432
3306
|
/**
|
|
3433
3307
|
* Either mainnet or a testnet.
|
|
3434
3308
|
*/
|
|
3435
3309
|
network: Network;
|
|
3436
3310
|
}): CancelablePromise<GetNetworkDetailsResponse>;
|
|
3437
3311
|
/**
|
|
3438
|
-
*
|
|
3312
|
+
* List blockchains
|
|
3313
|
+
* Lists all blockchains registered on the network.
|
|
3439
3314
|
* @returns ListBlockchainsResponse
|
|
3440
3315
|
* @throws ApiError
|
|
3441
3316
|
*/
|
|
@@ -3445,8 +3320,7 @@ declare class PrimaryNetworkService {
|
|
|
3445
3320
|
*/
|
|
3446
3321
|
network: Network;
|
|
3447
3322
|
/**
|
|
3448
|
-
* The maximum number of items to return. The minimum page size
|
|
3449
|
-
* is 1. The maximum pageSize is 100.
|
|
3323
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3450
3324
|
*/
|
|
3451
3325
|
pageSize?: number;
|
|
3452
3326
|
/**
|
|
@@ -3454,14 +3328,13 @@ declare class PrimaryNetworkService {
|
|
|
3454
3328
|
*/
|
|
3455
3329
|
pageToken?: string;
|
|
3456
3330
|
/**
|
|
3457
|
-
* The order by which to sort results. Use "asc" for ascending
|
|
3458
|
-
* order, "desc" for descending order. Sorted by timestamp or the `sortBy`
|
|
3459
|
-
* query parameter, if provided.
|
|
3331
|
+
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
3460
3332
|
*/
|
|
3461
3333
|
sortOrder?: SortOrder;
|
|
3462
3334
|
}): CancelablePromise<ListBlockchainsResponse>;
|
|
3463
3335
|
/**
|
|
3464
|
-
*
|
|
3336
|
+
* List subnets
|
|
3337
|
+
* Lists all subnets registered on the network.
|
|
3465
3338
|
* @returns ListSubnetsResponse
|
|
3466
3339
|
* @throws ApiError
|
|
3467
3340
|
*/
|
|
@@ -3471,8 +3344,7 @@ declare class PrimaryNetworkService {
|
|
|
3471
3344
|
*/
|
|
3472
3345
|
network: Network;
|
|
3473
3346
|
/**
|
|
3474
|
-
* The maximum number of items to return. The minimum page size
|
|
3475
|
-
* is 1. The maximum pageSize is 100.
|
|
3347
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3476
3348
|
*/
|
|
3477
3349
|
pageSize?: number;
|
|
3478
3350
|
/**
|
|
@@ -3480,12 +3352,78 @@ declare class PrimaryNetworkService {
|
|
|
3480
3352
|
*/
|
|
3481
3353
|
pageToken?: string;
|
|
3482
3354
|
/**
|
|
3483
|
-
* The order by which to sort results. Use "asc" for ascending
|
|
3484
|
-
* order, "desc" for descending order. Sorted by timestamp or the `sortBy`
|
|
3485
|
-
* query parameter, if provided.
|
|
3355
|
+
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
3486
3356
|
*/
|
|
3487
3357
|
sortOrder?: SortOrder;
|
|
3488
3358
|
}): CancelablePromise<ListSubnetsResponse>;
|
|
3359
|
+
/**
|
|
3360
|
+
* List validators
|
|
3361
|
+
* Lists details for validators. By default, returns details for all validators. Filterable by validator node ids and minimum delegation capacity.
|
|
3362
|
+
* @returns ListValidatorDetailsResponse
|
|
3363
|
+
* @throws ApiError
|
|
3364
|
+
*/
|
|
3365
|
+
listValidators({ network, validationStatus, pageSize, pageToken, nodeIds, sortOrder, minDelegationCapacity, }: {
|
|
3366
|
+
/**
|
|
3367
|
+
* Either mainnet or a testnet.
|
|
3368
|
+
*/
|
|
3369
|
+
network: Network;
|
|
3370
|
+
/**
|
|
3371
|
+
* Validation status of the node.
|
|
3372
|
+
*/
|
|
3373
|
+
validationStatus: 'completed' | 'active' | 'pending';
|
|
3374
|
+
/**
|
|
3375
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3376
|
+
*/
|
|
3377
|
+
pageSize?: number;
|
|
3378
|
+
/**
|
|
3379
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3380
|
+
*/
|
|
3381
|
+
pageToken?: string;
|
|
3382
|
+
/**
|
|
3383
|
+
* A comma separated list of node ids to filter by.
|
|
3384
|
+
*/
|
|
3385
|
+
nodeIds?: string;
|
|
3386
|
+
/**
|
|
3387
|
+
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
3388
|
+
*/
|
|
3389
|
+
sortOrder?: SortOrder;
|
|
3390
|
+
/**
|
|
3391
|
+
* The minimum delegation capacity, used to filter the set of nodes being returned (Units - nAVAX). Default is 0.
|
|
3392
|
+
*/
|
|
3393
|
+
minDelegationCapacity?: any;
|
|
3394
|
+
}): CancelablePromise<ListValidatorDetailsResponse>;
|
|
3395
|
+
/**
|
|
3396
|
+
* Get single validator details
|
|
3397
|
+
* List validator details for a single validator. Filterable by validation status.
|
|
3398
|
+
* @returns ListValidatorDetailsResponse
|
|
3399
|
+
* @throws ApiError
|
|
3400
|
+
*/
|
|
3401
|
+
getSingleValidatorDetails({ network, nodeId, validationStatus, pageSize, pageToken, sortOrder, }: {
|
|
3402
|
+
/**
|
|
3403
|
+
* Either mainnet or a testnet.
|
|
3404
|
+
*/
|
|
3405
|
+
network: Network;
|
|
3406
|
+
/**
|
|
3407
|
+
* A primary network (P or X chain) nodeId.
|
|
3408
|
+
*/
|
|
3409
|
+
nodeId: string;
|
|
3410
|
+
/**
|
|
3411
|
+
* Validation status of the node.
|
|
3412
|
+
*/
|
|
3413
|
+
validationStatus: 'completed' | 'active' | 'pending';
|
|
3414
|
+
/**
|
|
3415
|
+
* The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
|
|
3416
|
+
*/
|
|
3417
|
+
pageSize?: number;
|
|
3418
|
+
/**
|
|
3419
|
+
* A page token, received from a previous list call. Provide this to retrieve the subsequent page.
|
|
3420
|
+
*/
|
|
3421
|
+
pageToken?: string;
|
|
3422
|
+
/**
|
|
3423
|
+
* The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided.
|
|
3424
|
+
*/
|
|
3425
|
+
sortOrder?: SortOrder;
|
|
3426
|
+
}): CancelablePromise<ListValidatorDetailsResponse>;
|
|
3489
3427
|
}
|
|
3490
3428
|
|
|
3491
3429
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
@@ -3515,4 +3453,24 @@ declare class ApiError extends Error {
|
|
|
3515
3453
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
3516
3454
|
}
|
|
3517
3455
|
|
|
3518
|
-
|
|
3456
|
+
type NftCollection = {
|
|
3457
|
+
/**
|
|
3458
|
+
* A wallet or contract address in mixed-case checksum encoding.
|
|
3459
|
+
*/
|
|
3460
|
+
address: string;
|
|
3461
|
+
/**
|
|
3462
|
+
* The contract name.
|
|
3463
|
+
*/
|
|
3464
|
+
name: string;
|
|
3465
|
+
/**
|
|
3466
|
+
* The contract symbol.
|
|
3467
|
+
*/
|
|
3468
|
+
symbol: string;
|
|
3469
|
+
ercType: ErcType;
|
|
3470
|
+
bannerUri?: string;
|
|
3471
|
+
logoUri?: string;
|
|
3472
|
+
description?: string;
|
|
3473
|
+
resourceLinks?: Array<ResourceLink>;
|
|
3474
|
+
};
|
|
3475
|
+
|
|
3476
|
+
export { ApiError, Asset, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CollectionMetrics, CollectionSortByOption, CompletedValidatorDetails, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DelegatorsDetails, EVMInput, EVMOutput, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, ErcType, EvmBlock, EvmNetworkOptions, EvmService, FloorPrice, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListNativeTransactionsResponse, ListNftCollectionWithMetricsResponse, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Method, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkType, NftCollection, NftCollectionWithMetrics, NftTokenMetadataStatus, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainAsset, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingReward, PrimaryNetworkBlock, PrimaryNetworkChainInfo, PrimaryNetworkOptions, PrimaryNetworkService, PrimaryNetworkTxType, ProposerDetails, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, SortOrder, StakingDistribution, Subnet, TransactionDetails, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, TrendingTimeframe, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorsDetails, VmName, XChainAssetBalance, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainVertex };
|