subscribe RPC Method
Parameters
object
object
REQUIRED
Loading...
streams
array
Loading...
accounts
array
Loading...
accounts_proposed
array
Loading...
books
array
Loading...
url
string
Loading...
url_username
string
Loading...
url_password
string
Loading...
Returns
id
string
Loading...
status
string
Loading...
type
string
Loading...
result
string
Loading...
warnings
array
Loading...
id
integer
Loading...
message
string
Loading...
Request
1wscat -c wss://docs-demo.xrp-mainnet.quiknode.pro/ \2# wait for connection3{"id":1,"jsonrpc":"2.0","method":"subscribe","params":[{"streams":[],"accounts":["rrpNnNLKrartuEqfJGpqyDwPj1AFPg9vn1"],"accounts_proposed":[],"books":[]}]}
1wscat -c wss://docs-demo.xrp-mainnet.quiknode.pro/ \2# wait for connection3{"id":1,"jsonrpc":"2.0","method":"subscribe","params":[{"streams":[],"accounts":["rrpNnNLKrartuEqfJGpqyDwPj1AFPg9vn1"],"accounts_proposed":[],"books":[]}]}
Response
1{2"id": 1,3"jsonrpc": "2.0",4"result": "0x1887ec8b9589ccad00000000000532da"5}
1{2"id": 1,3"jsonrpc": "2.0",4"result": "0x1887ec8b9589ccad00000000000532da"5}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free