question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Defining non-standard RPC method for transaction list

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:22 (22 by maintainers)

github_iconTop GitHub Comments

1reaction
kumaviscommented, Mar 10, 2016

dora

0reactions
kumaviscommented, Apr 27, 2016

fwiw, the testrpc would handle the polyfill well

Read more comments on GitHub >

github_iconTop Results From Across the Web

JSON-RPC methods - Infura Docs
This section lists the Ethereum JSON-RPC API endpoints. ... non-standard ... Specific types of values passed to and returned from Ethereum RPC methods...
Read more >
EIP-1474: Remote procedure call specification
Simple Summary. This proposal defines a standard set of remote procedure call methods that an Ethereum node should implement.
Read more >
JSON RPC API - MetaMask Docs
This proposal defines a standard set of remote procedure call methods that an Ethereum node should implement. # Abstract. Nodes created by the ......
Read more >
Ethereum Provider API - MetaMask Docs
MetaMask supports most standardized Ethereum RPC methods, in addition to a ... For example, this method will return a transaction hash ...
Read more >
Configuring OpenEthereum
--tx-queue-no-unfamiliar-locals Local transactions sent through JSON-RPC (HTTP, WebSockets, etc) will be treated as 'external' if the sending account is unknown ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found