Difference between revisions of "Geth --http.api"

From wikieduonline
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
  [[geth]] --http.api=[[web3]],[[eth]],[[net]]
+
  [[admin]] [[debug]] [[web3]] [[eth]] [[txpool]] [[personal]] [[miner]] [[net]]
 +
 
 +
 
 +
[[geth]] --http.api value                                                      ($[[GETH_HTTP_API]])
 +
          API's offered over the HTTP-RPC interface
 +
 
 +
 
 +
 
 +
* <code>[[geth]] --http.api=[[web3]],[[eth]],[[net]]</code>
 +
* <code>[[geth]] --http.api=[[admin]],[[debug]],[[web3]],[[eth]],[[txpool]],[[personal]],[[miner]],[[net]]</code>
 +
 
 +
 
 +
* <code> geth --http.api "web3,eth,net" </code>
  
  
Line 9: Line 21:
  
 
* Admin: https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-admin <code>[[geth --http]]</code>
 
* Admin: https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-admin <code>[[geth --http]]</code>
** [[admin_addPeer]]
+
** <code>[[admin_addPeer]]</code>
  
  
 
* https://geth.ethereum.org/docs/interacting-with-geth/rpc
 
* https://geth.ethereum.org/docs/interacting-with-geth/rpc
 
* https://geth.ethereum.org/docs/fundamentals/command-line-options
 
* https://geth.ethereum.org/docs/fundamentals/command-line-options
 +
 +
== Errors ==
 +
ERROR[09-12|14:30:46.456] Unavailable modules in HTTP API list    unavailable=[KKK] available=" [admin debug [[web3]] [[eth]] [[txpool]] [[personal]] [[miner]] [[net]]]"
  
 
== Related ==
 
== Related ==
Line 20: Line 35:
 
== See also ==
 
== See also ==
 
* {{geth --http}}
 
* {{geth --http}}
* {{geth}}
 
 
* {{Ethereum API}}
 
* {{Ethereum API}}
  
 
[[Category:Ethereum]]
 
[[Category:Ethereum]]

Latest revision as of 12:34, 12 September 2024

Advertising: