Agent Wallet

Move USDC between the managed wallet's networks

Moves USDC between the managed wallet's own Solana and Base sides, and returns once it has arrived (usually within 10 seconds). Optional: payments and transfers already move what they need automatically. Use it to fund Base ahead of a run of Base payments, so none of them waits on a move, or to bring everything back to Solana.

from is the network the USDC leaves, and it arrives on the other one. The 0.075% fee comes out of amount, so amount is what leaves and slightly less arrives. The minimum is $0.10. The money never leaves the account's own wallets, so the spend limit does not apply.

A Firebase callable. Callables wrap the request in {"data": ...} and the reply in {"result": ...}. Send the id_token from /auth as a Bearer token. Free apart from the move's own fee.

post/moveAgentWalletFunds

Request

  • Base URL: https://laso.finance
  • URL: https://laso.finance/moveAgentWalletFunds
  • Auth: API key in header Authorization

Request body

Example request

{
  "data": {
    "userId": "usr_7aff81763cae58c936aa6de67dd5a95e",
    "amount": "5"
  }
}

Response

The moveId, from, to, sentUsdc, and receivedUsdc.

resultobject

Changes

No recorded changes to this operation across all 3 revisions of this API.