32 Commits

Author SHA1 Message Date
bc5617d57f newHeads subscription doesn't take a second param
Running this command results in the response:
```
{"jsonrpc":"2.0","id":1,"error":{"code":-32602,"message":"too many arguments, want at most 1"}}
```

Also there are other newHeads subscription examples in this page, which don't have the {} param.
2022-03-03 14:10:14 -05:00
5130988cb9 docs/_rpc: fix doc for tracing configs (#24498) 2022-03-03 14:59:30 +01:00
6cde301e53 Add page about JSON-RPC batch requests (#24394) 2022-02-16 17:57:41 +01:00
51242a49f4 docs: add page on graphql (#24250)
* docs: add page on graphql

* mv graphql to rpc category
2022-01-19 10:34:46 +01:00
f388b16fa4 docs: fix typo in pub/sub text (#23860) 2021-11-05 16:23:55 +01:00
Ev
3b47d95e1d docs: fix debug_traceCall example (#23817)
* Fixes debug_traceCall example

- Closes double quote, fixing syntax error on debug.traceCall example
- Uses double quotes on call object, to make it easier to paste to raw RPC requests

* nitpick: fixes length of `from` address on debug_traceCall example
2021-10-27 10:09:17 +02:00
e24881989b [DOCS] add doc for eth_createAccessList (#23623)
* eth_createAccessList added to docs

Added `eth_createAccessList` method to documentation

* Update ns-eth.md

Added example usage (via RPC call) of eth_createAccessList.
Added example usage (in form of pseudo code) to demonstrate how it may be used.
Added reference and link to relevant EIP which will give more technical direction and rationale.
Moved eth_createAccessList documentation to follow eth_call

* [DOCS] updated eth_createAccessList example

* [DOCS] fix nit picks

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2021-10-12 13:45:45 +02:00
af30dfd9b6 docs: add info on call frame tracing (#23688) 2021-10-11 10:29:37 +02:00
f06db2fa82 [DOCS]: fix spelling error (#23444) 2021-08-24 09:45:56 +02:00
8ee2cca199 docs: fix debug_traceCall description (#23378)
* docs: fix debug_traceCall description

* docs: update
2021-08-11 08:41:38 +02:00
2df64ff554 Update clique_getSnapshot in RPC (ns-clique.md) (#23314)
clique_getSnapshot in RPC changed from `{"method": "clique_getSnapsnot", "params": [blockNumber]}` to `{"method": "clique_getSnapshot", "params": [blockNumber]}`
2021-08-02 17:32:06 +03:00
c0b08a579a Add miner_setGasLimit (#23175)
* Add miner_setGasLimit

Format copied from miner_setGasPrice

* Update docs/_rpc/ns-miner.md

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>

* Update docs/_rpc/ns-miner.md

Co-authored-by: Tim Beiko <t.beiko23@gmail.com>

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2021-07-12 08:34:51 +02:00
5fbb98097f docs: fix typo in ns-clique.md (#23166)
fixed missing closing bracket
2021-07-06 09:26:53 +02:00
c87e781c51 [DOCS] remove includeTransactions parameter in newHeads example (#23109) 2021-06-25 12:36:13 +02:00
cc488a3e29 docs: remove typo in rpc docs (#23007)
Removes double occurence of the word "included".
2021-06-07 09:10:06 +02:00
b5d0fbf69d document debug.traceCall (#22382) 2021-02-26 14:24:21 +01:00
b7f5e58563 gh-pages: remove mention of deprecated flags (#22265)
* update docs to remove old deprecated flags

* typo
2021-02-16 10:38:52 +01:00
2c81e00ea7 Minor grammar fix (#22234)
* Minor grammar fix

* Minor grammar fix
2021-01-25 21:41:12 +01:00
21ee44bbaf docs: fix some broken links (#22167)
This fixes broken links that where reported via:

https://validator.w3.org/checklink?uri=http%3A%2F%2Fgeth.ethereum.org%2Fdocs%2F&hide_type=all&recursive=on&depth=10&check=Check

It also moves the 'getting started' pages from /getting-started/... to
/docs/getting-started/... In order to not break any old links, redirects
from the old location have been added.

Co-authored-by: Felix Lange <fjl@twurst.com>
2021-01-25 12:45:02 +01:00
1bd2070f0a docs: update traceTransaction docs (#22004) 2020-12-15 10:24:18 +01:00
791f127150 fix: update txpool inspect docs (#21720)
The description was changed in : c7b0abf86b
2020-10-21 09:41:57 +02:00
c3f5e07cb6 pages: fix typo in rpc example (#21713) 2020-10-16 09:30:14 +02:00
12be83b71c [DOCS] Update http server docs with new flags (#21546) 2020-09-10 14:21:13 +02:00
ee73348658 [DOCS] Add default windows IPC path (#20722)
Co-authored-by: Felix Lange <fjl@twurst.com>
2020-02-27 11:04:39 +01:00
03bb2f40e1 [DOCS] Clarify calling non-whitelisted namespace (#20704)
Co-authored-by: Felix Lange <fjl@twurst.com>
2020-02-21 14:06:20 +01:00
10ab23cc56 docs: fix txpool APIs to get rid of lists-per-nonces 2020-01-06 10:43:32 +02:00
e140b09174 Fix links references, use brackets, not parens 2019-12-04 16:01:29 +01:00
e4581e7e14 [DOCS] document the clique RPC API (#20317) 2019-11-19 18:18:25 +01:00
cfc9bf8701 [DOCS] add les API description (#20303) 2019-11-18 12:41:34 +01:00
7416b05b81 [DOCS] massive documentation update (#20229)
This PR:

- reorganizes all documentation pages so they live in the right category
- removes lots of legacy docs
- contains many improvements to active documentation pages

Geth user documentation is now spread across five major categories:

- Install and Build: installation and compile instructions
- Using Geth: this is for pages about general geth usage.
- For dApp Developers: this is for programming guides and functionality specific
   to dapp development. All the dev guides for mobile framework and Go APIs live here.
- JSON-RPC APIs: this has its own section because there is now a sub-page for
   every name space. I have also added an overview text that explains how to set
   up the API servers.
- For Geth Developers: this is for geth contributors
2019-11-05 13:46:00 +01:00
594fc53cd0 Fix eth_call typo, remove optional marker 2019-08-12 19:02:21 +03:00
30f1466038 Add RPC API docs section, write eth_call reference 2019-08-12 18:38:52 +03:00