UNPKG

@newfound8ion/newcoin.farm-js

Version:

JS Library to interact with newcoin.farm smart contract.

13 lines (12 loc) 573 B
import { GetCurrencyStats, GetCurrencyBalance, GetTableRowsPayload } from "../interfaces"; import { DepositPayload } from "../interfaces"; export declare class ChainApi { readonly nodeos_url: string; readonly contract: string; readonly fetch: any; constructor(nodeos_url: string, contract: string, fetch: any); getCurrencyStats(payload: GetCurrencyStats): Promise<any>; getCurrencyBalance(payload: GetCurrencyBalance): Promise<any>; getTableRows(payload: GetTableRowsPayload): Promise<any>; getDeposit(opts: DepositPayload): Promise<any>; }