TransactionsListGet()

Retrieve general Transactions from Blockchain

Before calling the function make sure you have the Connector object initialized.

Understanding Connector Object

Function Call

Field

Type

Description

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

TransactionsListGet(0, 10);

Return value of function: TransactionsGetResult

Example

Connector connect_ = new Connector("95.111.224.219", 9091);
NodeApi.TransactionsGetResult TransactionsList = connect_.TransactionsListGet("4SFfA1S2xfA3BdgkTn2tK14yDhLuD11RVz78kqx35jct", 0, 10);
Console.WriteLine(TransactionsList);

Return value of function: TransactionsGetResult

Output of Example

Output is printed via ObjectDumper

{TransactionsGetResult}
  Status: {APIResponse}
    Code: 0
    Message: "Success: "
  Result: true
  Total_trxns_count: 86
  Transactions: ...
    {SealedTransaction}
      Id: {TransactionId}
        PoolSeq: 1325224
        Index: 0
      Trxn: {Transaction}
        Id: 550
        Source: ...
        Target: ...
        Amount: {Amount}
          Integral: 0
          Fraction: 1000000000000000
        Balance: {Amount}
          Integral: 0
          Fraction: 0
        Currency: 1
        Signature: ...
        SmartContract: null
        Fee: {AmountCommission}
          Commission: 17279
        TimeCreation: 1628805912748
        UserFields: null
        Type: TransactionType.TT_Transfer
        SmartInfo: null
        ExtraFee: null
        PoolNumber: 1325224
        UsedContracts: null
    {SealedTransaction}
      Id: {TransactionId}
        PoolSeq: 1291117
        Index: 0
      Trxn: {Transaction}
        Id: 27
        Source: ...
        Target: ...
        Amount: {Amount}
          Integral: 0
          Fraction: 0
        Balance: {Amount}
          Integral: 0
          Fraction: 0
        Currency: 1
        Signature: ...
        SmartContract: null
        Fee: {AmountCommission}
          Commission: 17279
        TimeCreation: 1628772698508
        UserFields: ...
        Type: TransactionType.TT_Transfer
        SmartInfo: null
        ExtraFee: null
        PoolNumber: 1291117
        UsedContracts: null
    {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

Last updated