Loading

evm_shr

Scalar function

EVM SHR opcode: Logical right shift x by shift bits. Fills with zeros. Equivalent to x >> shift for unsigned values.

evm_shr(BIGINT, UINT256)

Parameters

Name Type
shift BIGINT
x UINT256

Returns

Name Type
result UINT256
1
SELECT evm_shr(8, value) AS shifted;
Notebook ready in readonly mode.