addSignature method

RawEVMTransactionType2 addSignature(
  1. Signature signature
)
override

Implementation

RawEVMTransactionType2 addSignature(Signature signature) {
  return RawEVMTransactionType2(
    nonce: nonce,
    gasLimit: gasLimit,
    to: to,
    value: value,
    data: data,
    chainId: chainId,
    maxFeePerGas: maxFeePerGas,
    maxPriorityFeePerGas: maxPriorityFeePerGas,
    accessList: accessList,
    signatureYParity: signature.yParity,
    signatureR: signature.rBytes,
    signatureS: signature.sBytes,
  );
}