injective-trading-tokens

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Injective Trading Tokens, Skill Guide

Injective交易代币技能指南

Resolve, inspect, and move tokens on Injective. Supports all Injective denom formats and handles token transfers between wallets and subaccounts.
在Injective上解析、查看和转移代币。 支持所有Injective denom格式,并处理钱包与子账户之间的代币转账。

When to apply

适用场景

  • When you are interacting with tokens/ denoms on Injective.
  • 当你在Injective上与代币/denom进行交互时。

MCP Tools

MCP工具

The following tools in the Injective MCP Server are used by this skill. Use the
injective-mcp-servers
skill for instructions on set up and usage. The "activities" section describes the when and how to make these tool calls.
本技能使用Injective MCP Server中的以下工具。 请使用
injective-mcp-servers
技能获取设置和使用说明。 “操作场景”部分说明了何时以及如何调用这些工具。

token_metadata

token_metadata

Resolve any denom to human-readable info.
text
token_metadata
  denom: peggy0xdac17f958d2ee523a2206206994597c13d831ec7
Returns:
  • symbol
    - e.g. USDT
  • name
    - Tether USD
  • decimals
    - 6
  • type
    - peggy | ibc | native | factory | erc20
  • peggyDenom
    - ERC-20 contract address (Peggy tokens only)
将任意denom解析为易读信息。
text
token_metadata
  denom: peggy0xdac17f958d2ee523a2206206994597c13d831ec7
返回:
  • symbol
    - 例如 USDT
  • name
    - 泰达币(Tether USD)
  • decimals
    - 6
  • type
    - peggy | ibc | native | factory | erc20
  • peggyDenom
    - ERC-20合约地址(仅适用于Peggy代币)

transfer_send

transfer_send

Send tokens to another Injective address.
text
transfer_send
  address: inj1...      ← sender (must be in keystore)
  password: ****
  to: inj1...           ← recipient
  denom: inj            ← token denom (or symbol shorthand)
  amount: 10            ← human-readable amount
向其他Injective地址发送代币。
text
transfer_send
  address: inj1...      ← 发送方(必须在密钥库中)
  password: ****
  to: inj1...           ← 接收方
  denom: inj            ← 代币denom(或符号简写)
  amount: 10            ← 易读格式的金额

subaccount_deposit

subaccount_deposit

Move tokens from bank wallet into a trading subaccount.
text
subaccount_deposit
  address: inj1...
  password: ****
  denom: usdt
  amount: 100
  subaccountIndex: 0    ← optional, default 0
将代币从银行钱包转入交易子账户。
text
subaccount_deposit
  address: inj1...
  password: ****
  denom: usdt
  amount: 100
  subaccountIndex: 0    ← 可选,默认值为0

subaccount_withdraw

subaccount_withdraw

Move tokens from trading subaccount back to bank wallet.
text
subaccount_withdraw
  address: inj1...
  password: ****
  denom: usdt
  amount: 100
  subaccountIndex: 0
将代币从交易子账户转回银行钱包。
text
subaccount_withdraw
  address: inj1...
  password: ****
  denom: usdt
  amount: 100
  subaccountIndex: 0

Popular Denoms

常用Denom

See:
./references/popular-denoms.md
For any other denoms/ tokens, use
token_metadata
with the full denom string.
参考:
./references/popular-denoms.md
对于其他denom/代币,请使用完整的denom字符串调用
token_metadata

Activities

操作场景

When the user's request contains the following questions, map them to the MCP tool calls indicated.
当用户的请求包含以下问题时,映射到对应的MCP工具调用。

"What token is peggy0x...?"

"peggy0x...是什么代币?"

text
token_metadata(denom: peggy0x...)
text
token_metadata(denom: peggy0x...)

"Send 5 INJ to a friend"

"给朋友转5个INJ"

text
transfer_send(address: inj1me..., to: inj1friend..., denom: inj, amount: 5)
text
transfer_send(address: inj1me..., to: inj1friend..., denom: inj, amount: 5)

"I have USDT in my wallet but can't trade"

"我的钱包里有USDT但无法交易"

USDT is in your bank balance, not your trading subaccount.
text
subaccount_deposit(address: inj1..., denom: usdt, amount: <amount>)
你的USDT在银行余额中,而非交易子账户中。
text
subaccount_deposit(address: inj1..., denom: usdt, amount: <amount>)

"Move profits back to my wallet"

"将收益转回我的钱包"

text
subaccount_withdraw(address: inj1..., denom: usdt, amount: <amount>)
text
subaccount_withdraw(address: inj1..., denom: usdt, amount: <amount>)

Notes

注意事项

  • Amounts are always in human-readable format (e.g.
    1.5
    for 1.5 USDT). The server handles decimal conversion internally.
  • INJ has 18 decimals - never enter wei amounts; use
    1.5
    for 1.5 INJ.
  • Token metadata is resolved against the on-chain Injective token registry and cached.
  • IBC denoms are long hashes - use
    token_metadata
    to get the symbol before displaying to users.
  • 金额始终使用易读格式(例如,1.5 USDT写作
    1.5
    )。服务器会在内部处理小数转换。
  • INJ有18位小数 - 请勿输入wei单位的金额;1.5个INJ请写作
    1.5
  • 代币元数据会根据链上Injective代币注册表解析并缓存。
  • IBC denom是长哈希值 - 向用户展示前,请使用
    token_metadata
    获取其符号。