laso

← All agent guides

How do I move USDC between Solana and Base from an AI agent?

Last reviewed: August 2026

The short answer

Give the agent a Laso managed wallet and call POST /moveAgentWalletFunds with from set to solana or base and an amount. The USDC arrives on the other network, usually within 10 seconds, for a 0.075% fee, and the agent needs no SOL, no ETH, and no private key. To deliver USDC to someone else’s Base address, call POST /agentWalletTransfer with destinationNetwork set to base.

Why this is awkward for an agent

Bridge websites are built for a person with a browser wallet. An agent doing the same job in code needs a key on each chain, SOL for Solana fees, ETH for Base fees, a bridge SDK, and logic to wait for the second leg to land. A Laso managed wallet has a Solana side and a Base side under one balance, and Laso pays the gas on both chains, so the move is one authenticated HTTP request.

Which call fits which job.
The agent needs to…CallCost and timing
Shift its own USDC from one network to the otherPOST /moveAgentWalletFunds0.075% of the amount, $0.10 minimum move, usually within 10 seconds
Send USDC to another person’s Base addressPOST /agentWalletTransfer with destinationNetwork: "base"0.01% bridge fee, $1 minimum, usually within a minute
Pay an x402 endpoint that settles on Base or SolanaPOST /agentX402PayNothing to move by hand. The wallet moves what the payment needs before signing.

Step 1: Read both sides of the wallet

Sign in to get an id_token, then read the wallet. balance_usdc is the total, and solana_balance_usdc and base_balance_usdc show where it sits.

curl https://laso.finance/getAgentWallet \
  -H "Authorization: Bearer $LASO_ID_TOKEN"
# {
#   "user_id": "usr_...",
#   "has_wallet": true,
#   "wallet_address": "...",
#   "balance_usdc": 25,
#   "needs_funding": false,
#   "solana_balance_usdc": 25,
#   "base_wallet_address": "0x...",
#   "base_balance_usdc": 0
# }

Fund the wallet by sending USDC on Solana to wallet_address or USDC on Base to base_wallet_address. The user_id is an account id and never a receive address. base_balance_usdc is null when the live read of the Base side fails, so retry the read before deciding how much to move.

Step 2: Move USDC from Solana to Base

from is the network the USDC leaves. amount is a decimal string, and the fee comes out of it, so slightly less arrives than was sent. The request body is wrapped in data and the reply in result.

curl https://laso.finance/moveAgentWalletFunds \
  -H "Authorization: Bearer $LASO_ID_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"data":{"userId":"usr_...","from":"solana","amount":"5"}}'
# { "result": { "moveId": "...", "from": "solana", "to": "base",
#   "sentUsdc": 5, "receivedUsdc": 4.996 } }

The call returns once the USDC has arrived, so there is no second transaction to poll for. A 400 means a field is missing or invalid, or the from side holds less than amount.

Step 3: Move it back from Base to Solana

The same call with from set to base brings the funds back.

curl https://laso.finance/moveAgentWalletFunds \
  -H "Authorization: Bearer $LASO_ID_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"data":{"userId":"usr_...","from":"base","amount":"4.99"}}'

A move stays inside the account’s own wallets, so the owner’s spend limit does not apply to it.

Sending USDC to someone else on Base

To pay a person or a contract on Base, send from the managed wallet with destinationNetwork set to base and a 0x address. Laso bridges the amount and it lands as native USDC on Base.

curl https://laso.finance/agentWalletTransfer \
  -H "Authorization: Bearer $LASO_ID_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"data":{"userId":"usr_...","destinationAddress":"0xRECIPIENT","destinationNetwork":"base","amount":"5.50"}}'
# { "result": { "transferId": "...", "txHash": "...",
#   "destinationAddress": "0xRECIPIENT", "destinationNetwork": "base" } }

txHash is the Solana transaction out of the managed wallet. The Base delivery follows, usually within a minute. If the bridge fails, the amount is credited to the Laso account balance, where POST /withdraw can return it. A send to another address counts against the owner’s per-payment and rolling 24-hour spend limits.

When the agent does not need to move anything

Payments and transfers draw on the whole balance. An x402 payment that settles on Base pulls what it needs from the Solana side just before signing, and a transfer that needs more than the Solana side holds pulls the difference back from Base. Call moveAgentWalletFunds ahead of time when the agent is about to make a run of Base payments and none of them should wait on a move, or when the owner asks for everything on one network.

What this does not do

Full reference: the managed wallet guide, paying from the managed wallet, and the API reference. Related: the ways to give an agent its own wallet.

Frequently asked questions

How do I bridge USDC from Solana to Base in code without a bridge website?

Call POST /moveAgentWalletFunds on a Laso managed wallet with from set to solana and an amount. The call returns once the USDC has arrived on Base, usually within 10 seconds.

Does my agent need SOL or ETH for gas to move USDC across chains?

No. Laso pays the gas on both chains for a managed wallet. The agent pays a 0.075% fee taken from the amount moved.

How does my agent pay an API on Base when its USDC is on Solana?

Pay through POST /agentX402Pay. The managed wallet moves the USDC the payment needs to Base before signing, so no manual bridge step is required.

How do I send USDC from a Solana wallet to a Base address from an agent?

Call POST /agentWalletTransfer with destinationNetwork set to base and a 0x destinationAddress. The recipient gets native USDC on Base, less a 0.01% bridge fee, usually within a minute.

What does it cost to move USDC between Solana and Base?

A move between the two sides of a managed wallet costs 0.075% of the amount, with a $0.10 minimum move. A send to an outside Base address has a 0.01% bridge fee and a $1 minimum.

More guides

Try it: connect a wallet at laso.finance and you'll have a card, gift card, or payout in minutes.

Building an agent? Point it at laso.finance/SKILL.md — it can set itself up.