UNPKG

tonweb

Version:

TonWeb - JavaScript API for TON blockchain

29 lines (28 loc) 774 B
import BN from 'bn.js'; import { Cell } from '../boc/cell'; /** * @todo: extract all the static methods as individual functions * there is no need to use class for this */ export declare class HttpProviderUtils { /** * @todo: improve typing */ static parseObject(obj: any): (BN | any); /** * @todo: improve typing */ static parseResponseStack(pair: [string, any]): (BN | Cell | any); /** * @todo: improve typing */ static parseResponse(result: any): any; /** * @todo: function is unused: use or remove it */ static makeArg(arg: any): ['num', (BN | Number)]; /** * @todo: function is unused: use or remove it */ static makeArgs(args: any[]): Array<['num', (BN | Number)]>; }