返回顶部
s

send-tokens发送代币

Send or transfer tokens to any address on any supported chain (EVM or Solana). Use when you or the user want to send money, pay someone, transfer tokens, tip, donate, or move funds to another wallet address. Covers phrases like "send 10 USDC to", "pay 0x...", "transfer ETH to", "move tokens to my other wallet".

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
226
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

send-tokens

发送代币

使用 fdx call transferTokens 命令将代币从钱包发送至任何支持的EVM链或Solana上的任意地址。

确认钱包已认证

bash
fdx status

如果钱包未认证,请参考 authenticate 技能。

发送前检查余额

发起转账前,务必确认钱包有足够余额:

bash
fdx call getWalletOverview --chainKey <链>

发送代币

bash
fdx call transferTokens \
--chainKey <链> \
--recipientAddress <地址> \
--amount <数量>

参数

参数必填说明
--chainKey目标区块链(例如 ethereum、polygon、base、solana)
--recipientAddress
是 | 目标钱包地址 | | --amount | 是 | 发送数量(人类可读格式,例如 10、0.5) | | --fromAccountAddress | 否 | 源账户地址(如果钱包有多个账户) | | --tokenAddress | 否 | 代币合约地址(发送ETH或SOL等原生代币时省略) | | --memo | 否 | 交易的可选备注或说明 | | --maxPriorityFeePerGas | 否 | EVM Gas 小费覆盖值 | | --maxFeePerGas | 否 | EVM 最大 Gas 费用覆盖值 |

示例

发送原生代币

bash

在以太坊上发送 0.1 ETH


fdx call transferTokens \
--chainKey ethereum \
--recipientAddress 0x1234...abcd \
--amount 0.1

在 Solana 上发送 1 SOL

fdx call transferTokens \ --chainKey solana \ --recipientAddress AbCd...1234 \ --amount 1

发送 ERC-20 代币

bash

在以太坊上发送 100 USDC(指定代币合约)


fdx call transferTokens \
--chainKey ethereum \
--recipientAddress 0x1234...abcd \
--amount 100 \
--tokenAddress 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48

在 Base 上发送 50 USDC

fdx call transferTokens \ --chainKey base \ --recipientAddress 0x1234...abcd \ --amount 50 \ --tokenAddress 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

带备注发送

bash
fdx call transferTokens \
--chainKey ethereum \
--recipientAddress 0x1234...abcd \
--amount 10 \
--tokenAddress 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 \
--memo 支付发票 #42

流程

  1. 1. 使用 fdx status 检查认证状态
  2. 使用 fdx call getWalletOverview --chainKey <链> 检查余额
  3. 与用户确认转账详情(数量、接收地址、链、代币)
  4. 使用 fdx call transferTokens 执行转账
  5. 向用户报告交易结果

重要提示: 执行前务必与用户确认接收地址和数量,尤其是大额转账。区块链交易不可逆。

前置条件

  • - 必须已认证(使用 fdx status 检查,参见 authenticate 技能)
  • 钱包在目标链上必须有足够余额
  • 如果余额不足,建议使用 fund-wallet 技能

错误处理

  • - 未认证 — 先运行 fdx setup,或参见 authenticate 技能
  • 余额不足 — 使用 getWalletOverview 检查余额;参见 fund-wallet 技能
  • 无效接收地址 — 验证地址格式是否与目标链匹配

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 send-tokens-1776187388 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 send-tokens-1776187388 技能

通过命令行安装

skillhub install send-tokens-1776187388

下载

⬇ 下载 send-tokens v0.1.0(免费)

文件大小: 2.02 KB | 发布时间: 2026-4-15 11:03

v0.1.0 最新 2026-4-15 11:03
Initial release of the send-tokens skill.

- Enables sending or transferring tokens on any supported EVM chain or Solana.
- Supports native tokens and custom tokens (ERC-20).
- Includes options for specifying source account, token, memo, and gas parameters.
- Guides through checking authentication and balance before transfers.
- Provides error handling for authentication, balance, and recipient address issues.
- Designed for use cases like sending money, paying, tipping, or transferring between wallets.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部