An example of the output of
getblockchaininfo is here:
softforks field describes the number of required / found blocks signaling the soft fork, but the
bip9_softforks field does not. It just indicates a generic status message ("defined", "started", "locked_in", "active", "failed").
Is there an RPC command that will return the number of SegWit blocks?