Marketplace has launched, further enabling blockchain developers! Learn more

Contents

platform.getTimestamp RPC method

The API credit value for this method is 1 . To learn more about API credits and each method's value, visit the API Credits page.

Parameters:

  1. None

Returns:

  1. timestamp - string - The timestamp of the current P-chain.

Code Examples:

curl --location --request POST http://sample-endpoint-name.network.quiknode.pro/token-goes-here/ext/bc/P \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc":"2.0",
    "id"     :1,
    "method" :"platform.getTimestamp",
    "params" :{}
}'
Ready to get started? Create a free account