Skip to main content

toCompactSig

Callable

  • toCompactSig(v: bigint, r: Buffer, s: Buffer, chainId?: bigint): string

  • Convert signature parameters into the format of Compact Signature Representation (EIP-2098). NOTE: Accepts v === 0 | v === 1 for EIP1559 transactions


    Parameters

    • v: bigint
    • r: Buffer
    • s: Buffer
    • optionalchainId: bigint

    Returns string

    Signature