getTransaction(address: Address, lt: string, hash: string): Promise address: bigint;
description: TransactionDescription;
endStatus: AccountStatus;
inMessage: undefined | Message;
lt: bigint;
now: number;
oldStatus: AccountStatus;
outMessages: Dictionary;
outMessagesCount: number;
prevTransactionHash: bigint;
prevTransactionLt: bigint;
stateUpdate: HashUpdate;
totalFees: CurrencyCollection;
}>
Anyone know how to convert the bigint to address?
outMessagesCount: number;
prevTransactionHash: bigint;
prevTransactionLt: bigint;
stateUpdate: HashUpdate;
totalFees: CurrencyCollection;
}>
Anyone know how to convert the bigint to address?
Oct 9, 2023, 4:14 PM
this is from https://ton-community.github.io/ton/classes/TonClient.html#getTransactions
Oct 9, 2023, 4:30 PM
convert the bigint to hex then convert it to string and add "0:" at the beginning. Then you can user Address.prase and get your address
Oct 10, 2023, 3:29 AM
It works, thank so much
Oct 10, 2023, 11:27 AM