-
Notifications
You must be signed in to change notification settings - Fork 6
Not able to query Rosseta Klaytn Node #168
Comments
@mayank-daga Thanks for the inquiry. @JayChoi1736 Could you check on this? |
@mayank-daga |
For information about the APIs available on the Rosetta node, please refer to this link |
@JayChoi1736 can you help on which port is rosetta rpc query will work? sudo curl --location --request POST ':8545/network/status' --header 'Content-Type: application/json' sudo docker run -d --ulimit "nofile=100000:100000" -e "PORT=8545" -p 8545:8080 -p 30303:30303 -e "MODE=ONLINE" -e "RPC_ENABLE=1" -e "NETWORK=MAINNET" -v /diskname/node-klay/data:/data klaytn/rosetta-klaytn:v1.0.5 |
-p 8545:8080 -> -p 8545:8545 and send curl API request to :8545 if these solutions don't work, please check your firewall setting |
I'll close this issue. If you have further issue, reopen at new repository. https://github.com/kaiachain/rosetta-kaia/issues |
Describe the bug
Rosetta Klaytn Node is set up using following command :
sudo docker run -d --ulimit "nofile=100000:100000" -e "PORT=8545" -p 8545:8080 -p 30303:30303 -e "MODE=ONLINE" -e "RPC_ENABLE=1" -e "NETWORK=MAINNET" -v /disname/node-klay/data:/data klaytn/rosetta-klaytn:v1.0.5
Node is syncing but not able to query the node. It is giving connnection refused always.
To Reproduce
Query the node using below command:
sudo curl --location 'http://:8545' --header 'Content-Type: application/json' --data '{"jsonrpc":"2.0","method":"klay_blockNumber","params":[],"id":83}'
Expected behavior
it should give the latest block height for above api request
Additional context
The text was updated successfully, but these errors were encountered: