UNPKG

@citizenwallet/sdk

Version:

An sdk to easily work with citizen wallet.

13 lines 504 B
/** * Converts an Ethereum address to a BigInt * @param address The Ethereum address as a string (with or without '0x' prefix) * @returns The address as a BigInt */ export declare function addressToId(address: string): bigint; /** * Converts a BigInt back to an Ethereum address * @param id The BigInt representation of an Ethereum address * @returns The Ethereum address as a string with '0x' prefix */ export declare function idToAddress(id: bigint): string; //# sourceMappingURL=utils.d.ts.map