getBlockTime
Parameters
Returns
// Result
{
"jsonrpc": "2.0",
"result": 1739185378,
"id": 1
}curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1, "method":"getBlockTime","params":[319712626]}'curl https://devnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1, "method":"getBlockTime","params":[94101948]}'Last updated
Was this helpful?