Serialize a transaction and encode it as a hex string.

Synopsis

Declared in <core_io.h>

std::string
EncodeHexTx(CTransaction const& tx);

Return Value

The hex‐encoded serialized transaction.

Parameters

Name

Description

tx

Transaction to encode.

Created with MrDocs