Function eosio_sys::expiration
source · pub unsafe extern "C" fn expiration() -> u32
Expand description
Gets the expiration of the currently executing transaction.
@brief Gets the expiration of the currently executing transaction. @return expiration of the currently executing transaction in seconds since Unix epoch Example: @code uint32_t tm = expiration(); eosio_print(tm); @endcode