Recta

v1.3.5
io.github.RectaBuild/recta Checked 12 hours ago Published 12 days ago

Proven cheaper USDC bridge route for AI agents (Across, CCTP, Stargate); fee 5% of verified saving

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

recta_fit

Free and unsigned: does Recta cover this corridor, and which contracts would a route call? Call it before recta_evaluate.

ParameterTypeDescription
destination_network *string
source_asset *stringAsset moved, e.g. USDC or USDT.
source_network *stringSource network key, e.g. base, arbitrum, ethereum, optimism, polygon.
destination_assetstringDefaults to source_asset.

recta_trial_evaluation

Free, unsigned and stored nowhere: the same question as recta_evaluate with the same arguments, answered only with whether a cheaper provable route exists, the saving (lower bound, USDC) and Recta's 5 % of it. Names no route and returns no result_id; 3 a day per IP address. Use it to see whether Recta is worth a signature. Works without a key (give sender, or set RECTA_ADDRESS).

ParameterTypeDescription
amount *stringHow much of source_asset to send, in whole tokens (not cents, not wei): "100" with USDC means 100 USDC. Minimum 3.5 for stablecoins (about 3.5 USD). Recta sets no maximum; this server refuses more tha…
baseline_provider *stringThe route you would use without Recta, one of the corridor's declarable_baselines in recta_fit (GET /v1/golden-corridor/fit): across, stargate_v2, usdt0, usdg_oft, debridge_dln or lifi (LI.FI: declara…
destination_network *string
source_asset *stringAsset moved, e.g. USDC or USDT.
source_network *stringSource network key, e.g. base, arbitrum, ethereum, optimism, polygon.
destination_assetstringDefaults to source_asset.
guarantee_classstringDefault ANY.
latency_classstringDefault ANY.
recipientstringDestination address; defaults to the local wallet. Any other address must be on the operator's list (RECTA_ALLOWED_RECIPIENTS), or the evaluation is refused before anything is signed.
senderstringOnly when the server runs without a key: the EVM address the transfer would leave from (0x + 40 hex), else RECTA_ADDRESS. With a key it is ignored: the sender is the local wallet.