Search by name, SuiNS, address, digest, object ID, coin type or checkpoint.

API

tx_context

Module0x0000…0002
Move path
0x0000…0002::tx_context
Functions
198 public, 0 entry
Structs
1
Friend modules
None
tx_context

Declarations

Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.

module tx_context;
struct TxContext has drop {
sender: address,
tx_hash: vector<u8>,
epoch: u64,
epoch_timestamp_ms: u64,
ids_created: u64,
}
fun derive_id(vector<u8>, u64): address
public fun digest(): &vector<u8>
public fun epoch(): u64
public fun epoch_timestamp_ms(): u64
fun fresh_id(): address
public fun fresh_object_address(): address
public fun gas_price(): u64
fun native_epoch(): u64
fun native_epoch_timestamp_ms(): u64
fun native_gas_budget(): u64
fun native_gas_price(): u64
fun native_ids_created(): u64
fun native_rgp(): u64
fun native_sender(): address
fun native_sponsor(): vector<address>
fun option_sponsor(): Option<address>
public fun reference_gas_price(): u64
public fun sender(): address
public fun sponsor(): Option<address>