TRENDDocs
API referenceTransactions

Relay a signed transaction

POST
/v1/transactions/submit

Send the base64 of a transaction you signed. The API relays it and never signs.

Request Body

application/json
  1. body
signedTransaction*string

Base64 of the transaction you signed. The API never holds a key.

quoteId?string

The quote this transaction settles, when it does.

Formatuuid

Response Body

OK

application/json
  1. response
signature*string
status*string
Value in"submitted""confirmed""failed"
error?string|null
curl -X POST 'https://api.dev.trend.fun/v1/transactions/submit' \  -H 'Content-Type: application/json' \  -d '{  "signedTransaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAEDBg==",  "quoteId": "8c5857cf-fa33-4821-b451-aed20dd7094e"}'
{  "signature": "5VERv8NMvzbJMEkV8xnXLhVD1wMuuQeNNNBYfFLfs7yVhM8ArdPGUz3ZuC3VNXmZjHbxVNY1DjT95nKA4nLkdcUo",  "status": "confirmed",  "error": null}