@rabby-wallet/rabby-api 0.9.47 → 0.9.48-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { AxiosAdapter, AxiosRequestConfig } from 'axios';
2
2
  import { RateLimitedAxiosInstance } from 'axios-rate-limit';
3
3
  import { InitOptions, RabbyApiPlugin } from './plugins/intf';
4
- import { AddrDescResponse, BridgeAggregator, ApprovalStatus, AssetItem, BasicDappInfo, CEXQuote, Cex, ChainListItem, ChainWithPendingCount, Collection, CollectionList, CollectionWithFloorPrice, ComplexProtocol, ContractCredit, DbkBridgeHistoryItem, ExplainTxResponse, ExplainTypedDataResponse, GasLevel, GetTxResponse, HistoryCurve, LatestExplainTxResponse, MempoolCheckDetail, NFTApprovalResponse, NFTItem, NodeStatus, NodeStatusDetail, ParseTextResponse, ParseTxResponse, ParseTypedDataResponse, PendingTxItem, Protocol, SecurityCheckResponse, ServerChain, SlippageStatus, Summary, SupportedChain, SwapTradeList, TokenApproval, TokenItem, TotalBalanceResponse, Tx, TxAllHistoryResult, TxHistoryResult, TxPushType, TxRequest, UsedChain, BridgeTokenPair, BridgeQuote, BridgeHistory, ContractInfo, GasAccountCheckResult, ParseCommonResponse, WithdrawListAddressItem, BuyCountryItem, BuyQuoteItem, BuyHistoryList, BuyPaymentMethod, GasAccountInfo, TokenEntityDetail, TokenItemWithEntity, ProjectItem, CopyTradeTokenListResponse, CopyTradeRecentBuyListResponse, CopyTradePnlListResponse, AppChainListResponse, CopyTradeTokenListV2Response, CopyTradeRecentBuyListV2Response, CopyTradeTokenItemV2, CopyTradeSameToken, DefaultRPCRes, TokenDetailWithPriceCurve, GiftEligibilityItem, UserFeedbackItem, PerpTopToken, KlineDataItem, TokenMarketInfo, TokenHolderInfo, TokenSupplyInfo, MarketSummary, MarketTradingHistoryItem, TokenHolderSummary, TokenHolderItem, CurrencyItem, PerpBridgeQuote, LiquidityPoolItem, LiquidityPoolHistoryItem } from './types';
4
+ import { AddrDescResponse, BridgeAggregator, ApprovalStatus, AssetItem, BasicDappInfo, CEXQuote, Cex, ChainListItem, ChainWithPendingCount, Collection, CollectionList, CollectionWithFloorPrice, ComplexProtocol, ContractCredit, DbkBridgeHistoryItem, ExplainTxResponse, ExplainTypedDataResponse, GasLevel, GetTxResponse, HistoryCurve, LatestExplainTxResponse, MempoolCheckDetail, NFTApprovalResponse, NFTItem, NodeStatus, NodeStatusDetail, ParseTextResponse, ParseTxResponse, ParseTypedDataResponse, PendingTxItem, Protocol, SecurityCheckResponse, ServerChain, SlippageStatus, Summary, SupportedChain, SwapTradeList, TokenApproval, TokenItem, TotalBalanceResponse, Tx, TxAllHistoryResult, TxHistoryResult, TxPushType, TxRequest, UsedChain, BridgeTokenPair, BridgeQuote, BridgeHistory, ContractInfo, GasAccountCheckResult, ParseCommonResponse, WithdrawListAddressItem, BuyCountryItem, BuyQuoteItem, BuyHistoryList, BuyPaymentMethod, GasAccountInfo, TokenEntityDetail, TokenItemWithEntity, ProjectItem, CopyTradeTokenListResponse, CopyTradeRecentBuyListResponse, CopyTradePnlListResponse, AppChainListResponse, CopyTradeTokenListV2Response, CopyTradeRecentBuyListV2Response, CopyTradeTokenItemV2, CopyTradeSameToken, DefaultRPCRes, TokenDetailWithPriceCurve, GiftEligibilityItem, UserFeedbackItem, PerpTopToken, KlineDataItem, TokenMarketInfo, TokenHolderInfo, TokenSupplyInfo, MarketSummary, MarketTradingHistoryItem, TokenHolderSummary, TokenHolderItem, CurrencyItem, PerpBridgeQuote, LiquidityPoolItem, LiquidityPoolHistoryItem, NFTDetail, NFTTradingConfig, PrepareAcceptNFTOfferResponse, PrepareListingNFTResponse } from './types';
5
5
  interface OpenApiStore {
6
6
  host: string;
7
7
  testnetHost?: string;
@@ -1384,5 +1384,59 @@ export declare class OpenApiService {
1384
1384
  };
1385
1385
  data_list: LiquidityPoolHistoryItem[];
1386
1386
  }>;
1387
+ getNFTTradingConfig: () => Promise<NFTTradingConfig>;
1388
+ getNFTDetail: (params: {
1389
+ chain_id: string;
1390
+ id: string;
1391
+ user_addr: string;
1392
+ }) => Promise<NFTDetail>;
1393
+ getNFTCollectionFees: (params: {
1394
+ chain_id: string;
1395
+ collection_id: string;
1396
+ }) => Promise<{
1397
+ marketplace_fees: {
1398
+ recipient: string;
1399
+ fee: number;
1400
+ required: boolean;
1401
+ }[];
1402
+ custom_royalties: {
1403
+ recipient: string;
1404
+ fee: number;
1405
+ required: boolean;
1406
+ }[];
1407
+ }>;
1408
+ prepareListingNFT: (postData: {
1409
+ maker: string;
1410
+ chain_id: string;
1411
+ collection_id: string;
1412
+ inner_id: string;
1413
+ wei_price: string;
1414
+ quantity?: number;
1415
+ marketplace_fees: {
1416
+ recipient: string;
1417
+ fee: number;
1418
+ }[];
1419
+ custom_royalties: {
1420
+ recipient: string;
1421
+ fee: number;
1422
+ }[];
1423
+ listing_time_at?: number;
1424
+ expiration_time_at?: number;
1425
+ currency: string;
1426
+ salt?: string;
1427
+ }) => Promise<PrepareListingNFTResponse>;
1428
+ createListingNFT: (postData: {
1429
+ chain_id: string;
1430
+ order: any;
1431
+ signature: string;
1432
+ }) => Promise<any>;
1433
+ prepareAcceptNFTOffer: (postData: {
1434
+ chain_id: string;
1435
+ order_hash: string;
1436
+ fulfiller: string;
1437
+ collection_id: string;
1438
+ inner_id: string;
1439
+ quantity?: number;
1440
+ }) => Promise<PrepareAcceptNFTOfferResponse>;
1387
1441
  }
1388
1442
  export {};
package/dist/index.js CHANGED
@@ -1777,6 +1777,35 @@ export class OpenApiService {
1777
1777
  });
1778
1778
  return data;
1779
1779
  });
