compile With Signatures
open fun compileWithSignatures(coinType: CoinType, txInputData: Array<Byte>, signatures: DataVector, publicKeys: DataVector): Array<Byte>
Compiles a complete transation with one or more external signatures. Puts together from transaction input and provided public keys and signatures. The signatures must match the hashes returned by TWTransactionCompilerPreImageHashes, in the same order. The publicKeyHash attached to the hashes enable identifying the private key needed for signing the hash.
Return
serialized data of a proto object `SigningOutput`.
Parameters
coin
coin type.
tx Input Data
The serialized data of a signing input.
signatures
signatures to compile, using TWDataVector.
public Keys
public keys for signers to match private keys, using TWDataVector.