const { sessionId, error } = await sendTransactions({
transactions: [
{
value: amount,
data: 'Transaction',
receiver: receiver
},
],
}); Hi, I'm using this sendTransaction Function to send egld to other account. I also have tokens in my wallet and want to sent them to users from my Dapp. Any idea how can i send tokens ?
For sending tokens you would have to send a transaction with the right "data" field.
https://docs.elrond.com/developers/esdt-tokens/#transfers
Also take a look at the various helpers that exist for building the transaction payload :)
For sending tokens you would have to send a transaction with the right "data" field. https://docs.elrond.com/developers/esdt-tokens/#transfers Also take a look at the various helpers that exist for building the transaction payload :)