Copyable unpaid request
This schema-valid request returns the canonical HTTP 402 challenge without executing the service. A payment-capable client validates the challenge, signs only with prior authority and budget, and retries the identical body.
curl -i -X POST https://signalharness.ai/api/agent/services/abi_function_encode/invoke \
-H "Content-Type: application/json" \
--data '{"abi_function_encode_request":"{\"abi\":[{\"type\":\"constructor\",\"stateMutability\":\"nonpayable\",\"inputs\":[{\"name\":\"initial\",\"type\":\"uint256\"}]},{\"type\":\"function\",\"name\":\"balanceOf\",\"stateMutability\":\"view\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}]},{\"type\":\"event\",\"name\":\"Changed\",\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"Insufficient\",\"inputs\":[{\"name\":\"available\",\"type\":\"uint256\"}]}],\"function_name\":\"balanceOf\",\"args\":[\"0x0000000000000000000000000000000000000001\"]}"}'
Continue with the paid-call walkthrough →