- Preparing search index...
- The search index is not available
Stacks.js
Function deriveDefaultUrl
- deriveDefaultUrl(network): "https://api.mainnet.hiro.so" | "https://api.testnet.hiro.so" | "http://localhost:3999"
-
Parameters
-
network: undefined | StacksNetwork | "mainnet" | "testnet" | "devnet" | "mocknet"
Returns "https://api.mainnet.hiro.so" | "https://api.testnet.hiro.so" | "http://localhost:3999"