Monad
eth_subscription (newPendingTransactions)1クレジット
Notification pushed by the node over WebSocket after eth_subscribe; it is not a method you can call.
パラメータ
パラメータは不要です(params配列は空)。
戻り値
型
Object
Notification { jsonrpc, method: "eth_subscription", params: { subscription, result } }. params.subscription is the id from eth_subscribe. params.result depends on the kind: newHeads, a block header (number, hash, parentHash, timestamp, miner, gasLimit, gasUsed, stateRoot, ...); logs, a log object (address, topics, data, blockHash, blockNumber, transactionHash, transactionIndex, logIndex, removed); newPendingTransactions, a transaction hash; syncing, a boolean or an object with startingBlock, currentBlock, highestBlock, pulledStates, knownStates.