PoolListGet()

Retrieve General Pool List

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

Understanding Connector Objectchevron-right

Function Call

Field

Type

Description

Offset

long

Offset enables you to search 10 Transactions later or any given number

Limit

int

Limit Amount per request

PoolListGet(0, 10);
circle-info

Return value of function: PoolListGetResult

Example

Connector connect_ = new Connector("95.111.224.219", 9091);
NodeApi.PoolListGetResult PoolList = connect_.PoolListGet(0, 10);
Console.WriteLine(PoolList);
circle-info

Return value of function: PoolListGetResult

Output of Example

Output is printed via ObjectDumper

{PoolListGetResult}
  Status: {APIResponse}
    Code: 0
    Message: ""
  Result: false
  Count: 1451687
  Pools: ...
    {Pool}
      Hash: ...
      PrevHash: ...
      Time: 1628884612918
      TransactionsCount: 0
      PoolNumber: 1451686
      Writer: ...
      TotalFee: {Amount}
        Integral: 0
        Fraction: 0
      Confidants: ...
        ...
          
        ...
          
        ...
          
        ...
          
        ...
          
      RealTrusted: 31
      NumberTrusted: 5

Last updated

Was this helpful?