pub struct TronClient {
pub rpc: TronRpcClient,
}Expand description
TRON Mainnet read-only JSON-RPC service client.
TRON Mainnet uses chain ID 728126428 (0x2b6653dc). The native balance
returned by eth_getBalance is a raw JSON-RPC quantity in lowercase sun
units (1 TRX = 1,000,000 sun); this client does not parse or convert it.
Fields§
§rpc: TronRpcClientTRON Mainnet read-only JSON-RPC namespace.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TronClient
impl !UnwindSafe for TronClient
impl Freeze for TronClient
impl Send for TronClient
impl Sync for TronClient
impl Unpin for TronClient
impl UnsafeUnpin for TronClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more