Trades
Submit Sell
Broadcasts the fully-signed sell transaction to Solana. Pure passthrough — no database write.
POST
Overview
Broadcasts the fully-signed sell transaction and returns the on-chain signature. Semantics are identical to Submit Buy — pure passthrough, no database write; the indexer writes theTrade row asynchronously after on-chain confirmation.
Headers
A valid
PARTNER scope key.Path Parameters
Trade identifier (prefixed
trd_) returned by Quote Sell.Request Body
Base64-encoded, fully-signed Solana transaction (GRAIL’s partial sig + partner + user).
Response
Echo of the path parameter.
Solana transaction signature (base58).
Errors
| HTTP | error | When |
|---|---|---|
| 400 | invalid_request | Missing or non-string signed_tx |
| 400 | broadcast_failed | Solana RPC rejected the transaction — message has reason |
