Skip to main content

[Account] klay_getAccountKey

Returns the account key of the Externally Owned Account (EOA) of a given address. If the account has AccountKeyLegacy or the account of the given address is a Smart Contract Account, it will return an empty key value.

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

JSONRPC: klay_getAccountKey

Request

Responses

Returns the account key or an empty key value.

Make this page better