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

Did ton-core doest return message hash anymore after send TON? #72

Open
robertchar92 opened this issue Nov 22, 2024 · 0 comments
Open

Comments

@robertchar92
Copy link

robertchar92 commented Nov 22, 2024

i'm trying to get message hash after sending transaction but what i get is undefined.

`let transfer = await contract.sendTransfer({
seqno,
secretKey: keyPair.secretKey,
messages: [internal({
value: toNano('0.1'),
to: address,
body: 'Send using @ton-org/ton',
bounce: false,
})]
});

console.log("Transfer: ", transfer);`

`const transfer = await contract.createTransfer({
seqno,
secretKey: keypair.secretKey,
messages: [internal({
value: "0.1",
to: address,
body: 'Send using @ton-org/ton',
})],
});

const result = await contract.send(transfer);

console.log("Result: ", result);`

and from https://docs.ton.org/develop/dapps/cookbook#how-to-find-transaction-or-message-hash its say i can still get message hash or does this documentation outdated?
Screenshot 2024-11-22 133640

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

1 participant