1780
+ this.getNFTTradingConfig = () => __awaiter(this, void 0, void 0, function* () {
1781
+ const { data } = yield this.request.get('/v1/nft/trading_config');
1782
+ return data;
1783
+ });
1784
+ this.getNFTDetail = (params) => __awaiter(this, void 0, void 0, function* () {
1785
+ const { data } = yield this.request.get('/v1/nft', {
1786
+ params,
1787
+ });
1788
+ return data;
1789
+ });
1790
+ this.getNFTCollectionFees = (params) => __awaiter(this, void 0, void 0, function* () {
1791
+ const { data } = yield this.request.get('/v1/nft/fee', {
1792
+ params,
1793
+ });
1794
+ return data;
1795
+ });
1796
+ this.prepareListingNFT = (postData) => __awaiter(this, void 0, void 0, function* () {
1797
+ const { data } = yield this.request.post('/v1/nft/order/listing/prepare', postData);
1798
+ return data;
1799
+ });
1800
+ // todo ts type
1801
+ this.createListingNFT = (postData) => __awaiter(this, void 0, void 0, function* () {
1802
+ const { data } = yield this.request.post('/v1/nft/order/listing/post', postData);
1803
+ return data;
1804
+ });
1805
+ this.prepareAcceptNFTOffer = (postData) => __awaiter(this, void 0, void 0, function* () {
1806
+ const { data } = yield this.request.post('/v1/nft/order/offer/accept/prepare', postData);
1807
+ return data;
1808
+ });
1780
1809
  if (store instanceof Promise) {
1781
1810
  store.then((resolvedStore) => {
1782
1811
  this.store = resolvedStore;
package/dist/types.d.ts CHANGED
@@ -411,6 +411,16 @@ export interface Collection {
411
411
  create_at: number;
412
412
  floor_price: number;
413
413
  is_scam: boolean;
414
+ opensea_floor_price?: {
415
+ price: number;
416
+ token: {
417
+ id: string;
418
+ symbol: string;
419
+ decimals: number;
420
+ price: number;
421
+ };
422
+ };
423
+ is_tradable?: boolean;
414
424
  }
415
425
  export interface CollectionList {
416
426
  id: string;
@@ -427,6 +437,8 @@ export interface CollectionList {
427
437
  floor_price: number;
428
438
  nft_list: NFTItem[];
429
439
  native_token: TokenItem;
440
+ is_hidden?: boolean;
441
+ is_tradable?: boolean;
430
442
  }
431
443
  export interface TxDisplayItem extends TxHistoryItem {
432
444
  projectDict: TxHistoryResult['project_dict'];
@@ -1813,4 +1825,514 @@ export declare type LiquidityPoolHistoryItem = {
1813
1825
  usd_value: number;
1814
1826
  }[];
1815
1827
  };
1828
+ export declare type NFTTradingConfig = Record<string, {
1829
+ currency: string[];
1830
+ seaport_v16_address: string;
1831
+ opensea_chain_id: string;
1832
+ opensea_fee_recipient: string;
1833
+ opensea_conduit_address: string;
1834
+ listing_currency: {
1835
+ symbol: string;
1836
+ token_id: string;
1837
+ };
1838
+ offer_currency: {
1839
+ symbol: string;
1840
+ token_id: string;
1841
+ };
1842
+ }>;
1843
+ interface LastSale {
1844
+ event_type: 'sale' | string;
1845
+ event_timestamp: number;
1846
+ transaction: string;
1847
+ payment: Payment;
1848
+ seller: string;
1849
+ buyer: string;
1850
+ quantity: number;
1851
+ }
1852
+ interface Payment {
1853
+ quantity: string;
1854
+ decimals: number;
1855
+ symbol: string;
1856
+ token_id: string;
1857
+ price: number;
1858
+ }
1859
+ interface Rarity {
1860
+ strategy_id: 'openrarity' | string;
1861
+ strategy_version: string;
1862
+ rank: number;
1863
+ }
1864
+ interface ListingOrder {
1865
+ created_date: string;
1866
+ closing_date: string;
1867
+ listing_time: number;
1868
+ expiration_time: number;
1869
+ order_hash: string;
1870
+ protocol_data: SeaportProtocolData;
1871
+ protocol_address: string;
1872
+ current_price: string;
1873
+ maker: User;
1874
+ taker: null;
1875
+ maker_fees: any[];
1876
+ taker_fees: any[];
1877
+ side: 'ask' | 'bid';
1878
+ order_type: 'basic' | string;
1879
+ cancelled: boolean;
1880
+ finalized: boolean;
1881
+ marked_invalid: boolean;
1882
+ remaining_quantity: number;
1883
+ maker_asset_bundle: AssetBundle;
1884
+ taker_asset_bundle: AssetBundle;
1885
+ }
1886
+ interface BestOfferOrder {
1887
+ order_hash: string;
1888
+ chain: string;
1889
+ protocol_data: SeaportProtocolData;
1890
+ protocol_address: string;
1891
+ remaining_quantity: number;
1892
+ criteria: OfferCriteria;
1893
+ price: Price;
1894
+ status: 'ACTIVE' | string;
1895
+ }
1896
+ interface SeaportProtocolData {
1897
+ parameters: SeaportParameters;
1898
+ signature: null;
1899
+ }
1900
+ interface SeaportParameters {
1901
+ offerer: string;
1902
+ offer: SeaportItem[];
1903
+ consideration: SeaportConsiderationItem[];
1904
+ startTime: string;
1905
+ endTime: string;
1906
+ orderType: number;
1907
+ zone: string;
1908
+ zoneHash: string;
1909
+ salt: string;
1910
+ conduitKey: string;
1911
+ totalOriginalConsiderationItems: number;
1912
+ counter: number;
1913
+ }
1914
+ interface SeaportItem {
1915
+ itemType: number;
1916
+ token: string;
1917
+ identifierOrCriteria: string;
1918
+ startAmount: string;
1919
+ endAmount: string;
1920
+ }
1921
+ interface SeaportConsiderationItem extends SeaportItem {
1922
+ recipient: string;
1923
+ }
1924
+ interface AssetBundle {
1925
+ assets: Asset[];
1926
+ maker: null;
1927
+ asset_contract: null;
1928
+ slug: null;
1929
+ name: null;
1930
+ description: null;
1931
+ external_link: null;
1932
+ permalink: null;
1933
+ seaport_sell_orders: null;
1934
+ }
1935
+ interface Asset {
1936
+ id: null;
1937
+ token_id: string;
1938
+ num_sales: null;
1939
+ background_color: null;
1940
+ image_url: string | null;
1941
+ image_preview_url: null;
1942
+ image_thumbnail_url: null;
1943
+ image_original_url: null;
1944
+ animation_url: null;
1945
+ animation_original_url: null;
1946
+ name: string;
1947
+ description: string | null;
1948
+ external_link: null;
1949
+ asset_contract: AssetContract;
1950
+ permalink: string | null;
1951
+ collection: CollectionDetail | null;
1952
+ decimals: number | null;
1953
+ token_metadata: null;
1954
+ is_nsfw: boolean | null;
1955
+ owner: User | null;
1956
+ }
1957
+ interface AssetContract {
1958
+ address: string;
1959
+ chain_identifier: string;
1960
+ schema_name: 'ERC721' | 'ERC1155' | 'NATIVE' | string;
1961
+ asset_contract_type: 'non-fungible' | 'semi-fungible' | 'unknown';
1962
+ }
1963
+ interface CollectionDetail {
1964
+ collection: string;
1965
+ name: string;
1966
+ description: string;
1967
+ image_url: string;
1968
+ banner_image_url: string;
1969
+ owner: string;
1970
+ safelist_status: 'not_requested' | 'verified' | string;
1971
+ category: string;
1972
+ is_disabled: boolean;
1973
+ is_nsfw: boolean;
1974
+ trait_offers_enabled: boolean;
1975
+ collection_offers_enabled: boolean;
1976
+ opensea_url: string;
1977
+ project_url: string;
1978
+ wiki_url: string;
1979
+ discord_url: string;
1980
+ telegram_url: string;
1981
+ twitter_username: string;
1982
+ instagram_username: string;
1983
+ contracts: Contract[];
1984
+ }
1985
+ interface Contract {
1986
+ address: string;
1987
+ chain: string;
1988
+ }
1989
+ interface User {
1990
+ address: string;
1991
+ profile_img_url: null;
1992
+ config: null;
1993
+ }
1994
+ interface OfferCriteria {
1995
+ collection: {
1996
+ slug: string;
1997
+ };
1998
+ contract: {
1999
+ address: string;
2000
+ };
2001
+ trait: null;
2002
+ traits: null;
2003
+ encoded_token_ids: string;
2004
+ }
2005
+ interface Price {
2006
+ currency: string;
2007
+ decimals: number;
2008
+ value: string;
2009
+ }
2010
+ export interface NFTDetail extends NFTItem {
2011
+ listing_order: ListingOrder | null;
2012
+ best_offer_order: BestOfferOrder | null;
2013
+ rarity: Rarity | null;
2014
+ last_sale?: LastSale | null;
2015
+ }
2016
+ export interface PrepareListingNFTResponse {
2017
+ data: {
2018
+ sign: {
2019
+ signatureKind: string;
2020
+ domain: {
2021
+ name: string;
2022
+ version: string;
2023
+ chainId: number;
2024
+ verifyingContract: string;
2025
+ };
2026
+ types: {
2027
+ EIP712Domain: Array<{
2028
+ name: string;
2029
+ type: string;
2030
+ }>;
2031
+ OrderComponents: Array<{
2032
+ name: string;
2033
+ type: string;
2034
+ }>;
2035
+ OfferItem: Array<{
2036
+ name: string;
2037
+ type: string;
2038
+ }>;
2039
+ ConsiderationItem: Array<{
2040
+ name: string;
2041
+ type: string;
2042
+ }>;
2043
+ };
2044
+ value: {
2045
+ offerer: string;
2046
+ zone: string;
2047
+ offer: Array<{
2048
+ itemType: number;
2049
+ token: string;
2050
+ identifierOrCriteria: string;
2051
+ startAmount: string;
2052
+ endAmount: string;
2053
+ }>;
2054
+ consideration: Array<{
2055
+ itemType: number;
2056
+ token: string;
2057
+ identifierOrCriteria: string;
2058
+ startAmount: string;
2059
+ endAmount: string;
2060
+ recipient: string;
2061
+ }>;
2062
+ orderType: number;
2063
+ startTime: string;
2064
+ endTime: string;
2065
+ zoneHash: string;
2066
+ salt: string;
2067
+ conduitKey: string;
2068
+ counter: string;
2069
+ };
2070
+ primaryType: string;
2071
+ };
2072
+ post: {
2073
+ endpoint: string;
2074
+ method: string;
2075
+ body: {
2076
+ order: {
2077
+ kind: string;
2078
+ data: {
2079
+ offerer: string;
2080
+ zone: string;
2081
+ offer: Array<{
2082
+ itemType: number;
2083
+ token: string;
2084
+ identifierOrCriteria: string;
2085
+ startAmount: string;
2086
+ endAmount: string;
2087
+ }>;
2088
+ consideration: Array<{
2089
+ itemType: number;
2090
+ token: string;
2091
+ identifierOrCriteria: string;
2092
+ startAmount: string;
2093
+ endAmount: string;
2094
+ recipient: string;
2095
+ }>;
2096
+ orderType: number;
2097
+ startTime: string;
2098
+ endTime: string;
2099
+ zoneHash: string;
2100
+ salt: string;
2101
+ conduitKey: string;
2102
+ counter: string;
2103
+ };
2104
+ };
2105
+ };
2106
+ };
2107
+ };
2108
+ }
2109
+ export interface PrepareAcceptNFTOfferResponse {
2110
+ data: {
2111
+ protocol: string;
2112
+ fulfillment_data: {
2113
+ transaction: {
2114
+ function: string;
2115
+ chain: number;
2116
+ to: string;
2117
+ value: number;
2118
+ input_data: {
2119
+ advancedOrder: {
2120
+ parameters: {
2121
+ offerer: string;
2122
+ zone: string;
2123
+ zoneHash: string;
2124
+ startTime: string;
2125
+ endTime: string;
2126
+ orderType: number;
2127
+ salt: string;
2128
+ conduitKey: string;
2129
+ totalOriginalConsiderationItems: number;
2130
+ offer: Array<{
2131
+ itemType: number;
2132
+ token: string;
2133
+ identifierOrCriteria: string;
2134
+ startAmount: string;
2135
+ endAmount: string;
2136
+ }>;
2137
+ consideration: Array<{
2138
+ itemType: number;
2139
+ token: string;
2140
+ identifierOrCriteria: string;
2141
+ startAmount: string;
2142
+ endAmount: string;
2143
+ recipient: string;
2144
+ }>;
2145
+ counter: number;
2146
+ };
2147
+ numerator: string;
2148
+ denominator: string;
2149
+ signature: string;
2150
+ extraData: string;
2151
+ };
2152
+ criteriaResolvers?: Array<{
2153
+ orderIndex: number;
2154
+ side: number;
2155
+ index: number;
2156
+ identifier: string;
2157
+ criteriaProof: string[];
2158
+ }>;
2159
+ fulfillerConduitKey?: string;
2160
+ recipient: string;
2161
+ } | {
2162
+ basicOrderParameters: {
2163
+ considerationToken: string;
2164
+ considerationIdentifier: string;
2165
+ considerationAmount: string;
2166
+ offerer: string;
2167
+ zone: string;
2168
+ offerToken: string;
2169
+ offerIdentifier: string;
2170
+ offerAmount: string;
2171
+ basicOrderType: number;
2172
+ startTime: string;
2173
+ endTime: string;
2174
+ zoneHash: string;
2175
+ salt: string;
2176
+ offererConduitKey: string;
2177
+ fulfillerConduitKey: string;
2178
+ totalOriginalAdditionalRecipients: number;
2179
+ additionalRecipients: Array<{
2180
+ amount: string;
2181
+ recipient: string;
2182
+ }>;
2183
+ signature: string;
2184
+ };
2185
+ } | {
2186
+ order: {
2187
+ parameters: {
2188
+ offerer: string;
2189
+ zone: string;
2190
+ zoneHash: string;
2191
+ startTime: string;
2192
+ endTime: string;
2193
+ orderType: number;
2194
+ salt: string;
2195
+ conduitKey: string;
2196
+ totalOriginalConsiderationItems: number;
2197
+ offer: Array<{
2198
+ itemType: number;
2199
+ token: string;
2200
+ identifierOrCriteria: string;
2201
+ startAmount: string;
2202
+ endAmount: string;
2203
+ }>;
2204
+ consideration: Array<{
2205
+ itemType: number;
2206
+ token: string;
2207
+ identifierOrCriteria: string;
2208
+ startAmount: string;
2209
+ endAmount: string;
2210
+ recipient: string;
2211
+ }>;
2212
+ counter: number;
2213
+ };
2214
+ signature: string;
2215
+ };
2216
+ fulfillerConduitKey?: string;
2217
+ recipient: string;
2218
+ } | {
2219
+ orders: Array<{
2220
+ parameters: {
2221
+ offerer: string;
2222
+ zone: string;
2223
+ zoneHash: string;
2224
+ startTime: string;
2225
+ endTime: string;
2226
+ orderType: number;
2227
+ salt: string;
2228
+ conduitKey: string;
2229
+ totalOriginalConsiderationItems: number;
2230
+ offer: Array<{
2231
+ itemType: number;
2232
+ token: string;
2233
+ identifierOrCriteria: string;
2234
+ startAmount: string;
2235
+ endAmount: string;
2236
+ }>;
2237
+ consideration: Array<{
2238
+ itemType: number;
2239
+ token: string;
2240
+ identifierOrCriteria: string;
2241
+ startAmount: string;
2242
+ endAmount: string;
2243
+ recipient: string;
2244
+ }>;
2245
+ counter: number;
2246
+ };
2247
+ signature: string;
2248
+ } | {
2249
+ parameters: {
2250
+ offerer: string;
2251
+ zone: string;
2252
+ zoneHash: string;
2253
+ startTime: string;
2254
+ endTime: string;
2255
+ orderType: number;
2256
+ salt: string;
2257
+ conduitKey: string;
2258
+ totalOriginalConsiderationItems: number;
2259
+ offer: Array<{
2260
+ itemType: number;
2261
+ token: string;
2262
+ identifierOrCriteria: string;
2263
+ startAmount: string;
2264
+ endAmount: string;
2265
+ }>;
2266
+ consideration: Array<{
2267
+ itemType: number;
2268
+ token: string;
2269
+ identifierOrCriteria: string;
2270
+ startAmount: string;
2271
+ endAmount: string;
2272
+ recipient: string;
2273
+ }>;
2274
+ counter: number;
2275
+ };
2276
+ numerator: string;
2277
+ denominator: string;
2278
+ signature: string;
2279
+ extraData: string;
2280
+ } | {
2281
+ considerationToken: string;
2282
+ considerationIdentifier: string;
2283
+ considerationAmount: string;
2284
+ offerer: string;
2285
+ zone: string;
2286
+ offerToken: string;
2287
+ offerIdentifier: string;
2288
+ offerAmount: string;
2289
+ basicOrderType: number;
2290
+ startTime: string;
2291
+ endTime: string;
2292
+ zoneHash: string;
2293
+ salt: string;
2294
+ offererConduitKey: string;
2295
+ fulfillerConduitKey: string;
2296
+ totalOriginalAdditionalRecipients: number;
2297
+ additionalRecipients: Array<{
2298
+ amount: string;
2299
+ recipient: string;
2300
+ }>;
2301
+ signature: string;
2302
+ }>;
2303
+ };
2304
+ };
2305
+ orders: Array<{
2306
+ parameters: {
2307
+ offerer: string;
2308
+ zone: string;
2309
+ zoneHash: string;
2310
+ startTime: string;
2311
+ endTime: string;
2312
+ orderType: number;
2313
+ salt: string;
2314
+ conduitKey: string;
2315
+ totalOriginalConsiderationItems: number;
2316
+ offer: Array<{
2317
+ itemType: number;
2318
+ token: string;
2319
+ identifierOrCriteria: string;
2320
+ startAmount: string;
2321
+ endAmount: string;
2322
+ }>;
2323
+ consideration: Array<{
2324
+ itemType: number;
2325
+ token: string;
2326
+ identifierOrCriteria: string;
2327
+ startAmount: string;
2328
+ endAmount: string;
2329
+ recipient: string;
2330
+ }>;
2331
+ counter: number;
2332
+ };
2333
+ signature: string;
2334
+ }>;
2335
+ };
2336
+ };
2337
+ }
1816
2338
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-api",
3
- "version": "0.9.47",
3
+ "version": "0.9.48-0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [