@firmachain/firma-js
Version:
The Official FirmaChain Javascript SDK written in Typescript
25 lines (24 loc) • 686 B
TypeScript
import { Pagination } from "../common";
export interface TokenDataType {
tokenID: string;
name: string;
symbol: string;
tokenURI: string;
totalSupply: number;
decimal: number;
mintable: boolean;
burnable: boolean;
mintSequence: number;
burnSequence: number;
owner: string;
}
export declare class TokenQueryClient {
private readonly axios;
constructor(baseUrl: string);
queryTokenDataFromOwner(ownerAddress: string): Promise<string[]>;
queryTokenData(tokenID: string): Promise<TokenDataType>;
queryTokenDataAll(paginationKey?: string): Promise<{
dataList: TokenDataType[];
pagination: Pagination;
}>;
}