Skip to main content

OpCodes

Neon EVM supports the majority of the Ethereum OpCodes verbatim. This page presents those OpCodes that are not supported verbatim as they're adapted for use in the Neon EVM.

StackNameDescription
41COINBASEalways returns zero
44PREVRANDAO (FKA DIFFICULTY)always returns zero
45GASLIMITalways returns U256::MAX
48BASEFEEalways returns zero
5AGASreturns the gas limit in the transaction instead of remaining gas
Was this page helpful?