PoolInfoGet()

Retrieve a single pool with give parameters

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

Understanding Connector Objectchevron-right

Function Call

Field

Type

Description

Sequence

long

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

Limit

int

Limit Amount per request

PoolInfoGet(0, 10);
circle-info

Return value of function: PoolInfoGetResult

Example

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

Return value of function: PoolInfoGetResult

Output of Example

Output is printed via ObjectDumper

{PoolInfoGetResult}
  Status: {APIResponse}
    Code: 0
    Message: "Success: "
  IsFound: true
  Pool: {Pool}
    Hash: ...
    PrevHash: ...
    Time: 0
    TransactionsCount: 1
    PoolNumber: 0
    Writer: ...
    TotalFee: {Amount}
      Integral: 0
      Fraction: 0
    Confidants: ...
    RealTrusted: 0
    NumberTrusted: 0

Last updated

Was this helpful?