Bitcoin Address生成器
Bitcoin Address生成器 · finance.bitcoinAddress. 生成方法 · 示例
finance.bitcoinAddress
生成设置
生成后在这里查看结果。
参数 & 示例
Generates a random Bitcoin address.
finance.bitcoinAddress(options?: { type?, network? })- options
- An optional options object.
- options.type
- The bitcoin address type ('legacy', 'segwit', 'bech32' or 'taproot'). Defaults to a random address type.
- options.network
- The bitcoin network ('mainnet' or 'testnet'). Defaults to 'mainnet'.
示例
"bc15m3pfdu56trgurx9pehzaa9mkap24ldss3lh7ur"请在测试环境使用合成数据。