getTonTransactions
Get TON transactions.
Parameters
The identifier of the chat to get TON transactions for.
isInbound?: boolean
Whether only inbound transactions should be returned.
isOutbound?: boolean
Whether only outbound transactions should be returned.
isAscending?: boolean
Whether results should be sorted in ascending order.
offset?: string
An offset key returned by a previous result.
limit?: number
The maximum number of results to return.
Result
Syntax
// Required parameters only.
await client.getTonTransactions(chatId);
// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.getTonTransactions(chatId, {
isInbound,
isOutbound,
isAscending,
offset,
limit,
});