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!
12K Views
1
Answer
one year ago
7 months ago
Tags