@xoxno/sdk-js 0.1.334 → 0.1.336
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/nft/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NftData } from '../types/nft';
|
|
1
|
+
import type { ActivityChain, NftData } from '../types/nft';
|
|
2
2
|
import type { TradincActivityArgs, TradingActivityResponse } from '../types/trading';
|
|
3
3
|
import type { UserOffers } from '../types/user';
|
|
4
4
|
/**
|
|
@@ -49,6 +49,13 @@ export declare class NFTModule {
|
|
|
49
49
|
* @throws Throws an error when the collection ticker is invalid.
|
|
50
50
|
*/
|
|
51
51
|
getNFTByCollectionAndNonce: (collection: string, nonce: number) => Promise<NftData>;
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
* @async
|
|
55
|
+
* @function getPinnedNFTs
|
|
56
|
+
* @returns {Promise<NftData[]>} A promise that resolves to the fetched pinned collections.
|
|
57
|
+
*/
|
|
58
|
+
getPinnedNFTs: (chain?: ActivityChain) => Promise<NftData[]>;
|
|
52
59
|
/**
|
|
53
60
|
* Get NFT by collection and nonce hex
|
|
54
61
|
*
|