serialize method

void serialize(
  1. Serializer serializer
)

Implementation

void serialize(Serializer serializer) {
  multisigAddress.serialize(serializer);
  // Options are encoded with an extra u8 field before the value - 0x0 is none and 0x1 is present.
  // We use serializeBool below to create this prefix value.
  if (transactionPayload == null) {
    serializer.serializeBool(false);
  } else {
    serializer.serializeBool(true);
    transactionPayload!.serialize(serializer);
  }
}