raw method

List raw()
override

Returns the serialized unsigned tx (hashed or raw), which can be used.

Implementation

List raw() {
  return [
    intToBuffer(this.network.chainId),
    intToBuffer(this.data.nonce),
    intToBuffer(this.data.maxPriorityFeePerGas),
    intToBuffer(this.data.maxFeePerGas),
    intToBuffer(this.data.gasLimit),
    dynamicToUint8List(this.data.to),
    intToBuffer(this.data.value),
    dynamicToUint8List(this.data.data),
    [],
    this.data.v == null ? [] : intToBuffer(this.data.v),
    this.data.r == null ? [] : intToBuffer(this.data.r),
    this.data.s == null ? [] : intToBuffer(this.data.s)
  ];
}