Hello, I need help )

I make transfer request via js sdk :

(await wallet.methods.transfer(....))
const transfer_result = await transfer.send();

return { transfer_result };

This code returns data:

{transfer_result={@type=ok, @extra=1648111903.1049073:17:0.537090894452867}}

1. What is it mean EXTRA? What is it?
2. How I can get transfer transaction data (hash, lt and etc...)

Tnx

Mar 24, 2022, 9:01 AM
you will not get hash from here

hash and lt will be when transaction will be added to block by validators
basically there are two ways to check if transaction successfully sent

first is to check seqno of wallet (if it is incremented)
second is to check address for transaction
Mar 24, 2022, 9:06 AM
Thanks. 👍
Mar 24, 2022, 9:09 AM
Hello, @extra value does not mean anything. This is an internal id of task corresponding to your request. It is generated randomly
Mar 27, 2022, 12:13 AM
yeh, I saw that... Thnx
Mar 27, 2022, 12:16 AM

© 2024 Draquery.com All rights reserved.