Difference between revisions of "8551"

From wikieduonline
Jump to navigation Jump to search
 
(15 intermediate revisions by 2 users 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 11: Line 15:
  
  
 +
[[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 ==
 
== Related ==
Line 17: Line 37:
 
* <code>[[30303]]</code>
 
* <code>[[30303]]</code>
 
* <code>[[ws://]]</code>
 
* <code>[[ws://]]</code>
* [[Ethereum ports]]]  
+
* [[Ethereum ports]]
 
* <code>[[lighthouse bn]]</code>
 
* <code>[[lighthouse bn]]</code>
 +
* [[JWT]]
  
 
== See also ==
 
== See also ==
* {{geth}}
+
* {{Eth2 ports}}
 +
* {{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: