@vechain/sdk-network
Version:
This module serves as the standard interface connecting decentralized applications (dApps) and users to the VeChainThor blockchain
21 lines (18 loc) • 706 B
text/typescript
import { getBeatSubscriptionUrl, getLegacyBeatSubscriptionUrl } from './beat';
import { getBlockSubscriptionUrl } from './block';
import { getEventSubscriptionUrl } from './event';
import { getNewTransactionsSubscriptionUrl } from './transaction';
import { getVETtransfersSubscriptionUrl } from './transfer';
export type * from './types.d';
/**
* Subscriptions utilities.
* Contains functions for obtaining URLs for subscribing to events through a websocket connection.
*/
export const subscriptions = {
getEventSubscriptionUrl,
getBlockSubscriptionUrl,
getNewTransactionsSubscriptionUrl,
getVETtransfersSubscriptionUrl,
getLegacyBeatSubscriptionUrl,
getBeatSubscriptionUrl
};