Documentation Index
Fetch the complete documentation index at: https://goldrush.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
0.01 credits per call
eth_getCode on Tempo: Returns the contract bytecode at a given address.
Endpoint
Authorization: Bearer <YOUR_GOLDRUSH_API_KEY>. See authentication.
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
address | DATA, 20 bytes | yes | Address whose code to fetch. | "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" |
blockTag | QUANTITY | TAG | yes | Block number (hex), or latest, earliest, pending, safe, finalized. | "latest" |
Returns
DATA: Hex-encoded contract bytecode, or 0x if none.
Examples
Errors
Standard JSON-RPC errors:-32600 invalid request, -32601 method not found, -32602 invalid params.