qn_getBlocksInTimestampRange RPC Method - Block Timestamp Lookup
Please note that this RPC method requires the Block Timestamp Lookup add-on enabled on your Quicknode endpoint. This method is available for mainnet only.
Parámetros
startTimestamp
entero
OBLIGATORIO
Cargando...
endTimestamp
entero
OBLIGATORIO
Cargando...
pageSize
entero
Cargando...
lastTimestamp
entero
Cargando...
lastBlockNumber
entero
Cargando...
Devoluciones
resultado
objeto
Cargando...
bloques
matriz
Cargando...
número de bloque
entero
Cargando...
red
cadena
Cargando...
marca de tiempo
entero
Cargando...
paginación
objeto
Cargando...
hasNextPage
booleano
Cargando...
nextPageParams
objeto
Cargando...
lastBlockNumber
entero
Cargando...
lastTimestamp
entero
Cargando...
pageSize
entero
Cargando...
Solicitud
Respuesta
1{2«jsonrpc»: "2.0",3«id»: 1,4"result": {5"blocks": [6{7"blockNumber": 29402654,8"network": "ethereum",9"timestamp": 173000000010},11{12"blockNumber": 29402655,13"network": "ethereum",14"timestamp": 173000001215},16{17"blockNumber": 29402656,18"network": "ethereum",19"timestamp": 173000002420},21{22"blockNumber": 29402657,23"network": "ethereum",24"timestamp": 173000003625},26{27"blockNumber": 29402658,28"network": "ethereum",29"timestamp": 173000004830}31],32"pagination": {33"hasNextPage": true,34"nextPageParams": {35"lastBlockNumber": 29402658,36"lastTimestamp": 1730000048,37"pageSize": 538}39}40}41}
1{2«jsonrpc»: "2.0",3«id»: 1,4"result": {5"blocks": [6{7"blockNumber": 29402654,8"network": "ethereum",9"timestamp": 173000000010},11{12"blockNumber": 29402655,13"network": "ethereum",14"timestamp": 173000001215},16{17"blockNumber": 29402656,18"network": "ethereum",19"timestamp": 173000002420},21{22"blockNumber": 29402657,23"network": "ethereum",24"timestamp": 173000003625},26{27"blockNumber": 29402658,28"network": "ethereum",29"timestamp": 173000004830}31],32"pagination": {33"hasNextPage": true,34"nextPageParams": {35"lastBlockNumber": 29402658,36"lastTimestamp": 1730000048,37"pageSize": 538}39}40}41}
¿Aún no tienes una cuenta?
Crea tu punto de conexión de Quicknode en cuestión de segundos y empieza a desarrollar
Empieza gratis