UltraExecuteRequest class

Model for UltraExecuteRequest, Dart equivalent of the Python UltraExecuteRequest.

Used to send a signed transaction and request ID to the Jupiter Ultra API.

Annotations
  • @JsonSerializable(includeIfNull: false, fieldRename: FieldRename.snake)

Constructors

UltraExecuteRequest.new({required String signedTransaction, required String requestId})
UltraExecuteRequest.fromJson(Map<String, dynamic> json)
Creates an instance from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
requestId String
The request ID associated with the order.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signedTransaction String
The signed transaction (base64 encoded).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
snakeToCamel(String s) String
Convert snake_case to camelCase.
inherited
toCamelCaseJson() Map<String, dynamic>
Converts this object to a JSON map with camelCase keys for API requests.
toJson() Map<String, dynamic>
Converts this object to a JSON map with snake_case keys.
toString() String
A string representation of this object.
inherited
validate() → void
Validate the model.
validateBase64(String field, String value) → void
Validate base64 format.
inherited
validateBasisPoints(String field, int value) → void
Validate basis points (0-10000).
inherited
validateEnum<T>(String field, T value, List<T> allowedValues) → void
Validate enum value.
inherited
validateRange(String field, num value, {num? min, num? max}) → void
Validate a numeric range.
inherited
validateRequired(String field, dynamic value) → void
Validate that a value is not null.
inherited
validateSolanaAddress(String field, String value) → void
Validate that a string matches a Solana address format.
inherited
validateStringLength(String field, String value, {int? minLength, int? maxLength}) → void
Validate string length.
inherited

Operators

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