Skip to content

AlgorandTestAutomationContext

Defined in: src/testing/types.ts:21

Test automation context.

algod: AlgodClient

Defined in: src/testing/types.ts:25

Algod client instance that will log transactions in transactionLogger


algorand: AlgorandClient

Defined in: src/testing/types.ts:23

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


generateAccount: (params) => Promise<Address & object>

Defined in: src/testing/types.ts:35

Generate and fund an additional ephemerally created account

GetTestAccountParams

Promise<Address & object>


indexer: IndexerClient

Defined in: src/testing/types.ts:27

Indexer client instance


kmd: KmdClient

Defined in: src/testing/types.ts:29

KMD client instance


testAccount: Address & object

Defined in: src/testing/types.ts:33

Default, funded test account that is ephemerally created

addr: Readonly<Address>

lsigSigner: DelegatedLsigSigner

mxBytesSigner: MxBytesSigner

programDataSigner: ProgramDataSigner

signer: TransactionSigner


transactionLogger: TransactionLogger

Defined in: src/testing/types.ts:31

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


waitForIndexer: () => Promise<void>

Defined in: src/testing/types.ts:37

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

Promise<void>


waitForIndexerTransaction: (transactionId) => Promise<TransactionResponse>

Defined in: src/testing/types.ts:39

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

string

Promise<TransactionResponse>