type ToSerializableTransactionOptions = { from?: string; transaction: PreparedTransaction<any>;};
The from address to use for gas estimation.
type from = string;
The transaction to convert to a serializable transaction.
type transaction = PreparedTransaction<any>;