Skip to main content

ord_getCurrentBlockTime RPC Method

Fetches the last block time.

Updated on
May 17, 2024

ord_getCurrentBlockTime RPC Method

Please note that this method requires the Ordinals & Runes API add-on enabled on your QuickNode endpoint.

Parameters

This method does not accept any parameters

Returns

result
string
Returns the last block time
Request
1
curl --location 'https://docs-demo.btc.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"method": "ord_getCurrentBlockTime",
5
"params": [],
6
"id": 1,
7
"jsonrpc": "2.0"
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free