tronweb
Version:
JavaScript SDK that encapsulates the TRON HTTP API
6 lines (5 loc) • 500 B
TypeScript
import { FunctionFragment, GetOutputsType } from '../types/ABI.js';
export declare function decodeParams(names: string[], types: string[], output: string, ignoreMethodHash?: boolean): any;
export declare function encodeParams(types: string[], values: any[]): string;
export declare function encodeParamsV2ByABI(funABI: FunctionFragment, args: any[]): string;
export declare function decodeParamsV2ByABI<T extends FunctionFragment>(funABI: T, data: string | Uint8Array): GetOutputsType<T["outputs"]>;