Trường · Bitcoin Address
Trường · Bitcoin Address · finance.bitcoinAddress. Phương thức tạo · Ví dụ
finance.bitcoinAddress
Cài đặt trình tạo
Tạo dữ liệu để xem kết quả ở đây.
Tham số & Ví dụ
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'.
Ví dụ
"bc15m3pfdu56trgurx9pehzaa9mkap24ldss3lh7ur"Dùng dữ liệu tổng hợp trong môi trường kiểm thử.