The official RPC doesn't (and probably will never) support a method to retrieve transaction list associated with an address.
I think it could make sense having a non-standard method for that. There are multiple ways to create that data:
- using a data provider like etherscan/etherchain/ethercamp
- hooking into the block polling
- building someone's own service for that
- testrpc should be able to provide it too
The reason having a fixed API is useful:
- client code needs to be written once
- current data providers can be used
- there's a skeleton to work with when creating someone's own private service
Suggestion: zeroclient_getTransactions which returns an array of transactions
Sample response: http://api.etherscan.io/api?module=account&action=txlist&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&sort=asc
The official RPC doesn't (and probably will never) support a method to retrieve transaction list associated with an address.
I think it could make sense having a non-standard method for that. There are multiple ways to create that data:
The reason having a fixed API is useful:
Suggestion:
zeroclient_getTransactionswhich returns an array of transactionsSample response: http://api.etherscan.io/api?module=account&action=txlist&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&sort=asc