Submit Solana transaction
Submits the user’s detached signature for a previously prepared Solana transaction. The server verifies the signature against the stored message, adds any Spritz-owned signatures such as the fee payer, serializes the transaction, and broadcasts it. If submit returns TX_EXPIRED, call prepare again and sign the new messageBytes. Retrying after a successful broadcast returns the existing transaction signature.
Authorizations
Cognito JWT token for regular user authentication
Body
Request body for submitting the user's detached signature for a previously prepared Solana transaction. The server verifies this signature against the stored messageBytes, adds any Spritz-owned signatures such as the fee payer, serializes the final transaction, and broadcasts it.
Request body for submitting the user's detached signature for a previously prepared Solana transaction. The server verifies this signature against the stored messageBytes, adds any Spritz-owned signatures such as the fee payer, serializes the final transaction, and broadcasts it.
Server transaction id returned by the prepare endpoint.
1Base64-encoded 64-byte ed25519 signature over the decoded messageBytes returned by prepare. Never send a fully signed transaction here — only the detached user signature.
1Response
Submit response. The transaction has been broadcast to the Solana cluster. If submit is retried after a successful broadcast, the existing signature is returned.
Submit response. The transaction has been broadcast to the Solana cluster. If submit is retried after a successful broadcast, the existing signature is returned.
Server transaction id.
Solana transaction signature (base58).
Role of the signature returned (e.g., fee_payer).
"fee_payer"
Transaction status (e.g., submitted).
"submitted"
URL to view the transaction on a Solana explorer.