Skip to main content

pathfinder_subscribe RPC Method

Loading...

Updated on
Jun 26, 2024

pathfinder_subscribe RPC Method

Parameters

kind
string
REQUIRED
Loading...
newHeads
string
REQUIRED
Loading...
events
string
REQUIRED
Loading...
address
string
Loading...
keys
array
Loading...
transactionStatus
string
REQUIRED
Loading...
transaction_hash
string
REQUIRED
Loading...

Returns

result
integer
Loading...
Request
1
wscat -c ws \
2
# wait for connection
3
{"id":1,"jsonrpc":"2.0","method":"pathfinder_subscribe","params":["newHeads"]}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free