OZRelayerResponse class

Response from the OpenZeppelin smart-account relayer service.

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

Constructors

OZRelayerResponse({required bool success, String? transactionId, String? hash, String? status, String? error, String? errorCode, Object? details})
Constructs a relayer response.
const

Properties

details Object?
Additional error details from the relayer, when reported.
final
error String?
Error message if the request failed.
final
errorCode String?
Error code if the request failed (see OZRelayerErrorCodes).
final
hash String?
Transaction hash if submission succeeded.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
Transaction status (e.g. PENDING, SUCCESS, ERROR).
final
success bool
Whether the relayer reported the submission as successful.
final
transactionId String?
Transaction ID assigned by the relayer, when reported.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override