WalletCore
WalletCore
/
wallet.core.jni
/
TONAddressConverter
TONAddress
Converter
class
TONAddressConverter
TON address operations.
Functions
Functions
from
Boc
Link copied to clipboard
open
fun
fromBoc
(
boc
:
String
)
:
String
Parses a TON address from a Bag of Cells (BoC) with a single root Cell.
to
Boc
Link copied to clipboard
open
fun
toBoc
(
address
:
String
)
:
String
Converts a TON user address into a Bag of Cells (BoC) with a single root Cell.
to
User
Friendly
Link copied to clipboard
open
fun
toUserFriendly
(
address
:
String
,
bounceable
:
Boolean
,
testnet
:
Boolean
)
:
String
Converts any TON address format to user friendly with the given parameters.