You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
async function test() {
const client = new SuiClient({
transport: new SuiHTTPTransport({
url: 'https://fullnode.mainnet.sui.io:443',
websocket: {
reconnectTimeout: 1000,
url: 'wss://rpc.mainnet.sui.io:443',
},
}),
});
const unsubscribe = await client.subscribeEvent({
filter: {
All: [],
},
onMessage(event) {
// handle subscription notification message here. This function is called once per subscription message.
console.log(event);
},
});
}
It currently looks like this subscription method has been abandoned.
The text was updated successfully, but these errors were encountered:
async function test() {
const client = new SuiClient({
transport: new SuiHTTPTransport({
url: 'https://fullnode.mainnet.sui.io:443',
websocket: {
reconnectTimeout: 1000,
url: 'wss://rpc.mainnet.sui.io:443',
},
}),
});
const unsubscribe = await client.subscribeEvent({
filter: {
All: [],
},
onMessage(event) {
// handle subscription notification message here. This function is called once per subscription message.
console.log(event);
},
});
}
It currently looks like this subscription method has been abandoned.
The text was updated successfully, but these errors were encountered: