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
Back to post

Revisions 2

one year ago
How do I decode the response from getTransactions in the TonWeb SDK?
Decoding the response from getTransactions (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(); ```
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(); ```
#tonweb
#tonweb
one year ago
Original
Decoding the response from getTransactions (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(); ```
#tonweb