Class AlgofiUser

Hierarchy

  • AlgofiUser

Constructors

Properties

address: string
algod: Algodv2
algofiClient: AlgofiClient
balances: {
    [key: number]: number;
} = {}

Type declaration

  • [key: number]: number
governance: default
indexer: Indexer
lending: default
minBalance: number
staking: default
transactions: default[]

Methods

  • Function to determine whether someone is opted into an asset or not.

    Returns

    whether or not the user is opted into the asset id.

    Parameters

    • assetId: number

      asset id

    Returns boolean

  • Function to load the states of all of the sub users on the algofi user class.

    Returns Promise<void>

Generated using TypeDoc