klay_isContractAccount
Returns true if an input account has a non-empty codeHash at the time of a specific block number. It returns false if the account is an EOA or a smart contract account which doesn't have codeHash.
Parameters
Name | Type | Description |
---|---|---|
address | 20-byte DATA | Address |
block number or hash | QUANTITY | TAG | HASH | Integer or hexadecimal block number, or the string |
Return Value
Type | Description |
---|---|
Boolean |
|
Example
Last updated