# CoreForge Chain Reads — Current Gas Price

> CoreForge Chain Reads — Current Gas Price is a paid API for AI agents from coreforge-memory.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-12-01).

Returns the current gas price on the Base blockchain in both Wei and Gwei units

## Facts

- Endpoint: GET https://coreforge-memory.onrender.com/x402/chain/gas?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coreforge-chain-reads-current-gas-price-922ef8ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yM_S4Z5uE0wtm4ueClNql

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability coreforge-chain-reads-current-gas-price-922ef8ce
```

Example prompt: What's the current gas price on Base right now — give me both the Wei and Gwei values so I know if it's a good time to submit a transaction.

## When to prefer this

Use this endpoint when you need a quick, low-cost read of the current gas price on the Base L2 blockchain without setting up your own RPC node or Web3 library. Prefer it over general Ethereum gas APIs when specifically targeting Base chain, and over on-chain SDKs when you want a simple REST call rather than a full node integration.

## Known failure modes

- RPC node unavailable — returns 5xx if the underlying Base RPC endpoint is unreachable
- Stale data — gas price may lag by a few seconds if the node is syncing
- Rate limiting — excessive calls may result in 429 responses
- Network congestion — extremely high load on Base may cause slow response times

## How this service works

Base chain read — current gas price

## Output

Returns a JSON object containing the chain name (e.g. 'base'), the chainId as an integer, the current gas price as a string in Wei, and the current gas price as a floating-point number in Gwei.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "chain": {
       "type": "string"
      },
      "chainId": {
       "type": "integer"
      },
      "gasPriceWei": {
       "type": "string"
      },
      "gasPriceGwei": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coreforge-chain-reads-current-gas-price-922ef8ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coreforge-memory.onrender.com](https://www.zero.xyz/host/coreforge-memory.onrender.com/llms.txt)
