EVM Devnet: Chain ID 4242 Host: mechsrv Zero-Telemetry

Werracle Live EVM & REST Gateway API

Direct low-latency access to the on-chain Werracle decision oracle and Uniswap v4 fee governor running live on the mechsrv EVM sandbox.

GET https://api.answerr.me:4431/werracle/status

Returns real-time status of the Anvil EVM node, current block number, active contract addresses, and gas benchmark metrics.

curl -s https://api.answerr.me:4431/werracle/status
POST https://api.answerr.me:4431/werracle/oracle/noul

Invokes the decideNoul(bytes32 stateHash, int64 riskScoreFP) function directly on the deployed Werracle.sol contract via intra-block EVM simulation. Returns permission boolean, basis points confidence, gas consumed (~21k gas), and block height.

curl -s -X POST https://api.answerr.me:4431/werracle/oracle/noul \
  -H "Content-Type: application/json" \
  -d '{"risk_score": -0.25}'
POST https://api.answerr.me:4431/werracle/hook/fee

Calls calculateDynamicFee(bytes32 poolId, int64 imbalanceSignalFP) on WerracleFeeHook.sol to calculate dynamic LP fee pips (500 to 5000 pips) based on pool volatility.

curl -s -X POST https://api.answerr.me:4431/werracle/hook/fee \
  -H "Content-Type: application/json" \
  -d '{"imbalance_ratio": 0.35}'
POST https://api.answerr.me:4431/werracle/rpc

Standard Ethereum JSON-RPC pass-through endpoint. Compatible with Ethers.js, Web3.py, Foundry cast, and MetaMask.

curl -s -X POST https://api.answerr.me:4431/werracle/rpc \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'