qn_getBlockFromTimestamp 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.
Paramètres
horodatage
entier
OBLIGATOIRE
Chargement en cours...
Retours
résultat
objet
Chargement en cours...
network
chaîne de caractères
Chargement en cours...
numéro de bloc
entier
Chargement en cours...
horodatage
entier
Chargement en cours...
Demande
Réponse
1{2« jsonrpc »: « 2.0 »,3« id »: 1,4"result": {5"network": "ethereum",6"blockNumber": 29402654,7"timestamp": 17300000008}9}
1{2« jsonrpc »: « 2.0 »,3« id »: 1,4"result": {5"network": "ethereum",6"blockNumber": 29402654,7"timestamp": 17300000008}9}
Vous n'avez pas encore de compte ?
Créez votreendpoint Quicknode endpoint quelques secondes et commencez à développer
Commencez gratuitement