mirrored_repositories/espresso-cash-public/packages/solana/lib/src/rpc
import 'package:json_annotation/json_annotation.dart';
import 'package:solana/src/rpc/dto/dto.dart';

part 'stake_minimum_delegation.g.dart';

@JsonSerializable()
class StakeMinimumDelegationResult extends ContextResult<int> {
  const StakeMinimumDelegationResult({
    required super.context,
    required super.value,
  });

  factory StakeMinimumDelegationResult.fromJson(Map<String, dynamic> json) =>
      _$StakeMinimumDelegationResultFromJson(json);

  Map<String, dynamic> toJson() => _$StakeMinimumDelegationResultToJson(this);
}
