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
Answered
How do I decode the response from getTransactions in the TonWeb SDK?

Where can I find the format of transactions returned by the TonWeb getTransactions() method?
Specifically, the format of the 'message' and 'msg_data' fields of the in_msg object.

import TonWeb from "tonweb";
async function main() {
	const tonweb = new TonWeb();
  const address = new tonweb.utils.Address("EQB90pO1r7oIGfEI2f3hlzdm3yfn0yVPvuAvGvhnKqdIcoam");
  const history = await tonweb.getTransactions(address);
  let xaction = history[0];
  console.log(xaction.in_msg);
}
main();
  
  
Posted one year ago
Edited one year ago
Votes Newest

Answers


This is interface for getTransactions on typescript. You can use it for get more information how to parse response - github reference

Tonweb return has a same data. Thats both client use same API

19K Views
1 Answer
one year ago
one year ago
Tags