UNPKG

viem

Version:

TypeScript Interface for Ethereum

20 lines (19 loc) 396 B
export type ByteArray = Uint8Array export type Hex = `0x${string}` export type Hash = `0x${string}` export type LogTopic = Hex | Hex[] | null export type SignableMessage = | string | { /** Raw data representation of the message. */ raw: Hex | ByteArray } export type Signature = { r: Hex s: Hex v: bigint } export type CompactSignature = { r: Hex yParityAndS: Hex }