UNPKG

@nervosnetwork/ckb-sdk-utils

Version:

Utils module of @nervosnetwork/ckb-sdk-core

16 lines (15 loc) 788 B
export declare const toUint16Le: (uint16: string | bigint) => string; export declare const toUint32Le: (uint32: string | bigint) => string; export declare const toUint64Le: (uint64: string | bigint) => string; export declare const hexToBytes: (rawhex: string | number | bigint) => Uint8Array; export declare const toBigEndian: (leHex: string) => string; export declare const bytesToHex: (bytes: Uint8Array) => string; declare const _default: { toUint16Le: (uint16: string | bigint) => string; toUint32Le: (uint32: string | bigint) => string; toUint64Le: (uint64: string | bigint) => string; hexToBytes: (rawhex: string | number | bigint) => Uint8Array; bytesToHex: (bytes: Uint8Array) => string; toBigEndian: (leHex: string) => string; }; export default _default;