Feld · Bitcoin Address
Feld · Bitcoin Address · finance.bitcoinAddress. Generatormethode · Beispiel
finance.bitcoinAddress
Generatoreinstellungen
Erzeuge Daten, um Ergebnisse zu sehen.
Parameter & Beispiel
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'.
Beispiel
"bc15m3pfdu56trgurx9pehzaa9mkap24ldss3lh7ur"Verwende synthetische Daten in der Testumgebung.