PreiseGitHubDashboard

Mantle

eth_subscription (syncing)1 Credit

Benachrichtigung, die der Node nach eth_subscribe per WebSocket sendet; keine aufrufbare Methode.

Netzwerk: mantleVariante: syncing

Parameter

Keine Parameter erforderlich (leeres params-Array).

Rückgabewert

Typ

Object

Benachrichtigung { jsonrpc, method: "eth_subscription", params: { subscription, result } }. params.subscription ist die ID aus eth_subscribe. params.result hängt vom Typ ab: newHeads, ein Blockheader (number, hash, parentHash, timestamp, miner, gasLimit, gasUsed, stateRoot, ...); logs, ein Log-Objekt (address, topics, data, blockHash, blockNumber, transactionHash, transactionIndex, logIndex, removed); newPendingTransactions, ein Transaktions-Hash; syncing, ein Boolean oder ein Objekt mit startingBlock, currentBlock, highestBlock, pulledStates, knownStates.