TonClientImpl class
TON support for balances, Wallet V5R1 native transfers, and raw transaction requests. Instances share the root client's state. NOTE: not yet thread-safe.
- Implemented types
Properties
Methods
-
availableNetworks(
) → List< TonNetwork> -
Returns configured TON networks.
override
-
configureNetworks(
List< TonNetwork> networks) → void -
Sets host TON JSON-RPC endpoints. The first network is the default.
override
-
getBalance(
String address, [TonNetwork? network]) → Future< String> -
Returns the native balance in nanoton.
override
-
install(
DynamicClient client) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendJetton(
String from, TonJettonTransfer transfer, [int timeoutSeconds = 60, TonNetwork? network]) → Future< TonSendTransactionResponse> -
Builds, signs, and submits a Jetton transfer.
override
-
sendTon(
String from, TonNativeTransfer transfer, [int timeoutSeconds = 60, TonNetwork? network]) → Future< TonSendTransactionResponse> -
Builds, signs, and submits a native TON transfer.
override
-
sendTransaction(
TonTransactionRequest request, [TonNetwork? network]) → Future< TonSendTransactionResponse> -
Builds, signs, and submits a TON transaction.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited