FiyatlandırmaGitHubKontrol paneli

BNB

eth_subscription (newPendingTransactions)1 kredi

Notification pushed by the node over WebSocket after eth_subscribe; it is not a method you can call.

Ağ: bscVaryant: newPendingTransactions

Parametreler

Parametre gerekmez (boş params dizisi).

Dönüş değeri

Tür

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.