toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'epoch': epoch,
      'min_fee_a': minFeeA,
      'min_fee_b': minFeeB,
      'max_block_size': maxBlockSize,
      'max_tx_size': maxTxSize,
      'max_block_header_size': maxBlockHeaderSize,
      'key_deposit': keyDeposit.toString(),
      'pool_deposit': poolDeposit.toString(),
      'e_max': eMax,
      'n_opt': nOpt,
      'a0': a0,
      'rho': rho,
      'tau': tau,
      'decentralisation_param': decentralisationParam,
      'extra_entropy': extraEntropy,
      'protocol_major_ver': protocolMajorVer,
      'protocol_minor_ver': protocolMinorVer,
      'min_utxo': minUtxo,
      'min_pool_cost': minPoolCost,
      'nonce': nonce,
      'cost_models': costModels,
      "coins_per_utxo_size": coinsPerUtxoSize
    };