Function eei::ethereum_callStatic[][src]

pub unsafe extern "C" fn ethereum_callStatic(
    gas_limit: i64,
    address_ptr: *const Address,
    data_ptr: *const u8,
    data_length: i32
) -> CallResult
Expand description

Call a node by it’s address, but do not modify it’s state. This can be used for testing a transaction.

Arguments:

  • gas_limit: The gas limit of the message.
  • address_ptr: The memory location to load the address from.
  • data_ptr: The memory location to load the data from.
  • data_length: The length in bytes of data to send.