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

chain'base' | 'ethereum' | 'arbitrum' | 'optimism' | 'polygon' required
tostring required

Contract to call

datastring

ABI-encoded calldata (0x…); defaults to 0x

fromstring

Optional caller address — enables gas estimation

valuestring

Optional value in wei (hex 0x… or decimal string)

blockstring

Block tag (latest/safe/finalized/earliest) or hex block number; default latest

Response

Call result or decoded revert

statusstring
chainstring
revertedboolean
resultstring
gasEstimatestring

Changes

No recorded changes to this operation across all 1 revision of this API.