TRENDDocs
API referenceTransactions

Outcome of a transaction

GET
/v1/transactions/{signature}

submitted, confirmed, failed or expired. expired is said only when you pass lastValidBlockHeight and the chain has passed it with no sign of the transaction.

Path Parameters

signature*string

A base58 transaction signature.

Query Parameters

lastValidBlockHeight?string

The lastValidBlockHeight the build returned. With it, the route can answer expired. Whole decimal digits only.

Response Body

OK

application/json
  1. response
signature*string
status*string
Value in"submitted""confirmed""failed""expired"
error?string|null
detail?string|null
curl -X GET 'https://api.dev.trend.fun/v1/transactions/5VERv8NMvzbJMEkV8xnXLhVD1wMuuQeNNNBYfFLfs7yVhM8ArdPGUz3ZuC3VNXmZjHbxVNY1DjT95nKA4nLkdcUo?lastValidBlockHeight=87877'
{  "signature": "5VERv8NMvzbJMEkV8xnXLhVD1wMuuQeNNNBYfFLfs7yVhM8ArdPGUz3ZuC3VNXmZjHbxVNY1DjT95nKA4nLkdcUo",  "status": "confirmed",  "error": null}