@firmachain/firma-js
Version:
The Official FirmaChain Javascript SDK written in Typescript
21 lines (20 loc) • 625 B
TypeScript
import { Pagination } from "../common";
export interface NftItemType {
id: string;
owner: string;
tokenURI: string;
}
export declare class NftQueryClient {
private readonly axios;
constructor(baseUrl: string);
queryBalanceOf(ownerAddress: string): Promise<string>;
queryNftIdListOfOwner(ownerAddress: string, paginationKey: string): Promise<{
nftIdList: string[];
pagination: Pagination;
}>;
queryNftItem(nftId: string): Promise<NftItemType>;
queryNftItemAll(paginationKey?: string): Promise<{
dataList: NftItemType[];
pagination: Pagination;
}>;
}