compile Signed Transaction
fun compileSignedTransaction(signingInputData: ByteArray, signature: ByteArray, publicKey: ByteArray, network: Network): Result<String>
Compile a signed transaction from preImageHash data and an external signature.
This method takes the serialized SigningInput from preImageHash and combines it with an external signature (from MPC) to produce a fully signed transaction ready for broadcast.
Return
Result containing the signed transaction hex string (with 0x prefix), or an error
Parameters
signing Input Data
The serialized SigningInput data from extractSigningInputData
signature
The ECDSA signature (65 bytes: r, s, v)
public Key
The uncompressed public key (65 bytes) used for signing
network
The network to determine the correct coin type