Function std::tx::script_gas_limit
pub fn script_gas_limit() -> u64
Expand description
Get the script gas limit for the transaction.
Returns
- [u64] - The script gas limit for the transaction.
Examples
use std::tx::script_gas_limit;
fn foo() {
let gas_limit = script_gas_limit();
log(gas_limit);
}