Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.remlo.xyz/llms.txt

Use this file to discover all available pages before exploring further.

Allows an employee (or their automated agent) to immediately claim their already vested but unpaid salary from the StreamVesting contract. Endpoint POST /api/mpp/employee/advance Pricing $0.50 per call — Represents a low flat fee for unlocking immediate liquidity compared to predatory payday loans. Payment type Single charge — Processes a single on-chain transaction to release the funds. Request
{
  "employeeId": "f1a4-..."
}
The wallet address is resolved server-side from the employees table, so an authorized agent of employer A can never trigger a claim for employer B’s worker just by knowing a wallet. Response
{
  "success": true,
  "txHash": "0xabc123321cba",
  "amountReleased": "250000000000000000000"
}
Example
npx agentcash post https://remlo.xyz/api/mpp/employee/advance '{"employeeWallet":"0x...","streamId":42}'
Notes The request will revert if the total accrued amount is less than the protocol’s minimum claim threshold to prevent dusting attacks.

Authorization

Caller must be the employer that owns the employee. Accepts:
  • Privy bearer token — employer owner.
  • Tier 1 / Tier 2 agent — registered against that employer.
See Authentication.