TokensListGet()

Retrieve List of Tokens with given Parameters

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

Understanding Connector Object

Function Call

Field

Type

Description

Order

TokensListSortField

Ed25519 Base58 Publickey

Filters

Filter for Token List

Desc

bool

Descending or Ascending

Offset

long

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

Limit

long

Limit Amount per request

TokensListGet(NodeApi.TokensListSortField.TL_Address, new NodeApi.TokenFilters, true, 0, 10);

Return value of function: TokensListResult

Example

Connector connect_ = new Connector("95.111.224.219", 9091);
NodeApi.TokensListResult TokensList = connect_.TokensListGet(NodeApi.TokensListSortField.TL_Address, new NodeApi.TokenFilters, true, 0, 10);
Console.WriteLine(TokensList );

Return value of function: TokensListResult

Output of Example

Output is printed via ObjectDumper

{TokensListResult}
  Status: {APIResponse}
    Code: 0
    Message: "Success: "
  Count: 0
  Tokens: ...

Last updated