ADAStakePoolInfoResponse.fromJson constructor
ADAStakePoolInfoResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ADAStakePoolInfoResponse.fromJson(Map<String, dynamic> json) {
return ADAStakePoolInfoResponse(
poolId: json['pool_id'],
hex: json['hex'],
vrfKey: json['vrf_key'],
blocksMinted: json['blocks_minted'],
blocksEpoch: json['blocks_epoch'],
liveStake: json['live_stake'],
liveSize: json['live_size'],
liveSaturation: json['live_saturation'],
liveDelegators: json['live_delegators'],
activeStake: json['active_stake'],
activeSize: json['active_size'],
declaredPledge: json['declared_pledge'],
livePledge: json['live_pledge'],
marginCost: json['margin_cost'],
fixedCost: json['fixed_cost'],
rewardAccount: json['reward_account'],
owners: List<String>.from(json['owners']),
registration: List<String>.from(json['registration']),
retirement: List<String>.from(json['retirement']),
);
}