# RPC to query transactions?

**URL:** <https://forum.zcashcommunity.com/t/rpc-to-query-transactions/33566>\
**Category:** zcashd client\
**Created:** [May 20, 2019, 8:50pm UTC](https://forum.zcashcommunity.com/t/rpc-to-query-transactions/33566 "2019-05-20T20:50:59Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![garethtdavies](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/garethtdavies/32/210_2.png) [@garethtdavies](https://forum.zcashcommunity.com/u/garethtdavies)\
**Post date:** [May 22, 2019, 8:04pm UTC](https://forum.zcashcommunity.com/t/rpc-to-query-transactions/33566/3 "2019-05-22T20:04:34Z")

</div>

See this WIP documentation that was just published: [source/rtd\_pages/insight\_explorer.rst · 954ac2cf4373cae408efd0838d8b468ea6018caa · zcash-docs / zcash-docs · GitLab](https://gitlab.com/zcash-docs/zcash-docs/blob/954ac2cf4373cae408efd0838d8b468ea6018caa/source/rtd_pages/insight_explorer.rst)

As noted on [other thread](https://forum.zcashcommunity.com/t/need-help-on-iquidus-based-zcash-explorer/33545/7) some Insight explorer changes are being incorporated into the main zcashd so once they are merged these RPC methods will be available if enabled. You can actually use these already though assuming you are running the Docker Insight container as that patched version of zcashd contains them.

Using your example above for the address balance. First SSH into the container:

```auto
docker exec -it zcash-explorer /bin/bash

```

Then use the `getaddressbalance` RPC method:

```auto
/home/zcashd/zcash-patched-for-explorer/src/zcash-cli getaddressbalance '{"addresses": ["t3gQDEavk5VzAAHK8TrQu2BWDLxEiF1unBm"]}'
{
  "balance": 1475000000000,
  "received": 1475000000000
}

```

---

_[View the full topic](https://forum.zcashcommunity.com/t/rpc-to-query-transactions/33566)._
