Function code_size

Source
pub fn code_size(addr: Address) -> u64
Expand description

Returns the code size for a specified contract address. This is akin to the EVM CODESIZE opcode.

ยงNote

If addr is not a contract the output will be zero.