Skip to content
Fourohtwo

Batch contract reads on 16 EVM chains

saylorinnovations.com/api/chain/batch-call

Batch contract reads on 16 EVM chains: send up to 20 eth_call requests in one request and get a result, revert flag and uint or address reading for each.

SolanaAnswering
GEThttps://saylorinnovations.com/api/chain/batch-call

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

curl -i "https://saylorinnovations.com/api/chain/batch-call?calls=%5B%7B%22to%22%3A%220xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48%22%2C%22data%22%3A%220x313ce567%22%7D%2C%7B%22to%22%3A%220xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48%22%2C%22data%22%3A%220x18160ddd%22%7D%5D&chain=ethereum"

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "calls": "[{\"to\":\"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\"data\":\"0x313ce567\"},{\"to\":\"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\"data\":\"0x18160ddd\"}]",
  "chain": "ethereum"
}

More from Saylor Innovations Data Desk