@lyncworld/fuel-marketplace
Version:
Marketplace NPM SDK on Fuel blockchain. Powered by LYNC, it allows anyone to create their own decentralized marketplace which includes listing and buying of Non-fungible tokens (NFTs) and Semi-fungible tokens (SFTs) in a few lines of code.
25 lines (20 loc) • 501 B
text/typescript
import { Networks } from '@/enums';
export interface HooksReturn<TReturnData = unknown> {
fetching: boolean;
data: TReturnData;
error: unknown;
}
export interface HooksArgs {
network: Networks;
limit?: number;
}
export interface AllNftsInCollectionArgs {
network: Networks;
nftStandard: 'NFT' | 'SEMI_FT';
contractAddress: `0x${string}`;
}
export interface NftDetailsArgs extends HooksArgs {
contractAddress: `0x${string}`;
tokenId: string;
nftStandard: 'NFT' | 'SEMI_FT';
}