HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

isConnected

Checks if TronWeb is connected to the nodes and event server.

Usage

tronWeb.isConnected()

Parameters
No need to pass parameters

Returns
Object

Example

tronWeb.isConnected();
> …
>[[PromiseStatus]]: "resolved"
[[PromiseValue]]: Object
fullNode: true
solidityNode: true
eventServer: true
...