ethOnBlock
Name: ethOnBlock
ethOnBlock
is a stream of changes in the EVM state when a new block is mined. The stream includes the results of eth_call
and other RPC requests provided by users and is restricted based on the number of calls.
This is a Gateway-API only stream.
Options
Key | Description | Values |
| Fields to include in the on block event stream |
|
| Fields used to build an RPC call request |
|
Method | Call Documentation | Additional Fields |
|
| |
|
| |
|
| |
|
| |
|
| |
| None |
Examples - Websocket
Subscribing to the ethOnBlock
stream via the Gateway-API in Python (Line 6 creates the subscription):
Examples - gRPC
Subscribing to Gateway ethOnBlock
Stream in Go using gRPC.
Response (ethOnBlock Event)
TaskCompletedEvent
is received after all calls have been executed upon receipt of a block.TaskDisabledEvent
is received if there is an error response to a call, indicating that the call has been disabled.
Last updated