zcash-android-wallet-sdk / cash.z.wallet.sdk.transaction / WalletTransactionEncoder / fetchParams

fetchParams

suspend fun fetchParams(destinationDir: String): Unit

Download and store the params into the given directory.

Parameters

destinationDir - the directory where the params will be stored. It's assumed that we have write access to this directory. Typically, this should be the app's cache directory because it is not harmful if these files are cleared by the user since they are downloaded on-demand.