@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.
22 lines (19 loc) • 362 B
text/typescript
export interface SubgraphErrorResponse {
errors: { message: string }[];
}
export interface SubgraphSuccessResponse<TData> {
data: {
Listing?: TData;
Collection?: TData;
};
}
export interface ContractBalancesQueryResponse {
data: {
contractBalances: {
nodes: {
amount: string;
assetId: string;
}[];
};
};
}