(addressType: string)
| 263 | } |
| 264 | |
| 265 | static getSegwitInfo(addressType: string) { |
| 266 | return { |
| 267 | useNativeSegwit: ['witnesspubkeyhash', 'witnessscripthash', 'taproot'].includes(addressType), |
| 268 | segwitVersion: addressType === 'taproot' ? 1 : 0 |
| 269 | }; |
| 270 | } |
| 271 | |
| 272 | static getFeeUnit(chain: string) { |
| 273 | switch (chain.toLowerCase()) { |
no outgoing calls
no test coverage detected