ink_env
6.0.0-beta.1
ink_env
Function
chain_id
Copy item path
Source
pub fn chain_id() -> U256
Expand description
Returns the
EIP-155
chain ID, akin to the EVM
CHAINID
opcode.