# klay

The namespace `klay` provides functions related to accounts, blocks, transactions, configurations of networks or nodes, filters, and so on. The list below enumerates the API functions that are currently supported in Klaytn.

### [Account](/content/dapp/json-rpc/api-references/klay/account.md) <a href="#account" id="account"></a>

* [klay\_accountCreated](/content/dapp/json-rpc/api-references/klay/account.md#klay_accountcreated)
* [klay\_accounts](/content/dapp/json-rpc/api-references/klay/account.md#klay_accounts)
* [klay\_encodeAccountKey](/content/dapp/json-rpc/api-references/klay/account.md#klay_encodeaccountkey)
* [klay\_decodeAccountKey](/content/dapp/json-rpc/api-references/klay/account.md#klay_decodeaccountkey)
* [klay\_getAccount](/content/dapp/json-rpc/api-references/klay/account.md#klay_getaccount)
* [klay\_getAccountKey](/content/dapp/json-rpc/api-references/klay/account.md#klay_getaccountkey)
* [klay\_getBalance](/content/dapp/json-rpc/api-references/klay/account.md#klay_getbalance)
* [klay\_getCode](/content/dapp/json-rpc/api-references/klay/account.md#klay_getcode)
* [klay\_getTransactionCount](/content/dapp/json-rpc/api-references/klay/account.md#klay_gettransactioncount)
* [klay\_isContractAccount](/content/dapp/json-rpc/api-references/klay/account.md#klay_iscontractaccount)
* [klay\_sign](/content/dapp/json-rpc/api-references/klay/account.md#klay_sign)

### [Block](/content/dapp/json-rpc/api-references/klay/block.md) <a href="#block" id="block"></a>

* [klay\_blockNumber](/content/dapp/json-rpc/api-references/klay/block.md#klay_blocknumber)
* [klay\_getHeaderByNumber](/content/dapp/json-rpc/api-references/klay/block.md#klay_getheaderbynumber)
* [klay\_getHeaderByHash](/content/dapp/json-rpc/api-references/klay/block.md#klay_getheaderbyhash)
* [klay\_getBlockByNumber](/content/dapp/json-rpc/api-references/klay/block.md#klay_getblockbynumber)
* [klay\_getBlockByHash](/content/dapp/json-rpc/api-references/klay/block.md#klay_getblockbyhash)
* [klay\_getBlockReceipts](/content/dapp/json-rpc/api-references/klay/block.md#klay_getblockreceipts)
* [klay\_getBlockTransactionCountByNumber](/content/dapp/json-rpc/api-references/klay/block.md#klay_getblocktransactioncountbynumber)
* [klay\_getBlockTransactionCountByHash](/content/dapp/json-rpc/api-references/klay/block.md#klay_getblocktransactioncountbyhash)
* [klay\_getBlockWithConsensusInfoByHash](/content/dapp/json-rpc/api-references/klay/block.md#klay_getblockwithconsensusinfobyhash)
* [klay\_getBlockWithConsensusInfoByNumber](/content/dapp/json-rpc/api-references/klay/block.md#klay_getblockwithconsensusinfobynumber)
* [klay\_getCommittee](/content/dapp/json-rpc/api-references/klay/block.md#klay_getcommittee)
* [klay\_getCommitteeSize](/content/dapp/json-rpc/api-references/klay/block.md#klay_getcommitteesize)
* [klay\_getCouncil](/content/dapp/json-rpc/api-references/klay/block.md#klay_getcouncil)
* [klay\_getCouncilSize](/content/dapp/json-rpc/api-references/klay/block.md#klay_getcouncilsize)
* [klay\_getStorageAt](/content/dapp/json-rpc/api-references/klay/block.md#klay_getstorageat)
* [klay\_syncing](/content/dapp/json-rpc/api-references/klay/block.md#klay_syncing)
* [klay\_getRewards](/content/dapp/json-rpc/api-references/klay/block.md#klay_getrewards)

### [Transaction](/content/dapp/json-rpc/api-references/klay/transaction.md) <a href="#transaction" id="transaction"></a>

* [klay\_call](/content/dapp/json-rpc/api-references/klay/transaction.md#klay_call)
* [klay\_estimateGas](/content/dapp/json-rpc/api-references/klay/transaction.md#klay_estimategas)
* [klay\_estimateComputationCost](/content/dapp/json-rpc/api-references/klay/transaction.md#klay_estimatecomputationcost)
* [klay\_getTransactionByBlockHashAndIndex](/content/dapp/json-rpc/api-references/klay/transaction.md#klay_gettransactionbyblockhashandindex)
* [klay\_getTransactionByBlockNumberAndIndex](/content/dapp/json-rpc/api-references/klay/transaction.md#klay_gettransactionbyblocknumberandindex)
* [klay\_getTransactionByHash](/content/dapp/json-rpc/api-references/klay/transaction.md#klay_gettransactionbyhash)
* [klay\_getTransactionBySenderTxHash](/content/dapp/json-rpc/api-references/klay/transaction.md#klay_gettransactionbysendertxhash)
* [klay\_getTransactionReceipt](/content/dapp/json-rpc/api-references/klay/transaction.md#klay_gettransactionreceipt)
* [klay\_getTransactionReceiptBySenderTxHash](/content/dapp/json-rpc/api-references/klay/transaction.md#klay_gettransactionreceiptbysendertxhash)
* [klay\_sendRawTransaction](/content/dapp/json-rpc/api-references/klay/transaction.md#klay_sendrawtransaction)
* [klay\_sendTransaction](/content/dapp/json-rpc/api-references/klay/transaction.md#klay_sendtransaction)
* [klay\_sendTransactionAsFeePayer](/content/dapp/json-rpc/api-references/klay/transaction.md#klay_sendtransactionasfeepayer)
* [klay\_signTransaction](/content/dapp/json-rpc/api-references/klay/transaction.md#klay_signtransaction)
* [klay\_signTransactionAsFeePayer](/content/dapp/json-rpc/api-references/klay/transaction.md#klay_signtransactionasfeepayer)
* [klay\_getDecodedAnchoringTransactionByHash](/content/dapp/json-rpc/api-references/klay/transaction.md#klay_getDecodedAnchoringTransactionByHash)
* [klay\_resend](/content/dapp/json-rpc/api-references/eth/transaction.md#klay_resend)

### [Configuration](/content/dapp/json-rpc/api-references/klay/config.md) <a href="#configuration" id="configuration"></a>

* [klay\_chainID](/content/dapp/json-rpc/api-references/klay/config.md#klay_chainid)
* [klay\_clientVersion](/content/dapp/json-rpc/api-references/klay/config.md#klay_clientversion)
* [klay\_gasPrice](/content/dapp/json-rpc/api-references/klay/config.md#klay_gasprice)
* [klay\_gasPriceAt](/content/dapp/json-rpc/api-references/klay/config.md#klay_gaspriceat)
* [klay\_isParallelDBWrite](/content/dapp/json-rpc/api-references/klay/config.md#klay_isparalleldbwrite)
* [klay\_isSenderTxHashIndexingEnabled](/content/dapp/json-rpc/api-references/klay/config.md#klay_issendertxhashindexingenabled)
* [klay\_protocolVersion](/content/dapp/json-rpc/api-references/klay/config.md#klay_protocolversion)
* [klay\_rewardbase](/content/dapp/json-rpc/api-references/klay/config.md#klay_rewardbase)

### [Gas](/content/dapp/json-rpc/api-references/klay/gas.md) <a href="#gas" id="gas"></a>

* [klay\_feeHistory](/content/dapp/json-rpc/api-references/klay/gas.md#klay_feehistory)
* [klay\_maxPriorityFeePerGas](/content/dapp/json-rpc/api-references/klay/gas.md#klay_maxpriorityfeepergas)

### [Filter](/content/dapp/json-rpc/api-references/klay/filter.md) <a href="#filter" id="filter"></a>

* [klay\_getFilterChanges](/content/dapp/json-rpc/api-references/klay/filter.md#klay_getfilterchanges)
* [klay\_getFilterLogs](/content/dapp/json-rpc/api-references/klay/filter.md#klay_getfilterlogs)
* [klay\_getLogs](/content/dapp/json-rpc/api-references/klay/filter.md#klay_getlogs)
* [klay\_newBlockFilter](/content/dapp/json-rpc/api-references/klay/filter.md#klay_newblockfilter)
* [klay\_newFilter](/content/dapp/json-rpc/api-references/klay/filter.md#klay_newfilter)
* [klay\_newPendingTransactionFilter](/content/dapp/json-rpc/api-references/klay/filter.md#klay_newpendingtransactionfilter)
* [klay\_subscribe](/content/dapp/json-rpc/api-references/klay/filter.md#klay_subscribe)
* [klay\_uninstallFilter](/content/dapp/json-rpc/api-references/klay/filter.md#klay_uninstallfilter)
* [klay\_unsubscribe](/content/dapp/json-rpc/api-references/klay/filter.md#klay_unsubscribe)

### [Miscellaneous](/content/dapp/json-rpc/api-references/klay/misc.md) <a href="#miscellaneous" id="miscellaneous"></a>

* [klay\_sha3](/content/dapp/json-rpc/api-references/klay/misc.md#klay_sha3)
* [klay\_recoverFromTransaction](/content/dapp/json-rpc/api-references/klay/misc.md#klay_recoverFromTransaction)
* [klay\_recoverFromMessage](/content/dapp/json-rpc/api-references/klay/misc.md#klay_recoverFromMessage)
* [klay\_forkStatus](/content/dapp/json-rpc/api-references/klay/misc.md#klay_forkStatus)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://archive-docs.klaytn.foundation/content/dapp/json-rpc/api-references/klay.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
