Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Call eth_getCode on Goldsky Edge RPC to return the deployed EVM bytecode at a contract address at a given block or tag, across 250+ supported chains.
latest
earliest
pending
safe
finalized
curl -X POST "https://edge.goldsky.com/standard/evm/1?key=demo" \ -H "Content-Type: application/json" \ -d '{"jsonrpc": "2.0", "method": "eth_getCode", "params": ["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "latest"], "id": 1}'
const response = await fetch('https://edge.goldsky.com/standard/evm/1?key=demo', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ "jsonrpc": "2.0", "method": "eth_getCode", "params": [ "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "latest" ], "id": 1 }) }); const { result } = await response.json(); console.log(result);
import requests response = requests.post( 'https://edge.goldsky.com/standard/evm/1?key=demo', json={ "jsonrpc": "2.0", "method": "eth_getCode", "params": [ "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "latest" ], "id": 1 } ) print(response.json()['result'])
Was this page helpful?