RailFi Payout Plans
v0.1.0Free, non-custodial tools to validate bounded USDC/USDT payout plans and reconcile payouts.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_payout_plan
Validate a bounded stablecoin payout run (recipients, budget, time window) and return an approve-once pack the OWNER approves in their own wallet. RailFi never holds funds or keys and does not execute payments.
| Parameter | Type | Description |
|---|---|---|
budget * | string | Max total in token units, e.g. "1000" |
name * | string | |
network * | string | |
token * | string | |
windowEnd * | string | ISO 8601 |
windowStart * | string | ISO 8601 |
csv | string | Optional CSV: invoice_ref,recipient,amount[,note] |
lines | array |
validate_payout_plan
Check a payout plan for bad addresses, bad amounts, duplicates, inverted window and over-budget totals.
| Parameter | Type | Description |
|---|---|---|
budget * | string | Max total in token units, e.g. "1000" |
name * | string | |
network * | string | |
token * | string | |
windowEnd * | string | ISO 8601 |
windowStart * | string | ISO 8601 |
csv | string | Optional CSV: invoice_ref,recipient,amount[,note] |
lines | array |
reconcile_payouts
Match on-chain transfer records (recipient, amount, txHash) to plan lines and report which invoices are paid, unpaid, or unexpected transfers.
| Parameter | Type | Description |
|---|---|---|
lines * | array | |
transfers * | array |
fetch_transfers
Read-only: look up public USDC/USDT Transfer events to the given recipients (optionally from one payer) over up to 10000 recent blocks via a public RPC. Output plugs straight into reconcile_payouts. No keys, no signing.
| Parameter | Type | Description |
|---|---|---|
network * | string | |
recipients * | array | |
token * | string | |
from | string | Optional payer address |
fromBlock | integer | |
toBlock | integer | Default: latest block; default range 5000 blocks |