Skip to content

Commit 9fa6713

Browse files
authored
1 parent 964d268 commit 9fa6713

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
using TonLibDotNet.Types;
2+
3+
namespace TonLibDotNet.Requests.Raw
4+
{
5+
[TLSchema("raw.getTransactionsV2 private_key:InputKey account_address:accountAddress from_transaction_id:internal.transactionId count:# try_decode_messages:Bool = raw.Transactions;")]
6+
public class GetTransactionsV2 : RequestBase<Types.Raw.Transactions>
7+
{
8+
public GetTransactions(AccountAddress accountAddress, Types.Internal.TransactionId fromTransactionId, int count = 3, bool tryDecodeMessages = false)
9+
{
10+
AccountAddress = accountAddress ?? throw new ArgumentNullException(nameof(accountAddress));
11+
FromTransactionId = fromTransactionId ?? throw new ArgumentNullException(nameof(fromTransactionId));
12+
Count = count;
13+
TryDecodeMessages = tryDecodeMessages;
14+
}
15+
16+
public InputKey? PrivateKey { get; set; }
17+
18+
public AccountAddress AccountAddress { get; set; }
19+
20+
public Types.Internal.TransactionId FromTransactionId { get; set; }
21+
22+
public int Count { get; set; }
23+
24+
public bool TryDecodeMessages { get; set; }
25+
}
26+
}

0 commit comments

Comments
 (0)