Function std::call_frames::second_param
pub fn second_param() -> u64
Expand description
Get the second parameter from the current call frame.
Additional Information
More information on data from call frames can be found in the Fuel Specs.
https://docs.fuel.network/docs/specs/fuel-vm/#call-frames
Returns
- [u64] - The second parameter of the current call frame.
Examples
use std::call_frames::second_param;
fn foo() {
let param: u64 = second_param();
assert(param != 0);
}