Skip to main content

kaia_isContractAccount RPC Method

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.

Updated on
Aug 07, 2024

Parameters

address
string
REQUIRED

The address of the account being queried

BlockNumberOrHashOrTag
string
REQUIRED

The block number in integer, block hash or block tag(earliest and latest)

Returns

result
boolean

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

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free