필드 · 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"테스트 환경에서 합성 데이터를 사용하세요.