Function
getByType
getByType( connection: Connection, type: string, limit?: OptionalLimit, cursor?: OptionalPageCursor, ): 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>>
- connection: Connection