Skip to content

AlgorandTestAutomationContext

Defined in: algokit-utils-ts/src/types/testing.ts:18

Test automation context.

algod: AlgodClient

Defined in: algokit-utils-ts/src/types/testing.ts:22

Algod client instance that will log transactions in transactionLogger


algorand: AlgorandClient

Defined in: algokit-utils-ts/src/types/testing.ts:20

An AlgorandClient instance loaded with the current context, including testAccount and any generated accounts loaded as signers


generateAccount: (params) => Promise<Address & Account & TransactionSignerAccount>

Defined in: algokit-utils-ts/src/types/testing.ts:32

Generate and fund an additional ephemerally created account

GetTestAccountParams

Promise<Address & Account & TransactionSignerAccount>


indexer: IndexerClient

Defined in: algokit-utils-ts/src/types/testing.ts:24

Indexer client instance


kmd: KmdClient

Defined in: algokit-utils-ts/src/types/testing.ts:26

KMD client instance


testAccount: Address & TransactionSignerAccount & Account

Defined in: algokit-utils-ts/src/types/testing.ts:30

Default, funded test account that is ephemerally created


transactionLogger: TransactionLogger

Defined in: algokit-utils-ts/src/types/testing.ts:28

Transaction logger that will log transaction IDs for all transactions issued by algod


waitForIndexer: () => Promise<void>

Defined in: algokit-utils-ts/src/types/testing.ts:34

Wait for the indexer to catch up with all transactions logged by transactionLogger

Promise<void>


waitForIndexerTransaction: (transactionId) => Promise<TransactionResponse>

Defined in: algokit-utils-ts/src/types/testing.ts:36

Wait for the indexer to catch up with the given transaction ID

string

Promise<TransactionResponse>