okx_transfer_subaccount
Transfer assets between OKX main account and subaccounts. Supports funding and trading accounts for both sender and receiver, with currency and amount specification.
Instructions
[L:WRITE] CAT:[账户-子账户] | → 请先调用 agent_catalog
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ccy": "<ccy>",
"amt": "<amt>",
"from": "<from>",
"to": "<to>"
},
"name": "okx_transfer_subaccount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | 转入账户类型:6=资金账户,18=交易账户 | |
| amt | Yes | 划转数量 | |
| ccy | Yes | 划转币种 | |
| from | Yes | 转出账户类型:6=资金账户,18=交易账户 | |
| toSubAccount | No | 转入子账户名,不填则为主账户 | |
| fromSubAccount | No | 转出子账户名,不填则为主账户 |