web3-utilsFunctionstoCompactSigtoCompactSig CallabletoCompactSig(v: bigint, r: Buffer, s: Buffer, chainId?: bigint): stringConvert signature parameters into the format of Compact Signature Representation (EIP-2098). NOTE: Accepts v === 0 | v === 1 for EIP1559 transactionsParametersv: bigintr: Buffers: BufferoptionalchainId: bigintReturns stringSignature
Convert signature parameters into the format of Compact Signature Representation (EIP-2098). NOTE: Accepts
v === 0 | v === 1
for EIP1559 transactions