Skip to main content
Submit a real transaction to the Stellar network. This is the only way to make changes “on-chain”. This method will use 10 Compute Units.

Reference: Here

Parameters

  • transaction (string)(required) The signed transaction to broadcast (serialized in base64).

Returns

  • hash string - The transaction hash (in an hex-encoded string).
  • status string - The current status of the transaction by hash.
    • Allowed values:PENDINGDUPLICATETRY_AGAIN_LATERERROR
  • latestLedger string - The latest ledger known to Soroban-RPC at the time it handled the sendTransaction() request.
  • latestLedgerCloseTime string - The unix timestamp of the close time of the latest ledger known to Soroban-RPC at the time it handled the sendTransaction() request.
  • errorResultXdr string (optional) - If the transaction status is ERROR, this will be a base64 encoded string of the raw TransactionResult XDR struct containing details on why stellar-core rejected the transaction.