sendTransaction RPC Method
Description
Submits a signed transaction to the cluster for processing.
Parameters
transaction
(string) - The transaction as an encoded string.object
(array) - The configuration object with the following fields:skipPreflight
(boolean) - (default: false) If true, skip the preflight transaction checkspreflightCommitment
(string) - (default: finalized) The commitment level to use for preflightencoding
(string) - The encoding format for account data. It can be one of base58 (slow), base64, base64+zstd or jsonParsedmaxRetries
(usize, optional) - The maximum number of times for the RPC node to retry sending the transaction to the leader. If this parameter is not provided, the RPC node will retry the transaction until it is finalized or until the blockhash expiresminContextSlot
(integer, optional) - The minimum slot at which the request can be evaluated
Returns
The First Transaction Signature embedded in the transaction, as base-58 encoded string (transaction id)