@staticmethod
def process(rpcconn, lstSrc, lstDest):
    (bRet, utxos, txAmount, fTxFee) = BTC_CreateRawTransactionEx_Collection.makeParams(rpcconn, lstSrc, lstDest)
    if (not bRet):
        return (False, 'collection amount is too small!')
    strDst = lstDest[0]
    vout = {strDst: txAmount}
    from utils import filtered
    vin = [filtered(item, ['txid', 'vout']) for item in utxos]
    strHex = rpcconn.batch_([['createrawtransaction', vin, vout]])
    return (True, {'hex': strHex, 'utxos': utxos, 'txout': vout, 'txFee': fTxFee})
@staticmethod
def process(rpcconn, lstSrc, lstDest):
    (bRet, utxos, txAmount, fTxFee) = BTC_CreateRawTransactionEx_Collection.makeParams(rpcconn, lstSrc, lstDest)
    if (not bRet):
        return (False, 'collection amount is too small!')
    strDst = lstDest[0]
    vout = {strDst: txAmount}
    from utils import filtered
    vin = [filtered(item, ['txid', 'vout']) for item in utxos]
    strHex = rpcconn.batch_([['createrawtransaction', vin, vout]])
    return (True, {'hex': strHex, 'utxos': utxos, 'txout': vout, 'txFee': fTxFee})