- Preparing search index...
- The search index is not available
Stacks.js
Function addressHashModeToVersion
- addressHashModeToVersion(hashMode, network?): AddressVersion
-
Parameters
-
-
Optional
network: StacksNetwork | "mainnet" | "testnet" | "devnet" | "mocknet"
Translates the tx auth hash mode to the corresponding address version.