<p>Please refere this API documentation for cardano-wallet <a href="https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/constructTransaction" rel="nofollow noreferrer">https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/constructTransaction</a>
The</p>
<pre><code>{
  &quot;transaction&quot;: &quot;string&quot;,
  &quot;coin_selection&quot;: {
    &quot;inputs&quot;: [
      {
        &quot;address&quot;: &quot;addr1sjck9mdmfyhzvjhydcjllgj9vjvl522w0573ncustrrr2rg7h9azg4cyqd36yyd48t5ut72hgld0fg2xfvz82xgwh7wal6g2xt8n996s3xvu5g&quot;,
        &quot;amount&quot;: {
          &quot;quantity&quot;: 42000000,
          &quot;unit&quot;: &quot;lovelace&quot;
        },
        &quot;assets&quot;: [
          {
            &quot;policy_id&quot;: &quot;65ab82542b0ca20391caaf66a4d4d7897d281f9c136cd3513136945b&quot;,
            &quot;asset_name&quot;: &quot;&quot;,
            &quot;quantity&quot;: 0
          }
        ],
        &quot;id&quot;: &quot;1423856bc91c49e928f6f30f4e8d665d53eb4ab6028bd0ac971809d514c92db1&quot;,
        &quot;derivation_path&quot;: [
          &quot;1852H&quot;
        ],
        &quot;index&quot;: 0
      }
    ],
    &quot;outputs&quot;: [
      {
        &quot;address&quot;: &quot;addr1sjck9mdmfyhzvjhydcjllgj9vjvl522w0573ncustrrr2rg7h9azg4cyqd36yyd48t5ut72hgld0fg2xfvz82xgwh7wal6g2xt8n996s3xvu5g&quot;,
        &quot;amount&quot;: {
          &quot;quantity&quot;: 42000000,
          &quot;unit&quot;: &quot;lovelace&quot;
        },
        &quot;assets&quot;: [
          {
            &quot;policy_id&quot;: &quot;65ab82542b0ca20391caaf66a4d4d7897d281f9c136cd3513136945b&quot;,
            &quot;asset_name&quot;: &quot;&quot;,
            &quot;quantity&quot;: 0
          }
        ]
      }
    ],...
</code></pre>
<p>In the above example given on the page, the native assets are included in the transactions.</p>

CC BY-SA 4.0
2021-10-22T00:49:53.050Z
it is for the REST api, right? As far as I understand, cli is a wrapper on top of the api. But it is unclear how to do the same from cardano-wallet cli
with `cardano-cli`, you can do
`cardano-cli  transaction build --tx-out <ADDRESS>+<AMOUNT>+"<TOKEN_AMOUNT> <POLICY_ID>.<TOKEN_NAME>"`
Archi - Pie Stake Pool
CC BY-SA 4.0
2022-10-20T22:21:51.577Z
This does not answer the question of how to do it with the cli
Mark
CC BY-SA 4.0
2021-10-18T08:36:47.330Z
2021-10-18T08:36:47.330Z
raghu
<p>To send ada with cardano-wallet cli, you can do</p>
<pre><code>cardano-wallet transaction create &lt;WALLET_ID&gt; --payment &lt;AMOUNT&gt;@&lt;ADDRESS&gt;
</code></pre>
<p>But there is no documentation on how to send native assets.</p>

<wallet>
How to send a transaction for native assets via cardano-wallet CLI
# How to send a transaction for native assets via cardano-wallet CLI

(Asked by: username_0 on 2021-10-18)

To send ada with cardano-wallet cli, you can do
cardano-wallet transaction create  --payment @

But there is no documentation on how to send native assets.

**Tags:** wallet

---

## 1 answers

### Answer by username_1 on 2021-10-18. Score: 0

Please refere this API documentation for cardano-wallet https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/constructTransaction
The
{
  "transaction": "string",
  "coin_selection": {
    "inputs": [
      {
        "address": "addr1sjck9mdmfyhzvjhydcjllgj9vjvl522w0573ncustrrr2rg7h9azg4cyqd36yyd48t5ut72hgld0fg2xfvz82xgwh7wal6g2xt8n996s3xvu5g",
        "amount": {
          "quantity": 42000000,
          "unit": "lovelace"
        },
        "assets": [
          {
            "policy_id": "65ab82542b0ca20391caaf66a4d4d7897d281f9c136cd3513136945b",
            "asset_name": "",
            "quantity": 0
          }
        ],
        "id": "1423856bc91c49e928f6f30f4e8d665d53eb4ab6028bd0ac971809d514c92db1",
        "derivation_path": [
          "1852H"
        ],
        "index": 0
      }
    ],
    "outputs": [
      {
        "address": "addr1sjck9mdmfyhzvjhydcjllgj9vjvl522w0573ncustrrr2rg7h9azg4cyqd36yyd48t5ut72hgld0fg2xfvz82xgwh7wal6g2xt8n996s3xvu5g",
        "amount": {
          "quantity": 42000000,
          "unit": "lovelace"
        },
        "assets": [
          {
            "policy_id": "65ab82542b0ca20391caaf66a4d4d7897d281f9c136cd3513136945b",
            "asset_name": "",
            "quantity": 0
          }
        ]
      }
    ],...

In the above example given on the page, the native assets are included in the transactions.

> **Comments:**
> **username_0**: it is for the REST api, right? As far as I understand, cli is a wrapper on top of the api. But it is unclear how to do the same from cardano-wallet cli with `cardano-cli`, you can do `cardano-cli  transaction build --tx-out <ADDRESS>+<AMOUNT>+"<TOKEN_AMOUNT> <POLICY_ID>.<TOKEN_NAME>"`  
> **username_2**: This does not answer the question of how to do it with the cli  

---

