UNPKG

@okxweb3/coin-ethereum

Version:

An Ethereum SDK for building Web3 wallets and applications.

13 lines (12 loc) 721 B
/// <reference types="node" /> export declare function padToEven(value: string): string; export declare function intToHex(i: Number): string; export declare function intToBuffer(i: Number): Buffer; export declare function getBinarySize(str: string): number; export declare function toUtf8(hex: string): string; export declare function toAscii(hex: string): string; export declare function fromUtf8(stringValue: string): string; export declare function fromAscii(stringValue: string): string; export declare function getKeys(params: string, key: string, allowEmpty: boolean): any[]; export declare function isHexString(value: string, length?: number): boolean; export declare function numberToBuffer(num: number): Buffer;