# Sending a vector of custom coin object from sui sdk

**URL:** <https://forums.sui.io/t/sending-a-vector-of-custom-coin-object-from-sui-sdk/45775>\
**Category:** Technical Support\
**Tags:** sdk\
**Created:** [July 5, 2024, 6:13pm UTC](https://forums.sui.io/t/sending-a-vector-of-custom-coin-object-from-sui-sdk/45775 "2024-07-05T18:13:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tahlil](https://dub1.discourse-cdn.com/sui/user_avatar/forums.sui.io/tahlil/32/30688_2.png) [@tahlil](https://forums.sui.io/u/tahlil)\
**Post date:** [July 5, 2024, 6:13pm UTC](https://forums.sui.io/t/sending-a-vector-of-custom-coin-object-from-sui-sdk/45775/1 "2024-07-05T18:13:48Z")

</div>

I have a function in move contract that uses a vector of a dummy coin as a parameter this is owned by a nft that the caller of the function own. And the function wants to send the coin to another nft. The function signature is like this:

```auto
public fun send_dummy_coin(
        recipient_nft: address,
        user_coins: vector<Receiving<Coin<DUMMY>>>,
        amount: u64,
        ctx: &mut TxContext
    ) { 

```

Now in the frontend part how can I call the `send_dummy_coin` function. I am doing in the way but it is giving me error:

```auto
const trx = new TransactionBlock();
   trx.moveCall({
     target: `${PACKAGE_ADDRESS}::protocol::send_dummy_coin`,
     arguments: [
      trx.pure("0x572666", "address"),
       trx.makeMoveVec({objects: [trx.object("0x23554652...")]}),
       trx.pure((10**9), "u64"),
    
     ],
   });

```

`0x23554652..."` is the dummy coin token object id owned by the nft. What will be the syntax in the frontend?

---

<div class="post-metadata">

**Author:** ![25bahaz](https://avatars.discourse-cdn.com/v4/letter/2/edb3f5/32.png) [@25bahaz](https://forums.sui.io/u/25bahaz)\
**Post date:** [June 15, 2025, 6:40pm UTC](https://forums.sui.io/t/sending-a-vector-of-custom-coin-object-from-sui-sdk/45775/2 "2025-06-15T18:40:51Z")

</div>

Hi tahlil, year 2025 and i am also getting error from similar case, I am trying to pass vector referance to moveCall with your way and i am getting “Unused value without drop” error. If you have answer for that error please let me know.
