Constructs a new ThorClient instance with a given HTTP client.
The HTTP client instance used for making network requests.
Optionaloptions: BlocksModuleOptions(Optional) Other optional parameters for polling and error handling.
ReadonlyaccountsThe AccountsModule instance
ReadonlyblocksThe BlocksModule instance
ReadonlycontractsThe 'ContractClient' instance
ReadonlydebugThe DebugModule instance
ReadonlyforkThe 'GalacticaForkDetector' instance
ReadonlygasThe GasModule instance
ReadonlyhttpThe HTTP client instance used for making network requests.
ReadonlylogsThe LogsModule instance used for interacting with log-related endpoints.
ReadonlynodesThe NodesModule instance
ReadonlytransactionsStaticatCreates a new ThorClient instance from a given URL.
The URL of the network to connect to.
Optionaloptions: BlocksModuleOptionsOptional configuration settings for the Blocks module.
A ThorClient instance connected to the specified network URL.
StaticfromCreates a ThorClient instance from a network URL.
The URL of the network to connect to.
Optionaloptions: BlocksModuleOptionsOptional configuration settings for the Blocks module.
A ThorClient instance connected to the specified network URL.
Use ThorClient.at instead.
The
ThorClientclass serves as an interface to interact with the VeChainThor blockchain. It provides various methods.