# API

- [accounts](https://slice-ledger.gitbook.io/sliceledger/api/accounts.md): Returns a list of addresses owned by client.
- [blockNumber](https://slice-ledger.gitbook.io/sliceledger/api/blocknumber.md): Returns the current "latest" block number.
- [call](https://slice-ledger.gitbook.io/sliceledger/api/call.md): Executes a new message call immediately without creating a transaction on the block chain.
- [chainId](https://slice-ledger.gitbook.io/sliceledger/api/chainid.md): Returns the currently configured chain id, a value used in replay-protected transaction signing as introduced by EIP-155.
- [estimateGas](https://slice-ledger.gitbook.io/sliceledger/api/estimategas.md)
- [gasPrice](https://slice-ledger.gitbook.io/sliceledger/api/gasprice.md): Returns the current gas price in wei.
- [getBalance](https://slice-ledger.gitbook.io/sliceledger/api/getbalance.md): Returns the balance of the account of given address.
- [getBlockByHash](https://slice-ledger.gitbook.io/sliceledger/api/getblockbyhash.md): Returns information about a block by hash.
- [getBlockByNumber](https://slice-ledger.gitbook.io/sliceledger/api/getblockbynumber.md): Returns information about a block by hash.
- [getBlockTransactionCountByHash](https://slice-ledger.gitbook.io/sliceledger/api/getblocktransactioncountbyhash.md): Returns the number of transactions in the block with the given block hash.
- [getBlockTransactionCountByNumber](https://slice-ledger.gitbook.io/sliceledger/api/getblocktransactioncountbynumber.md): Returns the number of transactions in the block with the given block number.
- [getCode](https://slice-ledger.gitbook.io/sliceledger/api/getcode.md): Returns the compiled smart contract code, if any, at a given address.
- [getLogs](https://slice-ledger.gitbook.io/sliceledger/api/getlogs.md): Returns an array of all logs matching a given filter object.
- [getStorageAt](https://slice-ledger.gitbook.io/sliceledger/api/getstorageat.md): Returns the value from a storage position at a given address.
- [getTransactionByBlockHashAndIndex](https://slice-ledger.gitbook.io/sliceledger/api/gettransactionbyblockhashandindex.md): Returns information about a transaction by block hash and transaction index position.
- [getTransactionByBlockNumberAndIndex](https://slice-ledger.gitbook.io/sliceledger/api/gettransactionbyblocknumberandindex.md): Returns information about a transaction by block number and transaction index position.
- [getTransactionByHash](https://slice-ledger.gitbook.io/sliceledger/api/gettransactionbyhash.md): Returns information about a transaction for a given hash.
- [getTransactionCount](https://slice-ledger.gitbook.io/sliceledger/api/gettransactioncount.md): Returns the number of transactions sent from an address.
- [getTransactionReceipt](https://slice-ledger.gitbook.io/sliceledger/api/gettransactionreceipt.md): Returns the receipt of a transaction by transaction hash. Note that the receipt is not available for pending transactions.
- [getUncleByBlockHashAndIndex](https://slice-ledger.gitbook.io/sliceledger/api/getunclebyblockhashandindex.md): Returns information about the 'Uncle' of a block by hash and the Uncle index position.
- [getUncleByBlockNumberAndIndex](https://slice-ledger.gitbook.io/sliceledger/api/getunclebyblocknumberandindex.md): Returns information about the 'Uncle' of a block by hash and the Uncle index position.
- [getUncleCountByBlockHash](https://slice-ledger.gitbook.io/sliceledger/api/getunclecountbyblockhash.md): Returns the number of uncles in a block from a block matching the given block hash.
- [getUncleCountByBlockNumber](https://slice-ledger.gitbook.io/sliceledger/api/getunclecountbyblocknumber.md): Returns the number of uncles in a block from a block matching the given block number.
- [getWork](https://slice-ledger.gitbook.io/sliceledger/api/getwork.md): Returns the hash of the current block, the seedHash, and the boundary condition to be met ("target").
- [hashrate](https://slice-ledger.gitbook.io/sliceledger/api/hashrate.md): Returns the number of hashes per second that the node is mining with. Only applicable when the node is mining.
- [mining](https://slice-ledger.gitbook.io/sliceledger/api/mining.md): Returns true if client is actively mining new blocks.
- [protocolVersion](https://slice-ledger.gitbook.io/sliceledger/api/protocolversion.md): Returns the current ethereum protocol version.
- [sendRawTransaction](https://slice-ledger.gitbook.io/sliceledger/api/sendrawtransaction.md): Submits a pre-signed transaction for broadcast to the Ethereum network.
- [submitWork](https://slice-ledger.gitbook.io/sliceledger/api/submitwork.md): Used for submitting a proof-of-work solution.
- [syncing](https://slice-ledger.gitbook.io/sliceledger/api/syncing.md): Returns an object with data about the sync status or false.
- [net\_listening](https://slice-ledger.gitbook.io/sliceledger/api/net_listening.md): Returns true if client is actively listening for network connections.
- [net\_peerCount](https://slice-ledger.gitbook.io/sliceledger/api/net_peercount.md): Returns the number of peers currently connected to the client.
- [net\_version](https://slice-ledger.gitbook.io/sliceledger/api/net_version.md): Returns the current network id.
- [web3\_clientVersion](https://slice-ledger.gitbook.io/sliceledger/api/web3_clientversion.md): Returns the current client version.
- [parity\_nextNonce](https://slice-ledger.gitbook.io/sliceledger/api/parity_nextnonce.md): Returns next available nonce for transaction from given account. Includes pending block and transaction queue.
- [Filter methods](https://slice-ledger.gitbook.io/sliceledger/api/filter-methods.md)
- [newFilter](https://slice-ledger.gitbook.io/sliceledger/api/newfilter.md): Creates a filter object, based on filter options, to notify when the state changes (logs). To check if the state has changed, call eth\_getFilterChanges
- [newBlockFilter](https://slice-ledger.gitbook.io/sliceledger/api/newblockfilter.md): Creates a filter in the node, to notify when a new block arrives. To check if the state has changed, call eth\_getFilterChanges.
- [getFilterChanges](https://slice-ledger.gitbook.io/sliceledger/api/getfilterchanges.md): Polling method for a filter, which returns an array of logs which occurred since last poll.
- [uninstallFilter](https://slice-ledger.gitbook.io/sliceledger/api/uninstallfilter.md): Uninstalls a filter with given ID. Should always be called when watching is no longer needed. Additionally filters time out when they aren't requested with eth\_getFilterChanges for a period of time.


---

# 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://slice-ledger.gitbook.io/sliceledger/api.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.
