Skip to main content

Parameters

string
required
Address to get code from (20 bytes)
string
required
Block number (hex), or latest, earliest, pending, safe, finalized

Returns

string
Bytecode at the address (hex encoded)

Example