Get information about the transaction network indicated.
    Returned info is: enabled/disabled, available hot wallet balance,
    & the transaction fee.
    ---
    description: Get information about the transaction network indicated.
    operationId: getinfo
    produces:
      - application/json
    parameters:
      - name: network
        in: path
        type: string
        required: true
        description: The network name i.e. Bitcoin, Dash
    responses:
      '200':
        description: the network information
        schema:
          $ref: '#/definitions/NetworkInfo'
      default:
        description: an error
        schema:
          $ref: '#/definitions/errorModel'

def network_info(network):
    """
    Get information about the transaction network indicated.
    Returned info is: enabled/disabled, available hot wallet balance,
    & the transaction fee.
    ---
    description: Get information about the transaction network indicated.
    operationId: getinfo
    produces:
      - application/json
    parameters:
      - name: network
        in: path
        type: string
        required: true
        description: The network name i.e. Bitcoin, Dash
    responses:
      '200':
        description: the network information
        schema:
          $ref: '#/definitions/NetworkInfo'
      default:
        description: an error
        schema:
          $ref: '#/definitions/errorModel'
    """
    lnet = network.lower()
    isenabled = lnet in ps
    fee = float(CFG.get(lnet, 'FEE'))
    roughAvail = str(int(ps[lnet].get_balance()['available'].to_double()))
    available = float(10 ** (len(roughAvail) - 1))
    response = json.dumps({'isenabled': isenabled, 'fee': fee,
                           'available': available})
    ses.close()
    return response