Skip to main content

[Account] kaia_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.

NOTE: In versions earlier than Kaia v1.7.0, only integer block number, the string "earliest" and "latest" are available

JSONRPC: kaia_isContractAccount

Request

Responses

Returns true if an input account has a non-empty codeHash at the time of a specific block number.

Make this page better