POST
/
remappers
/
blocks-mapped-to-timestamps
curl --request POST \
  --url https://rs-indexer.api.herodotus.cloud/remappers/blocks-mapped-to-timestamps \
  --header 'Content-Type: application/json' \
  --data '{
  "block_numbers": [
    123
  ]
}'
{
  "blocks": [
    {
      "block_number": 123,
      "onchain_remapper_id": "<string>",
      "timestamp": 123
    }
  ]
}

Query Parameters

origin_chain
enum<string>
required
Available options:
1,
11155111,
137,
280,
MADARA_PRAGMA,
STARKNET,
SN_SEPOLIA,
300,
11155420,
421614,
4801,
84532,
UNKNOWN
destination_chain
enum<string>
required
Available options:
1,
11155111,
137,
280,
MADARA_PRAGMA,
STARKNET,
SN_SEPOLIA,
300,
11155420,
421614,
4801,
84532,
UNKNOWN

Body

application/json
Blocks mapped to timestamps
block_numbers
integer[]
required

Response

200
application/json
Get blocks mapped to timpestamps
blocks
object[]
required