x402_eth_reads_v1__eth_mainnet_eth_getcode
Ethereum mainnet on-chain read: the deployed bytecode at an address. Takes an address (0x + 40 hex) and returns the contract bytecode on Ethereum mainnet via eth_getCode.
GET https://api.arysphere.com/v1/ventures/x402_eth_reads_v1/eth_mainnet_eth_getcode. Same payment terms as that HTTP route. Call once with no payment. The result is the payment terms. Retry the same call with the signed payment at _meta["x402/payment"]. Measured output: {"chain": "ethereum", "hex": "0xef01005a7fc11397e9a8ad41bf10bf13f22b0a63f96f6d", "method": "eth_getCode", "ok": true, "result": "0xef01005a7fc11397e9a8ad41bf10bf13f22b0a63f96f6d", "service": "x402_eth_reads_v1.eth_mainnet_eth_getcode"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | 0x + 40 hex |