Linear two-step chain for stablecoin remittance corridor economics analysis. Step 1 models the all-in cost of a USDC-based corridor: on-ramp fee, chain/gas fee, off-ramp/local-rail fee, FX spread, and pre-funding float savings vs correspondent banking. It also computes gross/net cost in bps and %, savings vs a traditional MTO, and break-even send amount. Step 2 benchmarks total cost against the World Bank RPW Q1 2026 snapshot for the same origin-destination corridor and the SDG 10.c 3% target. Both steps always run. Rail-agnostic; defaults from the Felix/Circle USDC corridor (US to MX). No personal data is processed.
model_stablecoin_corridor_economics{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "model_stablecoin_corridor_economics",
"arguments": {
"send_amount_usd": 1000,
"on_ramp_fee_pct": 0.5,
"chain_fee_usd": 0.01,
"off_ramp_fee_pct": 0.3,
"fx_spread_pct": 0.2,
"float_savings_rate_pct": 4.0,
"float_days": 0,
"correspondent_cost_pct": 6.0
}
},
"id": 1
}
compare_corridor_cost{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "compare_corridor_cost",
"arguments": {
"from_country": "US",
"to_country": "MX",
"send_amount": 1000,
"provider_fee": 10.01,
"fx_rate_used": 17.15,
"fx_rate_mid": 17.20,
"service_name": "Felix-USDC-all-in"
}
},
"id": 2
}