Skip to main content

Parameters

string
required
Block number (hex), or latest, earliest, pending, safe, finalized
boolean
required
If true, returns full transaction objects; if false, returns transaction hashes

Returns

object
Block object or null

Example