Difference between revisions of "8551"
Jump to navigation
Jump to search
(20 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <code>[[geth]]</code> authenticated APIs | + | Ethereum [[execution]] [[API]] |
+ | |||
+ | <code>[[geth]]</code> authenticated engine APIs | ||
* <code>[[missing token]]</code> | * <code>[[missing token]]</code> | ||
* <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> | ||
[[--authrpc.port]] value Listening port for authenticated [[APIs]] (default: 8551) | [[--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 == | == Related == | ||
Line 16: | Line 38: | ||
* <code>[[ws://]]</code> | * <code>[[ws://]]</code> | ||
* [[Ethereum ports]] | * [[Ethereum ports]] | ||
+ | * <code>[[lighthouse bn]]</code> | ||
+ | * [[JWT]] | ||
== See also == | == See also == | ||
− | * {{geth}} | + | * {{Eth2 ports}} |
+ | * {{geth console}} | ||
+ | * {{execution clients}} | ||
[[Category:geth]] | [[Category:geth]] |
Latest revision as of 16:06, 18 August 2024
geth
authenticated engine APIs
--execution-endpoint
:lighthouse beacon_node --execution-endpoint http://127.0.0.1:8551 --execution-jwt ~/Library/Ethereum/geth/jwtsecret --allow-insecure-genesis-sync
--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
[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]
- Ethereum ports:
8545, 8546, 8547, 8551, 9000, 30303, 5052, 5054
geth console [ --help ]
- Execution clients:
geth, besu, reth
, Nethermind, Erigon, 30303, 8551, 8547, Prysm, Nimbus, lighthouse
Advertising: