Skip to content

GetTestAccountParams

@algorandfoundation/algokit-utils / types/testing / GetTestAccountParams

types/testing.GetTestAccountParams

Parameters for the getTestAccount function.

Table of contents

Properties

Properties

accountGetter

Optional accountGetter: (algorand: AlgorandClient) => Promise<default>

Optional override for how to get a test account; this allows you to retrieve accounts from a known or cached list of accounts.

Type declaration

▸ (algorand): Promise<default>

Parameters
NameType
algorandAlgorandClient
Returns

Promise<default>

Defined in

src/types/testing.ts:48


initialFunds

initialFunds: AlgoAmount

Initial funds to ensure the account has

Defined in

src/types/testing.ts:44


suppressLog

Optional suppressLog: boolean

Whether to suppress the log (which includes a mnemonic) or not (default: do not suppress the log)

Defined in

src/types/testing.ts:46