Skip to main content

fraud.Subscribe RPC Method

Subscribe allows to subscribe on a Proof pub sub topic by its type.

Updated on
Nov 19, 2024

fraud.Subscribe RPC Method

Parameters

type
string
REQUIRED
A string specifying the type of fraud proof to subscribe

Returns

result
object
The result returned by the fraud subscription
Request
1
wscat -c
2
## Wait for connection
3
{"id":1,"jsonrpc":"2.0","method":"fraud.Subscribe","params":["badencodingv0.1"]}
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free