<p>It's probably not in there right now; look at the code in bitcoin/rpc.py and add it! Basically you just need to follow the same pattern as other RPC calls. When you're done send me a pull-req on github.</p>

CC BY-SA 3.0
2014-04-23T19:07:52.410Z
After I posted this question I indeed saw that the source code is not that difficult. Although I won't be doing it this or next week, I'll send you a pull request some time at github. Cheers! And thanks for actually creating this software! :)
kramer65
CC BY-SA 3.0
2014-04-23T10:29:59.710Z
2014-04-23T10:29:59.710Z
Peter Todd
<p>I'm trying to use the <a href="https://github.com/petertodd/python-bitcoinlib" rel="nofollow noreferrer">python-bitcoinlib</a> in my bitcoin project. I now <a href="https://bitcoin.stackexchange.com/a/24661/11136">understand how I can send a payment</a>, but I can't find anything similar to the getreceivedbyaddress() command I normally used.</p>

<p>Isn't it present in the python-bitcoinlib, is there a workaround, or am I simply overlooking something? All tips are welcome!</p>

<json-rpc><python><python-bitcoinlib>
How to getreceivedbyaddress() with the python-bitcoinlib?
kramer65
# How to getreceivedbyaddress() with the python-bitcoinlib?

(Asked by: username_0 on 2014-04-22)

I'm trying to use the [python-bitcoinlib](https://github.com/petertodd/python-bitcoinlib) in my bitcoin project. I now [understand how I can send a payment](https://bitcoin.stackexchange.com/a/24661/11136), but I can't find anything similar to the getreceivedbyaddress() command I normally used.

Isn't it present in the python-bitcoinlib, is there a workaround, or am I simply overlooking something? All tips are welcome!

**Tags:** json-rpc, python, python-bitcoinlib


---

## 1 answers

### Answer by username_1 on 2014-04-23. Score: 2

It's probably not in there right now; look at the code in bitcoin/rpc.py and add it! Basically you just need to follow the same pattern as other RPC calls. When you're done send me a pull-req on github.

> **Comments:**
> **username_0**: After I posted this question I indeed saw that the source code is not that difficult. Although I won't be doing it this or next week, I'll send you a pull request some time at github. Cheers! And thanks for actually creating this software! :)  

---

