{"slug":"agentshelf-syntexa-ch-v1-chain-info-062717","title":"Call when an agent needs the chain id, network name, latest block, gas price, an","host":"agentshelf.syntexa.ch","method":"POST","resource":"https://agentshelf.syntexa.ch/v1/chain-info","category":"code","description":"Call when an agent needs the chain id, network name, latest block, gas price, and block age for Base or Ethereum. Send chain base or ethereum. Default is base. Two read-only RPC calls. No spend. Send JSON {\"chain\":\"base\"}. Exact $0.001 USDC on Base. Try unpaid POST /v1/sandbox/chain-info first.","price_listed":0.001,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"chain":"base"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"examples":[{"chain":"base"}],"properties":{"chain":{"default":"base","description":"Chain to read. base is Base mainnet (default, chain id 8453). ethereum is Ethereum mainnet (chain id 1). Example: base.","enum":["base","ethereum"],"examples":["base"],"type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"examples":[{"billed":true,"block_age_seconds":5,"block_number":100,"block_timestamp":1700000000,"chain":"base","chain_id":8453,"gas_price_gwei":"1","gas_price_wei":"1000000000","network":"eip155:8453","network_name":"Base","ok":true,"receipt_id":"rcpt_01EXAMPLE000000000000000","warnings":[]}],"properties":{"billed":{"examples":[true],"type":"boolean"},"block_age_seconds":{"examples":[5],"minimum":0,"type":"integer"},"block_number":{"examples":[100],"minimum":0,"type":"integer"},"block_timestamp":{"examples":[1700000000],"minimum":0,"type":"integer"},"chain":{"enum":["base","ethereum"],"examples":["base"],"type":"string"},"chain_id":{"enum":[8453,1],"examples":[8453],"type":"number"},"gas_price_gwei":{"examples":["1"],"type":"string"},"gas_price_wei":{"examples":["1000000000"],"type":"string"},"network":{"enum":["eip155:8453","eip155:1"],"examples":["eip155:8453"],"type":"string"},"network_name":{"enum":["Base","Ethereum"],"examples":["Base"],"type":"string"},"ok":{"const":true,"examples":[true],"type":"boolean"},"receipt_id":{"examples":["rcpt_01EXAMPLE000000000000000"],"type":"string"},"warnings":{"default":[],"examples":[[]],"items":{"type":"string"},"type":"array"}},"required":["ok","receipt_id","billed","chain","chain_id","network","network_name","block_number","block_timestamp","block_age_seconds","gas_price_wei","gas_price_gwei"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Call when an agent needs the chain id, network name, latest block, gas price, and block age for Base or Ethereum. Send chain base or ethereum. Default is base. Two read-only RPC calls. No spend. Send JSON {\"chain\":\"base\"}. Exact $0.001 USDC on Base. Try unpaid POST /v1/sandbox/chain-info first.","last_updated":"2026-10-19T07:31:54.127Z","schemes":["exact"]}