evm_addmod
Implements EVM ADDMOD: computes (a + b) mod n using the full mathematical sum, without UINT256 wraparound, and returns zero when n is zero. NULL input propagates to NULL.
Example
Runs locally
{"id":"sample_6r6mf6","title":"Sample"}
API reference
evm_addmod(UINT256, UINT256, UINT256) #
EVM ADDMOD over three UINT256 words using a 512-bit sum.