public/subjects/blockchain/retrieve-block-date
nprimo 04714e135a feat(retrieve-block-date): update subject to make it coherent with test 2024-01-16 11:50:50 +01:00
..
README.md feat(retrieve-block-date): update subject to make it coherent with test 2024-01-16 11:50:50 +01:00

README.md

Retrieve Block Date

Instructions

Using Node.js, create and exports a function retrieveBlockDate() that takes as input the height of a block and returns the date of this block. The script must connect to a local node available on localhost:18443, with the user leeloo and the password multipass.

Usage

retrieveBlockDate(1881467) // Expected : 1604607528

Notions