encode

open fun encode(coin: CoinType, input: Array<Byte>): Array<Byte>

Encode an item or a list of items as Eth RLP binary format.

Return

serialized `EthereumRlp::Proto::EncodingOutput`.

Parameters

coin

EVM-compatible coin type.

input

Non-null serialized `EthereumRlp::Proto::EncodingInput`.