Const
Returns the URL for subscribing to new beats through a websocket connection.
The URL of the node to request the subscription from.
Optional
options: BlockSubscriptionOptions(optional) other optional parameters for the request.
blockID
- The block id to start from, defaults to the best block.
The websocket subscription URL.
Returns the URL for subscribing to new blocks through a websocket connection.
The URL of the node to request the subscription from.
Optional
options: BlockSubscriptionOptions(optional) other optional parameters for the request.
blockID
- The block id to start from, defaults to the best block.
The websocket subscription URL.
Returns the URL for subscribing to an event through a websocket connection.
The URL of the node to request the subscription from.
The event to subscribe to. Can be an event object or a string representing an event.
Optional
indexedValues: unknown[]The values of the indexed parameters to construct the topic filters.
Optional
options: EventSubscriptionOptions(optional) other optional parameters for the request.
blockID
- The block id to start from, defaults to the best block.
address
- The contract address to filter events by.
The websocket subscription URL.
Returns the URL for subscribing to new beats through a websocket connection.
The URL of the node to request the subscription from.
Optional
options: BlockSubscriptionOptions(optional) other optional parameters for the request.
blockID
- The block id to start from, defaults to the best block.
The websocket subscription URL.
This subscribes to the legacy beats. Legacy Beat source code
Returns the URL for subscribing to new transactions through a websocket connection.
The URL of the node to request the subscription from.
The websocket subscription URL.
Returns the URL for subscribing to new VET transfers through a websocket connection.
The URL of the node to request the subscription from.
Optional
options: VETtransfersSubscriptionOptions(optional) other optional parameters for the request.
blockID
- The block id to start from, defaults to the best block.
signerAddress
- The address of the signer of the transaction to filter transfers by.
sender
- The sender address to filter transfers by.
recipient
- The recipient address to filter transfers by.
The websocket subscription URL.
Subscriptions utilities. Contains functions for obtaining URLs for subscribing to events through a websocket connection.