### Hierarchy

- AccountByKeyAPI

## Index

### Constructors

- constructor

### Properties

- client

### Methods

- call
- getKeyReferences

## Constructors

### constructor

- new AccountByKeyAPI(client: Client): AccountByKeyAPI

- - Defined in helpers/key.ts:15

  #### Parameters

  - ##### client: Client

  #### Returns AccountByKeyAPI

## Properties

### client

client: Client

- Defined in helpers/key.ts:16

## Methods

### call

- call(method: string, params?: any): Promise<any>

- - Defined in helpers/key.ts:21

  Convenience for calling `account_by_key_api`.

  #### Parameters

  - ##### method: string

  - ##### Optional params: any

  #### Returns Promise<any>

### getKeyReferences

- getKeyReferences(keys: (string | PublicKey)[]): Promise<AccountsByKey>

- - Defined in helpers/key.ts:28

  Returns all accounts that have the key associated with their owner or active authorities.

  #### Parameters

  - ##### keys: (string | PublicKey)[]

  #### Returns Promise<AccountsByKey>

Generated using TypeDoc