@mavrykdynamics/taquito
Version:
High level functionality that builds upon the other packages in the Mavryk Typescript Library Suite.
16 lines (15 loc) • 517 B
TypeScript
import BigNumber from 'bignumber.js';
import { Operation } from '../operations/operations';
export interface MvProvider {
/**
*
* @param address Mavryk address you want to get the spendable balance for (eg mv1...)
*/
getBalance(address: string): Promise<BigNumber>;
/**
*
* @param address Mavryk address you want to get the delegate for (eg mv1...)
*/
getDelegate(address: string): Promise<string | null>;
activate(pkh: string, secret: string): Promise<Operation>;
}