cryptnox-pos 1.0.0
Standalone USDC payment terminal firmware (ESP32 + Cryptnox smart card)
Loading...
Searching...
No Matches
tron_tx_ctx_t Struct Reference

A created-and-verified transfer, ready to sign and broadcast. More...

#include <tron_rpc.h>

Public Attributes

uint8_t txid [32]
char txid_hex [65]
char raw_hex [TRON_RAW_HEX_MAX]
uint64_t expiration_ms

Detailed Description

A created-and-verified transfer, ready to sign and broadcast.

Definition at line 38 of file tron_rpc.h.

Member Data Documentation

◆ expiration_ms

uint64_t tron_tx_ctx_t::expiration_ms

raw_data.expiration: after this the chain can no longer take it.

Definition at line 42 of file tron_rpc.h.

Referenced by sign_and_broadcast_tron(), tron_rpc_create_transfer(), and tron_rpc_create_trc20_transfer().

◆ raw_hex

char tron_tx_ctx_t::raw_hex[TRON_RAW_HEX_MAX]

Verified raw_data hex.

Definition at line 41 of file tron_rpc.h.

Referenced by tron_rpc_broadcast(), tron_rpc_create_transfer(), tron_rpc_create_trc20_transfer(), and tx_ctx_from_json().

◆ txid

uint8_t tron_tx_ctx_t::txid[32]

The 32 bytes the card signs.

Definition at line 39 of file tron_rpc.h.

Referenced by sign_and_broadcast_tron(), and tx_ctx_from_json().

◆ txid_hex

char tron_tx_ctx_t::txid_hex[65]

Same, hex — for receipt polls.

Definition at line 40 of file tron_rpc.h.

Referenced by sign_and_broadcast_tron(), tron_rpc_create_transfer(), tron_rpc_create_trc20_transfer(), and tx_ctx_from_json().


The documentation for this struct was generated from the following file: