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
any example on how to decode the result form tonClient.getTransactions()?

https://ton-community.github.io/ton/classes/TonClient.html#getTransaction

it returns a list of transactions:
Returns Promise<null | {
address: bigint;
description: TransactionDescription;
endStatus: AccountStatus;
inMessage: undefined | Message;
lt: bigint;
now: number;
oldStatus: AccountStatus;
outMessages: Dictionary<number, Message>;
outMessagesCount: number;
prevTransactionHash: bigint;
prevTransactionLt: bigint;
stateUpdate: HashUpdate;
totalFees: CurrencyCollection;
}>

I want to know how to decode the outMessage, inMessage and address from bigint to string address. Please help!

  
  
Posted one year ago
Votes Newest

Answers


you can convert bigint to hex format

  
  
Posted one year ago
12K Views
1 Answer
one year ago
7 months ago
Tags