Function current_sequence

Source
pub fn current_sequence() -> u32
Expand description

Return the nSequence of the current txin.

Use this jet to obtain the raw, encoded sequence number. Use tx_lock_distance to obtain a relative block height, or tx_lock_duration to obtain a relative UNIX timestamp, in a safe manner.

ยงCost

89 mWU (milli weight units)