> For the complete documentation index, see [llms.txt](https://centr.gitbook.io/netcs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://centr.gitbook.io/netcs/api/functions/transactionsget.md).

# TransactionsGet()

Before calling the function make sure you have the Connector object initialized.&#x20;

{% content-ref url="/pages/-MgM38pBUeXL96\_AW6Jy" %}
[Understanding Connector Object](/netcs/getting-started/understanding-connector-object.md)
{% endcontent-ref %}

## Function Call&#x20;

| Field    | Type       | Description                                                                |
| -------- | ---------- | -------------------------------------------------------------------------- |
| `PubKey` | ​`string`​ | Base58 ed25519 PublicKey                                                   |
| `OffSet` | `long`     | Offset enables you to search 10 Transactions later or any given number     |
| `Limit`  | `long`     | The maximum amount of transactions you want to retrieve in 1 Function call |

```csharp
TransactionsGet("Input here Base58 PublicKey", 0, 10);
```

{% hint style="info" %}
Return value of function: [TransactionsGetResult](/netcs/api/result-types/transactionsgetresult.md)
{% endhint %}

## Example

{% tabs %}
{% tab title="C#" %}

```csharp
Connector connect_ = new Connector("95.111.224.219", 9091);
NodeApi.TransactionsGetResult Transactions = connect_.TransactionsGet("4SFfA1S2xfA3BdgkTn2tK14yDhLuD11RVz78kqx35jct", 0, 10);
Console.WriteLine(Transactions);
```

{% endtab %}

{% tab title="Python" %}

```python
Connect_ =  Connector("165.22.212.253:9090")
print(Connect_.TransactionsGet("ACkyon3ERkNEcNwpjUn4S6TLP3L76LFg3X6kWoJx82dK",0,10))
```

{% endtab %}

{% tab title="Javascript" %}

```javascript
var connect_ = new Connector("194.163.152.177", 9091);
connect_.TransactionsGet("ACkyon3ERkNEcNwpjUn4S6TLP3L76LFg3X6kWoJx82dK").then((res) => {connect_.Close();console.log(res); });
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
Return value of function: [TransactionsGetResult](/netcs/api/result-types/transactionsgetresult.md)
{% endhint %}

#### Output of Example

Output is printed via ObjectDumper

```scheme
{TransactionsGetResult}
  Status: {APIResponse}
    Code: 0
    Message: "Success: "
  Result: false
  Total_trxns_count: 68
  Transactions: ...
    {SealedTransaction}
      Id: {TransactionId}
        PoolSeq: 1187731
        Index: 0
      Trxn: {Transaction}
        Id: 26
        Source: ...
        Target: ...
        Amount: {Amount}
          Integral: 0
          Fraction: 0
        Balance: {Amount}
          Integral: 0
          Fraction: 0
        Currency: 1
        Signature: ...
        SmartContract: null
        Fee: {AmountCommission}
          Commission: 17279
        TimeCreation: 1628706394781
        UserFields: ...
          104
          101
          108
          108
          111
        Type: TransactionType.TT_Transfer
        SmartInfo: null
        ExtraFee: null
        PoolNumber: 1187731
        UsedContracts: null
    {SealedTransaction}
      Id: {TransactionId}
        PoolSeq: 1144637
        Index: 0
      Trxn: {Transaction}
        Id: 25
        Source: ...
        Target: ...
        Amount: {Amount}
          Integral: 0
          Fraction: 0
        Balance: {Amount}
          Integral: 0
          Fraction: 0
        Currency: 1
        Signature: ...
        SmartContract: null
        Fee: {AmountCommission}
          Commission: 17279
        TimeCreation: 1628678583727
        UserFields: ...
          104
          101
          108
          108
          111
        Type: TransactionType.TT_Transfer
        SmartInfo: null
        ExtraFee: null
        PoolNumber: 1144637
        UsedContracts: null
    {SealedTransaction}
      Id: {TransactionId}
        PoolSeq: 1078081
        Index: 0
      Trxn: {Transaction}
        Id: 24
        Source: ...
        Target: ...
        Amount: {Amount}
          Integral: 0
          Fraction: 0
        Balance: {Amount}
          Integral: 0
          Fraction: 0
        Currency: 1
        Signature: ...
        SmartContract: null
        Fee: {AmountCommission}
          Commission: 17279
        TimeCreation: 1628637440038
        UserFields: ...
          104
          101
          108
          108
          111
        Type: TransactionType.TT_Transfer
        SmartInfo: null
        ExtraFee: null
        PoolNumber: 1078081
        UsedContracts: null
    {SealedTransaction}
      Id: {TransactionId}
        PoolSeq: 1075154
        Index: 0
      Trxn: {Transaction}
        Id: 23
        Source: ...
        Target: ...
        Amount: {Amount}
          Integral: 0
          Fraction: 0
        Balance: {Amount}
          Integral: 0
          Fraction: 0
        Currency: 1
        Signature: ...
        SmartContract: null
        Fee: {AmountCommission}
          Commission: 17279
        TimeCreation: 1628635657279
        UserFields: ...
          104
          101
          108
          108
          111
        Type: TransactionType.TT_Transfer
        SmartInfo: null
        ExtraFee: null
        PoolNumber: 1075154
        UsedContracts: null
    {SealedTransaction}
      Id: {TransactionId}
        PoolSeq: 706771
        Index: 3
      Trxn: {Transaction}
        Id: 543
        Source: ...
        Target: ...
        Amount: {Amount}
          Integral: 0
          Fraction: 100000000000000000
        Balance: {Amount}
          Integral: 0
          Fraction: 0
        Currency: 1
        Signature: ...
        SmartContract: null
        Fee: {AmountCommission}
          Commission: 17279
        TimeCreation: 1628417779676
        UserFields: null
        Type: TransactionType.TT_Transfer
        SmartInfo: null
        ExtraFee: null
        PoolNumber: 706771
        UsedContracts: null
    {SealedTransaction}
      Id: {TransactionId}
        PoolSeq: 706771
        Index: 2
      Trxn: {Transaction}
        Id: 549
        Source: ...
        Target: ...
        Amount: {Amount}
          Integral: 0
          Fraction: 100000000000000000
        Balance: {Amount}
          Integral: 0
          Fraction: 0
        Currency: 1
        Signature: ...
        SmartContract: null
        Fee: {AmountCommission}
          Commission: 17279
        TimeCreation: 1628417779676
        UserFields: null
        Type: TransactionType.TT_Transfer
        SmartInfo: null
        ExtraFee: null
        PoolNumber: 706771
        UsedContracts: null
    {SealedTransaction}
      Id: {TransactionId}
        PoolSeq: 706771
        Index: 1
      Trxn: {Transaction}
        Id: 548
        Source: ...
        Target: ...
        Amount: {Amount}
          Integral: 0
          Fraction: 100000000000000000
        Balance: {Amount}
          Integral: 0
          Fraction: 0
        Currency: 1
        Signature: ...
        SmartContract: null
        Fee: {AmountCommission}
          Commission: 17279
        TimeCreation: 1628417779676
        UserFields: null
        Type: TransactionType.TT_Transfer
        SmartInfo: null
        ExtraFee: null
        PoolNumber: 706771
        UsedContracts: null
    {SealedTransaction}
      Id: {TransactionId}
        PoolSeq: 706771
        Index: 0
      Trxn: {Transaction}
        Id: 547
        Source: ...
        Target: ...
        Amount: {Amount}
          Integral: 0
          Fraction: 100000000000000000
        Balance: {Amount}
          Integral: 0
          Fraction: 0
        Currency: 1
        Signature: ...
        SmartContract: null
        Fee: {AmountCommission}
          Commission: 17279
        TimeCreation: 1628417779676
        UserFields: null
        Type: TransactionType.TT_Transfer
        SmartInfo: null
        ExtraFee: null
        PoolNumber: 706771
        UsedContracts: null
    {SealedTransaction}
      Id: {TransactionId}
        PoolSeq: 706770
        Index: 0
      Trxn: {Transaction}
        Id: 542
        Source: ...
        Target: ...
        Amount: {Amount}
          Integral: 0
          Fraction: 100000000000000000
        Balance: {Amount}
          Integral: 0
          Fraction: 0
        Currency: 1
        Signature: ...
        SmartContract: null
        Fee: {AmountCommission}
          Commission: 17279
        TimeCreation: 1628417779137
        UserFields: null
        Type: TransactionType.TT_Transfer
        SmartInfo: null
        ExtraFee: null
        PoolNumber: 706770
        UsedContracts: null
    {SealedTransaction}
      Id: {TransactionId}
        PoolSeq: 706769
        Index: 3
      Trxn: {Transaction}
        Id: 537
        Source: ...
        Target: ...
        Amount: {Amount}
          Integral: 0
          Fraction: 100000000000000000
        Balance: {Amount}
          Integral: 0
          Fraction: 0
        Currency: 1
        Signature: ...
        SmartContract: null
        Fee: {AmountCommission}
          Commission: 17279
        TimeCreation: 1628417778542
        UserFields: null
        Type: TransactionType.TT_Transfer
        SmartInfo: null
        ExtraFee: null
        PoolNumber: 706769
        UsedContracts: null
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://centr.gitbook.io/netcs/api/functions/transactionsget.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
