UNPKG

firma-js-chain-2.0

Version:

The Official FirmaChain Javascript SDK written in Typescript

18 lines (17 loc) 567 B
import { Pagination } from '../common'; export interface NftItemType { id: string; owner: string; tokenURI: string; } export declare class NftQueryClient { private _axios; constructor(baseUrl: string); queryBalanceOf(ownerAddress: string): Promise<string>; queryTokenOfOwnerByIndex(ownerAddress: string, index: string): Promise<string>; queryNftItem(nftId: string): Promise<NftItemType>; queryNftItemAll(paginationKey?: string): Promise<{ dataList: NftItemType[]; pagination: Pagination; }>; }