Difference between revisions of "8545"
Jump to navigation
Jump to search
(29 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | |||
+ | [[geth]] [[HTTP-RPC]] server listening port | ||
+ | [[op-node]] | ||
+ | [[op-batcher]] RPC listening port | ||
[[lighthouse bn]] --help | [[lighthouse bn]] --help | ||
− | --staking Standard option for a staking beacon node. Equivalent to `lighthouse bn --http | + | --staking Standard option for a [[staking beacon node]]. Equivalent to `lighthouse bn --http |
--eth1 `. This will enable the http server on localhost:5052 and try connecting | --eth1 `. This will enable the http server on localhost:5052 and try connecting | ||
to an eth1 node on localhost:8545 | to an eth1 node on localhost:8545 | ||
− | [[8551]] | + | [[cast block-number]] --rpc-url localhost:8545 |
+ | 0 | ||
+ | |||
+ | |||
+ | [[cast send --ledger]] vitalik.eth 1 ether | ||
+ | Error: | ||
+ | Failed to get resolver from the ENS registry: error sending request for url (http://localhost:8545/) | ||
+ | |||
+ | [[curl -X POST -H]] "[[Content-Type: application/json]]" --compressed [[--data]] | ||
+ | '{"[[jsonrpc]]":"2.0","method":"[[debug_traceBlockByNumber]]","params":["0x12345",{"enableMemory":false,"disableStack":false,"disableStorage":false,"enableReturnData":true}],"id":1}' http://YOUR-RPC-ENDPOINT:[[8545]] | ||
+ | |||
+ | == Related == | ||
+ | * [[8551]] [[geth]] authenticated APIs | ||
+ | * <code>[[geth --http]]</code> | ||
+ | * <code>[[cast send]]</code> | ||
+ | * [[The Graph]] | ||
+ | * <code>[[8546]] [[http-ws]]</code> | ||
+ | * <code>[[6060]]</code> | ||
+ | * [[Ethereum API]] | ||
+ | |||
+ | == See also == | ||
+ | * {{eth2 ports}} | ||
+ | * {{geth --http}} | ||
+ | * {{Ethereum API}} | ||
+ | |||
+ | [[Category:Ethereum]] |
Latest revision as of 12:46, 27 October 2024
geth HTTP-RPC server listening port op-node op-batcher RPC listening port
lighthouse bn --help --staking Standard option for a staking beacon node. Equivalent to `lighthouse bn --http --eth1 `. This will enable the http server on localhost:5052 and try connecting to an eth1 node on localhost:8545
cast block-number --rpc-url localhost:8545 0
cast send --ledger vitalik.eth 1 ether Error: Failed to get resolver from the ENS registry: error sending request for url (http://localhost:8545/)
curl -X POST -H "Content-Type: application/json" --compressed --data '{"jsonrpc":"2.0","method":"debug_traceBlockByNumber","params":["0x12345",{"enableMemory":false,"disableStack":false,"disableStorage":false,"enableReturnData":true}],"id":1}' http://YOUR-RPC-ENDPOINT:8545
Related[edit]
- 8551 geth authenticated APIs
geth --http
cast send
- The Graph
8546 http-ws
6060
- Ethereum API
See also[edit]
- Ethereum ports:
8545, 8546, 8547, 8551, 9000, 30303, 5052, 5054
geth --http, --http.api, HTTP-RPC, --http.corsdomain
- Ethereum API, 8545,
eth_call, eth_blockNumber, eth_getBalance, eth_getBlockByNumber, eth_getTransactionReceipt, web3_clientVersion, eth_subscribe, /eth/v1/node/syncing
,cast
,eth_getProof
,eth_call, eth_chainId, eth_getBlockReceipts
, Eth Beacon Node API,eth_sendRawTransaction, eth_getLogs
,geth --http.api
Advertising: