qtum icon indicating copy to clipboard operation
qtum copied to clipboard

RPC Commands

Open Neoblock8 opened this issue 3 years ago • 5 comments

Hi, Iam running qtum mainnet node. Connecting curl rpc command for block count will not show any error but it will not return anything.

Neoblock8 avatar May 10 '21 14:05 Neoblock8

@Neoblock8 is your node fully synced with version 0.20.2? What does getblockchaininfo return?

JB395 avatar May 10 '21 21:05 JB395

@Neoblock8 is your node fully synced with version 0.20.2? What does getblockchaininfo return?

Node is fully synced. if i check blockcount with rpc it will return nothing. RPC command: curl -X GET http://ip:port/getblockcount

Neoblock8 avatar May 13 '21 15:05 Neoblock8

@Neoblock8 is your node fully synced with version 0.20.2? What does getblockchaininfo return?

Node is fully synced. Deamon command: qtumd Cli command: qtum-cli getblockcount RPC command: curl -X GET http://ip:port/getblockcount

Check with cli, it will return current block number. But in RPC it will return nothing.

Neoblock8 avatar May 13 '21 15:05 Neoblock8

Are other RPC commands working, do you have that setup correctly?

JB395 avatar May 18 '21 18:05 JB395