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
Name | Type |
---|---|
algorand | AlgorandClient |
Returns
Promise
<default
>
Defined in
initialFunds
• initialFunds: AlgoAmount
Initial funds to ensure the account has
Defined in
suppressLog
• Optional
suppressLog: boolean
Whether to suppress the log (which includes a mnemonic) or not (default: do not suppress the log)