transaction

suspend fun transaction(sourceAddress: AccountKeyPair, baseFee: ULong? = null, memo: Pair<MemoType, String>? = null, timeBounds: TimeBounds? = null): TransactionBuilder

Creates builder that allows to form Stellar transaction, adding Stellar's operations

Return

transaction builder

Parameters

sourceAddress

Stellar address of account initiating a transaction.

baseFee

base fee that will be used for this transaction. If not specified default config fee will be used.

timeBounds

Time Bounds for this transaction. If not specified, default config timeout will be used.

memo

optional transaction memo


suspend fun transaction(sourceAddress: AccountKeyPair, timeout: Duration, baseFee: ULong? = null, memo: Pair<MemoType, String>? = null): TransactionBuilder

Creates builder that allows to form Stellar transaction, adding Stellar's operations

Return

transaction builder

Parameters

sourceAddress

Stellar address of account initiating a transaction.

baseFee

base fee that will be used for this transaction. If not specified default config fee will be used.

timeout

Duration after which transaction expires. If not specified, default config timeout will be used.

memo

optional transaction memo.