402.bot
Recipe
live $0.0100 premium Wallet Intelligence

Crosschain Wallet Migration Plan

Combine Base wallet state, crosschain balances, and bridge context into a migration plan.

$0.0100price
4steps
7sources
8ktokens saved
4tool calls compressed
median latency
Wallet PortfolioZapper402.bot RouteGeminiZapper Token BalancesRoute Capability CandidatesGoogle Gemini Flash Structured

Endpoint: /v1/recipes/crosschain-wallet-migration-plan/run
Capabilities: crosschain, wallet-migration, wallet-ops, bridge

Why pay for this?

This recipe turns roughly 4 separate tool operations into one paid endpoint call and saves about ~8k tokens saved.

Combines Base wallet state, crosschain balances, and bridge route context into a single migration plan.

Creator

Name: 402.bot
Wallet: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
Payout: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
ERC-8004: verified
Identity: 30379
Bio: 402.bot managed workflow marketplace recipes.
ERC-8004 reputation: 0.0
Creator score: 21

Usage and trust

Success 30d: 0%
Refund 30d: 0%
Paid runs: 0
Creator recipes: 1
Last run: No recent runs

Pipeline

Stage 1

Load connected wallet portfolio

materialize

Source: Wallet Portfolio
Step id: portfolio

Stage 2

Load crosschain balances

fetch_transform

Source: Zapper Token Balances
Step id: balances

Stage 3

Rank bridge-capable routes

fetch_transform

Source: Route Capability Candidates
Step id: routes

Stage 4

Build migration plan

fetch_transform

Source: Google Gemini Flash Structured
Step id: summarize

Recent runs

RunStatusTriggerQueued
No recent runs recorded yet. Runs appear here after the first paid execution.
View raw step spec

Load connected wallet portfolio

{
  "id": "portfolio",
  "kind": "materialize",
  "title": "Load connected wallet portfolio",
  "request": {
    "scope": {
      "walletAddress": "{{ $.input.connectedAddress }}"
    },
    "network": "eip155:8453",
    "templateId": "wallet_portfolio",
    "deliveryFormat": "json"
  }
}

Load crosschain balances

{
  "id": "balances",
  "kind": "fetch_transform",
  "title": "Load crosschain balances",
  "request": {
    "params": {
      "first": 20,
      "chainIds": "{{ $.input.chainIds }}",
      "addresses": "{{ $.input.walletAddresses }}"
    },
    "sourceId": "zapper_token_balances",
    "deliveryFormat": "json"
  }
}

Rank bridge-capable routes

{
  "id": "routes",
  "kind": "fetch_transform",
  "title": "Rank bridge-capable routes",
  "request": {
    "params": {
      "limit": 5,
      "capability": "bridge"
    },
    "sourceId": "route_capability_candidates",
    "deliveryFormat": "json"
  }
}

Build migration plan

{
  "id": "summarize",
  "kind": "fetch_transform",
  "title": "Build migration plan",
  "request": {
    "params": {
      "input": {
        "routes": "{{ $.stepsById.routes.output }}",
        "portfolio": "{{ $.stepsById.portfolio.output }}",
        "walletAddresses": "{{ $.input.walletAddresses }}",
        "connectedAddress": "{{ $.input.connectedAddress }}",
        "crosschainBalances": "{{ $.stepsById.balances.output }}",
        "destinationAddress": "{{ $.input.destinationAddress }}"
      },
      "prompt": "Prepare a crosschain wallet migration plan. Focus on directly executable value, bridge-required value, external-wallet value, migration priorities, and next actions.",
      "responseSchema": {
        "type": "object",
        "required": [
          "connectedAddress",
          "destinationAddress",
          "summary",
          "directlyExecutableUsd",
          "bridgeRequiredUsd",
          "externalWalletUsd",
          "migrationPriorities",
          "nextActions"
        ],
        "properties": {
          "summary": {
            "type": "string"
          },
          "nextActions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Next actions."
          },
          "connectedAddress": {
            "type": "string"
          },
          "bridgeRequiredUsd": {
            "type": "number"
          },
          "externalWalletUsd": {
            "type": "number"
          },
          "destinationAddress": {
            "type": "string"
          },
          "migrationPriorities": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Migration priorities."
          },
          "directlyExecutableUsd": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "systemInstruction": "You are preparing a compact wallet migration plan. Stay grounded in the supplied wallet state, balance scan, and route shortlist only."
    },
    "sourceId": "google_gemini_flash_structured",
    "deliveryFormat": "json"
  }
}