SEP24FeeResponse class

Response from the /fee endpoint containing the calculated fee.

Contains the exact fee that would be charged for a specific deposit or withdrawal operation with the given parameters.

See: TransferServerSEP24Service.fee, SEP24FeeRequest

Inheritance

Constructors

SEP24FeeResponse(double? fee)
Creates a SEP24FeeResponse from calculated fee amount.
SEP24FeeResponse.fromJson(Map<String, dynamic> json)
Creates a SEP24FeeResponse from JSON response data.
factory

Properties

fee ↔ double?
The total fee (in units of the asset involved) that would be charged to deposit/withdraw the specified amount.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
rateLimitLimit ↔ int?
Maximum number of requests allowed in the current rate limit window.
getter/setter pairinherited
rateLimitRemaining ↔ int?
Number of requests remaining in the current rate limit window.
getter/setter pairinherited
rateLimitReset ↔ int?
Unix timestamp when the rate limit window will reset.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setHeaders(Map<String, String> headers) → void
Populates rate limit fields from HTTP response headers.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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