Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please how to send TON token #130

Open
Jobians opened this issue Apr 1, 2024 · 3 comments
Open

Please how to send TON token #130

Jobians opened this issue Apr 1, 2024 · 3 comments

Comments

@Jobians
Copy link

Jobians commented Apr 1, 2024

No description provided.

@khalidxz5
Copy link

How

@tuminzee
Copy link

tuminzee commented May 1, 2024

@Jobians @khalidxz5

// TRANSFER TON COINS

const transfer = wallet.methods.transfer({
    secretKey: keyPair.secretKey,
    toAddress: 'EQDjVXa_oltdBP64Nc__p397xLCvGm2IcZ1ba7anSW0NAkeP',
    amount: TonWeb.utils.toNano('0.01'), // 0.01 TON
    seqno: seqno,
    payload: 'Hello',
    sendMode: 3,
});

ref: https://github.com/toncenter/tonweb/blob/master/src/contract/wallet/README.md#usage

@Jobians
Copy link
Author

Jobians commented May 1, 2024

@tuminzee Bro I mean token not coin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants