Creates an instance of the TronConnect class.
The configuration for the Tron connection.
Protected
__bridgeProtected
__tronProtected
__tronProtected
__usdcRetrieves the Tron configuration.
tronConfig
Retrieves the TronWeb instance.
tronWeb
Bridges a specific token from the source wallet to the destination wallet on the specified network.
bridge
The source wallet from which to bridge the token.
The destination wallet or account to receive the bridged token.
The destination network for the bridged token.
The symbol of the token to bridge.
The amount of the token to bridge.
The private key of the source wallet.
Bridges a specific token from the source wallet to the destination wallet on the specified network using a web interface.
bridgeWeb
The destination network for the bridged token.
The symbol of the token to bridge.
The amount of the token to bridge.
The destination wallet or account to receive the bridged token.
The source wallet from which to bridge the token.
The web interface for interacting with the bridge.
Deserializes the deposit event data based on the deposit transaction hash.
deSerializeDepositEvent
The deposit transaction hash.
Private
fromRetrieves the address associated with a specific entity.
getAddress
The entity for which to retrieve the address.
Optional
tokenSymbol: stringThe symbol of the token associated with the address (optional).
Retrieves the bridge logs associated with a specific deposit or release transaction ID.
getBridgeLogs
The transaction ID of the deposit or release.
Private
getProvide address of bridge entity
The hex address of the requested address entity
the bridge entity to get address of
Optional
tokenSymbol: stringonly USDC for now
Retrieves the configuration for a specific token based on its symbol.
getToken
The symbol of the token.
Retrieves the token balance of a specific address on the network.
getTokenBalanceOnNetwork
The symbol of the token for which to retrieve the balance.
The address for which to retrieve the token balance.
Provide address of bridge entity
The hex address of the requested address entity
the bridge entity to get address of
Optional
tokenSymbol: stringonly USDC for now
Private
initPrivate
isGenerated using TypeDoc
Represents a connection to the Tron network.