pre Image Hashes
Obtains pre-signing hashes of a transaction. We provide a default `PreSigningOutput` in TransactionCompiler.proto. For some special coins, such as bitcoin, we will create a custom `PreSigningOutput` object in its proto file.
Return
serialized data of a proto object `PreSigningOutput` includes hash.
Parameters
coin
coin type.
tx Input Data
The serialized data of a signing input