API Reference

Returns code at a given address.

Parameters

Params - a string array containing (required):

  • DATA(hex string, required), 20 Bytes - address.
  • QUANTITY|TAG(hex string|string, required) - integer block number in hex string format, or the string "latest", "earliest" or "pending", see the default block parameter

Returns

DATA(hex string) - the code from the given address.

Language
Click Try It! to start a request and see the response here!