Skip to main content

platform.getTimestamp RPC Method

Returns the specified transaction. The API credit value for this method is 1.

Updated on
Jun 9, 2023

platform.getTimestamp RPC Method

Parameters

This method does not accept any parameters

Returns

timestamp
string
The timestamp ofthe current P-chain.
Request
1
curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ext/bc/P \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc":"2.0",
5
"id" :1,
6
"method" :"platform.getTimestamp",
7
"params" :{}
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free