{"slug":"agentshelf-syntexa-ch-v1-eth-block-number-0c53a8","title":"Call when an agent needs the latest Ethereum mainnet block number","host":"agentshelf.syntexa.ch","method":"POST","resource":"https://agentshelf.syntexa.ch/v1/eth-block-number","category":"code","description":"Call when an agent needs the latest Ethereum mainnet block number. Send tag latest, or an empty object. Read-only eth_blockNumber on eip155:1. No spend. Send JSON {\"tag\":\"latest\"}. Exact $0.001 USDC on Base. Try unpaid POST /v1/sandbox/eth-block-number 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":{"tag":"latest"},"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":[{"tag":"latest"}],"properties":{"tag":{"const":"latest","description":"Block tag. Only latest is accepted. Example: latest. Omit it for the same current Ethereum mainnet block number. No address.","examples":["latest"],"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_number":100,"network":"eip155:1","ok":true,"receipt_id":"rcpt_01EXAMPLE000000000000000","tag":"latest","warnings":[]}],"properties":{"billed":{"examples":[true],"type":"boolean"},"block_number":{"examples":[100],"minimum":0,"type":"integer"},"network":{"const":"eip155:1","examples":["eip155:1"],"type":"string"},"ok":{"const":true,"examples":[true],"type":"boolean"},"receipt_id":{"examples":["rcpt_01EXAMPLE000000000000000"],"type":"string"},"tag":{"const":"latest","examples":["latest"],"type":"string"},"warnings":{"default":[],"examples":[[]],"items":{"type":"string"},"type":"array"}},"required":["ok","receipt_id","billed","network","tag","block_number"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Call when an agent needs the latest Ethereum mainnet block number. Send tag latest, or an empty object. Read-only eth_blockNumber on eip155:1. No spend. Send JSON {\"tag\":\"latest\"}. Exact $0.001 USDC on Base. Try unpaid POST /v1/sandbox/eth-block-number first.","last_updated":"2026-10-17T09:30:32.113Z","schemes":["exact"]}