Skip to main content

isValidSignature

Callable

  • isValidSignature(v: bigint, r: Buffer, s: Buffer, homesteadOrLater?: boolean, chainId?: bigint): boolean

  • Validate a ECDSA signature. NOTE: Accepts v === 0 | v === 1 for EIP1559 transactions


    Parameters

    • v: bigint
    • r: Buffer
    • s: Buffer
    • homesteadOrLater: boolean = true

      Indicates whether this is being used on either the homestead hardfork or a later one

    • optionalchainId: bigint

    Returns boolean