All Products

eth_getCode - Ethereum Mainnet


Summary

Returns code at a given address.


1. Address Address

Address to fetch code from

Example: i.e. 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b


2. Block Number Quantity or Tag

Hex block number, or the string latest, earliest or pending

Example: i.e. latest or pending

Code Example

eth_getCode curl

Don’t have an Access Key?

Start using this API in your app today.

Get started for free