Difference between revisions of "8551"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Ethereum execution engine API]]
+
Ethereum [[execution]] [[API]]
  
 
<code>[[geth]]</code> authenticated engine APIs  
 
<code>[[geth]]</code> authenticated engine APIs  
Line 6: Line 6:
  
 
* <code>[[geth --help]]</code>
 
* <code>[[geth --help]]</code>
 +
 +
* [[geth console]]
 +
 +
* <code>[[--execution-endpoint]]</code>: <code>[[lighthouse beacon_node --execution-endpoint]] http://127.0.0.1:8551 --execution-jwt [[~/Library/Ethereum/geth/jwtsecret]] [[--allow-insecure-genesis-sync]]</code>
  
  
Line 16: Line 20:
 
  [[missing token]]
 
  [[missing token]]
  
 +
[[~/Library/Ethereum/geth/jwtsecret]]
 +
 +
curl -H "Authorization: Bearer YOUR_TOKEN_HERE" http://localhost:8551
 +
 +
Jul 12 10:16:38.991 [[WARN Execution endpoint is not synced]] last_seen_block_unix_timestamp: 0, endpoint: http://127.0.0.1:8551/, auth=true, service: [[deposit_contract_rpc]]
 +
 +
INFO [07-25|16:37:07.605] [[HTTP server started]] endpoint=127.0.0.1:8551 auth=true prefix= [[cors]]=localhost [[vhosts]]=localhost
 +
 +
 +
[[Prysm.sh]]
 +
[2024-08-08 12:20:42] ERROR execution: Could not connect to execution client endpoint error=Post "http://localhost:8551": dial tcp [::1]:8551: connect: connection refused: Post "http://localhost:8551": dial tcp [::1]:8551: connect: connection refused
  
 
== Related ==
 
== Related ==
Line 24: Line 39:
 
* [[Ethereum ports]]
 
* [[Ethereum ports]]
 
* <code>[[lighthouse bn]]</code>
 
* <code>[[lighthouse bn]]</code>
 +
* [[JWT]]
  
 
== See also ==
 
== See also ==
 
* {{Eth2 ports}}
 
* {{Eth2 ports}}
* {{geth}}
+
* {{geth console}}
 
* {{execution clients}}
 
* {{execution clients}}
  
 
[[Category:geth]]
 
[[Category:geth]]

Latest revision as of 16:06, 18 August 2024

Ethereum execution API

geth authenticated engine APIs


--authrpc.port value                Listening port for authenticated APIs (default: 8551)


geth --http
curl  http://localhost:8551
missing token
~/Library/Ethereum/geth/jwtsecret
curl -H "Authorization: Bearer YOUR_TOKEN_HERE" http://localhost:8551
Jul 12 10:16:38.991 WARN Execution endpoint is not synced last_seen_block_unix_timestamp: 0, endpoint: http://127.0.0.1:8551/, auth=true, service: deposit_contract_rpc
INFO [07-25|16:37:07.605] HTTP server started endpoint=127.0.0.1:8551 auth=true prefix= cors=localhost vhosts=localhost


Prysm.sh

[2024-08-08 12:20:42] ERROR execution: Could not connect to execution client endpoint error=Post "http://localhost:8551": dial tcp [::1]:8551: connect: connection refused: Post "http://localhost:8551": dial tcp [::1]:8551: connect: connection refused

Related[edit]

See also[edit]

Advertising: