Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
How I can get transfer transaction data, and what is the EXTRA data that comes with it?

I made a transfer request via the tonweb JavaScript 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...)

This question was imported from Telegram Chat: https://t.me/tondev_eng/523

Votes Newest


With TON and TVM, you can't obtain the hash immediately. The hash and the "lt"(Logical Time) value will only be available once the transaction has been added to a block by validators.

There are two ways to verify if a transaction has been successfully sent:

  1. Check the sequence number (seqno) of the wallet. If it has increased, the transaction has likely been sent.

  2. Check the address for the transaction. This will confirm if the transaction has been recorded on the blockchain.

Posted one year ago
Edited one year ago

I would like to add additional information on the @extra value. As far as we're concerned, the @extra value does not mean anything. It is an internal id of task corresponding to the transaction, and is generated randomly.

Jeremy   one year ago Report