Skip to main content

unsubscribe RPC Method

Loading...

Updated on
Oct 04, 2023

unsubscribe RPC Method

Parameters

streams
array
Loading...
accounts
array
Loading...
accounts_proposed
array
Loading...
books
array
Loading...

Returns

id
string
Loading...
status
string
Loading...
type
string
Loading...
result
string
Loading...
warnings
array
Loading...
id
integer
Loading...
message
string
Loading...
Request
1
wscat -c \
2
# wait for connection
3
{"id":1,"command":"unsubscribe","ledger_index": "current", "streams": ["ledger","server","transactions","transactions_proposed"],"accounts": ["rrpNnNLKrartuEqfJGpqyDwPj1AFPg9vn1"],"accounts_proposed": ["rrpNnNLKrartuEqfJGpqyDwPj1AFPg9vn1"],"books": [{"taker_pays": {"currency": "XRP"},"taker_gets": {"currency": "USD","issuer": "rUQTpMqAF5jhykj4FExVeXakrZpiKF6cQV"},"both": true}]}
4
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free