docs: def get_unspents(address, blockchain_client):
      """ Get the spendable transaction outputs, also known as UTXOs or
          unspent transaction outputs.
  
          NOTE: this will only return unspents if the address provided is present
          in the bitcoind server. Use the chain, blockchain, or blockcypher API
          to grab the unspents for arbitrary addresses.
      """
      if isinstance(blockchain_client, BitcoindClient):
          bitcoind = blockchain_client.bitcoind
          version_byte = blockchain_client.version_byte
      elif isinstance(blockchain_client, AuthServiceProxy):
          bitcoind = blockchain_client
          version_byte = 0
      else:
          raise Exception('A BitcoindClient object is required')
  
      addresses = []
      addresses.append(str(address))
      min_confirmations = 0
      max_confirmation = 2000000000  # just a very large number for max
      unspents = bitcoind.listunspent(min_confirmations, max_confirmation,
                                      addresses)
  
      return format_unspents(unspents)