Skip to main content
GET
/
timestamps
/
{timestamp}
/
block
cURL
curl 'https://portal.sqd.dev/datasets/tron-mainnet/timestamps/1768435200/block'
{
  "block_number": 79257136
}

Path Parameters

timestamp
integer<int64>
default:1768435200
required

Unix timestamp in seconds.

Example:

1768435200

Response

Block number resolved.

block_number
integer<int64>
required

Number of the first block whose timestamp is greater than or equal to the requested timestamp.

Example:

79257136