pub fn is_subscription_event(json: &Value) -> bool
Expand description
Determines if a JSON message is a subscription event notification from the blockchain RPC server.
Example response:
{
"jsonrpc": "2.0", "method": "eth_subscription", "params": {
"subscription": "0x9cef478923ff08bf67fde6c64013158d",
"result": ...
}
}