AptosAptos Network's breakthrough technology and seamless user experience are now available on QuickNode.

Start building today!     


rootSubscribe RPC Method


  1. None


  1. Result - The result will be an RpcResponse JSON object with id equal to:

    integer - Subscription id (needed to unsubscribe)

Notification Format:

  1. Result - The notification format is the same as seen in the getAccountInfo RPC HTTP method.

    slot - the latest slot number

Code Examples:

wscat -c wss://sample-endpoint-name.network.quiknode.pro/token-goes-here/ \ 
# wait for connection 
{"id":1,"jsonrpc":"2.0","method": "rootSubscribe" }
Ready to get started? Create a free account