> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.galleon8.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.galleon8.com/_mcp/server.

# Trace API Quickstart

> Make a first HTTPS JSON-RPC trace request with the W3API Node API Trace API.

This quickstart shows how to make a first Trace API request over HTTPS using an Ethereum JSON-RPC method as a general example. Node API endpoints are chain-specific, so production requests must use a chain endpoint that supports Trace API.

## Prerequisites

Before you start, make sure you have:

* A W3api account with access to public Node API endpoints.
* A Node API HTTPS endpoint copied from the Web3 API platform for the selected chain.
* A terminal with `curl`.

---

## Copy Your HTTPS Endpoint

1. Open the [Web3 API platform](https://www.ankr.com/rpc/).
2. Select the project and blockchain network you want to use.
3. Copy the network's HTTPS endpoint.
4. Store it as `YOUR_HTTPS_ENDPOINT` in the examples below.

---

## Make a Request with curl

Use `trace_transaction` to request execution trace data for a transaction:

```bash
curl -X POST YOUR_HTTPS_ENDPOINT \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "trace_transaction",
    "params": ["YOUR_TRANSACTION_HASH"],
    "id": 1
  }'
```

A successful response returns trace entries for the transaction:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    {
      "action": {
        "callType": "call",
        "from": "0x0000000000000000000000000000000000000000",
        "to": "0x0000000000000000000000000000000000000000",
        "value": "0x0"
      },
      "result": {
        "gasUsed": "0x5208"
      },
      "type": "call"
    }
  ]
}
```

Trace response fields vary by network and client implementation. Use the returned trace entries to inspect internal calls, execution paths, and value movement.

---

## Next Steps

The Trace API references are chain-specific. Select the one you'd like to interact with to view its method details:

#### [Ethereum](/api-reference/node-api/ethereum/overview)

View Ethereum API reference.

#### [Solana](/api-reference/node-api/solana/overview)

View Solana API reference.

#### BNB Smart Chain

Coming soon...

#### Polygon PoS

Coming soon...

#### Base

Coming soon...

#### Arbitrum

Coming soon...

#### Bitcoin

Coming soon...

#### Optimism

Coming soon...

#### Avalanche

Coming soon...

#### TRON

Coming soon...

#### Monad

Coming soon...

#### Sui

Coming soon...