bitcoind.app
CommandsGuidesContact ↗
Home/Control/uptime
Control

uptime

Returns the total uptime of the server in seconds.

Returns

numberUptime in seconds

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"uptime","params":[]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

1234567
← Previous
stop
Next →
generateblock

More Control Commands

getmemoryinfogetrpcinfohelploggingstop

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