Chromia Docs
  • Preparing search index...
  • The search index is not available
@chromia/ft4 - v2.0.0
  • @chromia/ft4
  • accounts
  • getByType

Function getByType

  • getByType(connection, type, limit?, cursor?): Promise<PaginatedEntity<Account>>
  • Fetches all accounts of a specific type as a paginated entity

    Parameters

    • connection: Connection

      the blockchain connection to use

    • type: string

      the type of account to fetch

    • limit: OptionalLimit = null

      maximum page size

    • cursor: OptionalPageCursor = null

      where the page should start

    Returns Promise<PaginatedEntity<Account>>

Settings

Member Visibility

Theme

@chromia/ft4 - v2.0.0
  • Loading...