toBoc

open fun toBoc(address: String): String

Converts a TON user address into a Bag of Cells (BoC) with a single root Cell. The function is mostly used to request a Jetton user address via `get_wallet_address` RPC. https://docs.ton.org/develop/dapps/asset-processing/jettons#retrieving-jetton-wallet-addresses-for-a-given-user

Return

Pointer to a base64 encoded Bag Of Cells (BoC). Null if invalid address provided.

Parameters

address

Address to be converted into a Bag Of Cells (BoC).