Fund an Agent

Deposit native assets and tokens to an agent's multi-chain wallets.

Agents need native gas on each chain before write tools can broadcast. The dashboard and API expose live balances; the fund endpoint returns deposit addresses and guidance.

Wallet addresses

After creation, inspect wallet_addresses on the agent detail response. EVM chains share one address; Solana, SUI, NEAR, Cosmos, and TRON each have protocol-specific addresses.

GET/api/agents/{id}/balancesX-Agent-Access-Token

Query native balances across the agent's enabled chains via Pocket Network RPC.

POST/api/agents/{id}/fundX-Agent-Access-Token

Return funding instructions and addresses for the agent's configured chains.

curl -X POST http://127.0.0.1:8000/api/agents/{id}/fund \
  -H "X-Agent-Access-Token: pa_..."

Supported asset types

  • Native gas: ETH, POL, SOL, SUI, NEAR, OSMO, TRX, etc.
  • EVM tokens: ERC-20 via send_erc20
  • Solana: SPL via send_spl_token
  • Cosmos: CW20 and IBC transfers
  • TRON: TRC-20 · NEAR: NEP-141 · SUI: coin types