试错:
调研:
有使用过rpc-json来进行实现, 但是一直无法成功,使用的是如下两个api
使用合约获取 pending 交易是不可行的, 可以尝试使用一下几个方法:
eth_newPendingTransactionFilter 和 eth_getFilterChanges 组合使用。subscription = web3.eth.subscribe('pendingTransactions', function (error, result) {})
    .on("data", function (transactionHash) {
        web3.eth.getTransaction(transactionHash)
        .then(function (transaction) {
            createNode(transaction.from, transaction.to);
        });
    })