---
title: "Read-only EVM contract call with decoded revert reason and optional gas estimate (paid)"
method: POST
path: "/chain/v1/chain-call"
tags: ["OnChain"]
---

# Read-only EVM contract call with decoded revert reason and optional gas estimate (paid)

`POST /chain/v1/chain-call`

## Request

- Base URL: `https://agent.connskill.com` (the document declares no server; this is the origin it was published from)
- URL: `https://agent.connskill.com/chain/v1/chain-call`
- Auth: none declared

## Request body

- object
  - `chain` 'base' | 'ethereum' | 'arbitrum' | 'optimism' | 'polygon', required
  - `to` string, required: Contract to call
  - `data` string: ABI-encoded calldata (0x…); defaults to 0x
  - `from` string: Optional caller address — enables gas estimation
  - `value` string: Optional value in wei (hex 0x… or decimal string)
  - `block` string: Block tag (latest/safe/finalized/earliest) or hex block number; default latest

## Response `200`

Call result or decoded revert

- object
  - `status` string
  - `chain` string
  - `reverted` boolean
  - `result` string
  - `gasEstimate` string

## Other responses

- `402`: Payment Required

---

[API](https://skmtc.dev/connskill/apis/connskill-growth-services.md) · [All operations](https://skmtc.dev/connskill/apis/connskill-growth-services/llms.txt) · [OpenAPI document](https://skmtc.dev/connskill/apis/connskill-growth-services/revisions/aae873ea0805?raw)
