TONAddressConverter

TON address operations.

Functions

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.
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.
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.