OutputRef.deserialize constructor

OutputRef.deserialize(
  1. List<int> bytes
)

Implementation

factory OutputRef.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return OutputRef(
    txHash: decode.getString<String?>(1),
    outputIndex: decode.getInt<int?>(2),
    keyImage: decode.getString<String?>(3),
    spendTxHash: decode.getString<String?>(4),
  );
}