fromJSON static method

ConsensusStateWithHeight fromJSON(
  1. IBCApiConsensusState data
)

Implementation

static ConsensusStateWithHeight fromJSON(IBCApiConsensusState data) {
  return ConsensusStateWithHeight(
      Height.fromJSON(data.height), data.consensus_state);
}