decode

open fun decode(coinType: CoinType, encodedTx: Array<Byte>): Array<Byte>

Decodes a transaction from a binary representation.

Return

serialized protobuf message specific for the given coin.

Parameters

coin

coin type.

encodedTx

encoded transaction data.