pub fn deserialize(
buf: BitArray,
) -> Result(#(Transaction, BitArray), String)
pub fn deserialize_all(
buf: BitArray,
) -> Result(Transaction, String)
pub fn format(tx: Transaction) -> TransactionFormat
pub fn from_hex(hex: String) -> Result(Transaction, String)
pub fn new_basic(
sender: Address,
recipient: Address,
value: Coin,
fee: Coin,
validity_start_height: Int,
network_id: NetworkId,
proof: Option(BitArray),
) -> Transaction
pub fn new_basic_with_data(
sender: Address,
recipient: Address,
data: BitArray,
value: Coin,
fee: Coin,
validity_start_height: Int,
network_id: NetworkId,
proof: Option(BitArray),
) -> Transaction
pub fn serialize(
builder: BytesBuilder,
tx: Transaction,
) -> Result(BytesBuilder, String)
pub fn serialize_content(tx: Transaction) -> BitArray
pub fn serialize_to_bits(
tx: Transaction,
) -> Result(BitArray, String)
pub fn set_proof(tx: Transaction, proof: BitArray) -> Transaction
pub fn set_signature_proof(
tx: Transaction,
proof: SignatureProof,
) -> Transaction
pub fn to_hex(tx: Transaction) -> Result(String, String)