setAddress method

Transaction setAddress(
  1. Address address
)

Set the transaction builder with address (required for originSign) @param {Address} to Address

Implementation

Transaction setAddress(Address address) {
  if (!address.isValid()) {
    throw const FormatException(
      "'address' must contain an hexadecimal string",
    );
  }
  return copyWith(address: address);
}