sendTransaction

suspend fun SolanaClient.sendTransaction(transaction: Transaction, skipPreflight: Boolean = false, preflightCommitment: Commitment = Commitment.Finalized, maxRetries: Int? = null, minContextSlot: Long? = null): Response<String>

Send a signed transaction to the cluster

Return

The transaction signature

Parameters

transaction

The signed transaction to send

skipPreflight

If true, skip the preflight check

preflightCommitment

The commitment level to use for the preflight check

maxRetries

The maximum number of retries to send the transaction

minContextSlot

The minimum slot to send the transaction