Sep06TransactionRequest

data class Sep06TransactionRequest(val id: String? = null, val stellarTransactionId: String? = null, val externalTransactionId: String? = null, val lang: String? = null, val jwt: String? = null)

Request to query a single transaction by its identifier.

At least one of id, stellarTransactionId, or externalTransactionId must be provided to identify the transaction. The anchor will return the transaction details if found.

Constructors

Link copied to clipboard
constructor(id: String? = null, stellarTransactionId: String? = null, externalTransactionId: String? = null, lang: String? = null, jwt: String? = null)

Properties

Link copied to clipboard

External (off-chain) transaction identifier. This is the identifier from the external payment system (e.g., bank reference number).

Link copied to clipboard
val id: String?

Anchor's unique identifier for the transaction. This is the id returned in the deposit or withdraw response.

Link copied to clipboard
val jwt: String?

SEP-10 JWT token for authentication. Optional as some anchors allow transaction queries without authentication for public transactions.

Link copied to clipboard
val lang: String?

Language code (RFC 4646) for any returned messages.

Link copied to clipboard

Stellar transaction hash for the on-chain payment. Useful when querying the status of a completed transaction.