RelayerResponse

data class RelayerResponse(val success: Boolean, val transactionId: String? = null, val hash: String? = null, val status: String? = null, val error: String? = null, val errorCode: String? = null, val details: JsonElement? = null)

Response from the relayer service.

The relayer wraps transactions with fee bumps and submits them to Stellar, enabling gasless onboarding for users with empty wallets.

Constructors

Link copied to clipboard
constructor(success: Boolean, transactionId: String? = null, hash: String? = null, status: String? = null, error: String? = null, errorCode: String? = null, details: JsonElement? = null)

Properties

Link copied to clipboard
val details: JsonElement?

Additional error details from the relayer (if available)

Link copied to clipboard

Error message if the request failed

Link copied to clipboard

Error code if the request failed (see RelayerErrorCodes)

Link copied to clipboard
val hash: String?

The transaction hash if submission succeeded

Link copied to clipboard

The transaction status (e.g., "PENDING", "SUCCESS", "ERROR")

Link copied to clipboard

Indicates whether the transaction was successfully submitted

Link copied to clipboard

Transaction ID assigned by the relayer (if successful)