Class AccountsSdk

The Accounts SDK provides a set of functions for querying the Ironforge accounts

Hierarchy

  • AccountsSdk

Properties

apiKey: string

The API key to use for all requests.

host: string

The host to use for all requests.

Methods

  • Applies an aggregate function to the accounts of a program.

    Type Parameters

    • T = any

      The expected type of the aggregation result.

    Parameters

    Returns Promise<{
        result: AccountsRequestResult<T>;
        status: number;
    }>

    The result along with the response status.

  • Finds one account of a program with the provided address.

    Type Parameters

    • T = any

      The expected type of the findOne result.

    Parameters

    Returns Promise<{
        result: AccountsRequestResult<T>;
        status: number;
    }>

    The result along with the response status.

Generated using TypeDoc