AccountInflationDestinationUpdatedEffectResponse class
Represents an account inflation destination updated effect response from Horizon.
DEPRECATED: The inflation mechanism was removed from the Stellar network in Protocol 12 (October 2019). This effect type remains for historical data compatibility but will not appear in new transactions.
This effect occurred when an account set its inflation destination, which was the account that would receive the account's share of the network's inflation pool. The inflation mechanism was replaced by more efficient fee distribution methods.
Historical context:
- Inflation was a 1% annual increase in total lumens
- Accounts voted for inflation destinations by setting this field
- Inflation ran weekly and distributed to accounts with >0.05% of votes
Triggered by: SetOptionsOperation (historical, pre-Protocol 12) Returned by: Horizon API only for historical effects before Protocol 12
Example:
// This effect only appears in historical data
final effects = await sdk.effects.forAccount('account_id').execute();
for (var effect in effects.records) {
if (effect is AccountInflationDestinationUpdatedEffectResponse) {
print('Historical inflation destination change at ${effect.createdAt}');
}
}
See also:
- SetOptionsOperation for setting account options
- Stellar developer docs
- Inheritance
-
- Object
- Response
- EffectResponse
- AccountInflationDestinationUpdatedEffectResponse
- Annotations
-
- @Deprecated('Inflation was removed in Protocol 12. This effect only appears in historical data.')
Constructors
- AccountInflationDestinationUpdatedEffectResponse(String id, int type_i, String type, String createdAt, String pagingToken, String account, EffectResponseLinks links)
- Creates an AccountInflationDestinationUpdatedEffectResponse from Horizon API effect data.
-
AccountInflationDestinationUpdatedEffectResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- account ↔ String
-
Account ID affected by this effect
getter/setter pairinherited
- accountMuxed ↔ String?
-
Muxed account address if the account is a muxed account
getter/setter pairinherited
- accountMuxedId ↔ String?
-
Muxed account sub-account ID if applicable
getter/setter pairinherited
- createdAt ↔ String
-
When this effect occurred in ISO 8601 format
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
Unique identifier for this effect
getter/setter pairinherited
- links ↔ EffectResponseLinks
-
Links to related resources
getter/setter pairinherited
- pagingToken ↔ String
-
Cursor for pagination
getter/setter pairinherited
- 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
- type ↔ String
-
Human-readable effect type name
getter/setter pairinherited
- type_i ↔ int
-
Effect type as integer code
getter/setter pairinherited
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