M
mcp-server
/read_contract
Read from Contract
Calls a smart contract function (view/pure, or non-view/pure simulated via eth_call) and returns the decoded result. This tool provide
liveunknown~5s typical
mcpmcp-server
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-com-blockscout-mcp-server /read_contract for me.
Input
| Field | Type | Description |
|---|---|---|
| chain_id* | string | The ID of the blockchain |
| address* | string | Smart contract address |
| abi* | object | The JSON ABI for the specific function being called. This should be a dictionary that defi |
| function_name* | string | The symbolic name of the function to be called. This must match the `name` field in the pr |
| args | string | A JSON string containing an array of arguments. Example: "["0xabc..."]" for a single addre default "[]" |
| block | string | The block identifier to read the contract state from. Can be a block number (e.g., 1900000 default "latest" |
| session_id | string | Opaque session identifier. |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"mcp-com-blockscout-mcp-server","endpoint":"/read_contract","input":{"chain_id":"...","address":"...","abi":{},"function_name":"...","args":"[]","block":"latest"}}'cli
npx cracked-ai run -p mcp-com-blockscout-mcp-server -e /read_contract -i '{"chain_id":"...","address":"...","abi":{},"function_name":"...","args":"[]","block":"latest"}'mcp
run_tool({ provider: "mcp-com-blockscout-mcp-server", endpoint: "/read_contract", input: {"chain_id":"...","address":"...","abi":{},"function_name":"...","args":"[]","block":"latest"} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.