Skip to main content

Transfer

Transfer assets from a sub-account’s wallet to any Ethereum address.

Steps

1. Create the transfer plan

const plan = await client.plan.transfer(account.external_id, {
  amount: "1000000",   // 1 USDC
  asset: "USDC",
  network: "base",
  recipient: "0x8Ba1f109551bD432803012645Ac136ddd64DBA72",
});

2. Sign and execute

The flow is identical to earn — sign the digest and call execute. See Plan-Sign-Execute.

3. Monitor

The resulting activity will have action_type: "TRANSFER" in its metadata.