Search
Preparing search index...
The search index is not available
Leap Keychain
Options
All
Public
Public/Protected
All
Inherited
Menu
Leap Keychain
BtcWalletHD
Class BtcWalletHD
Hierarchy
BtcWallet
BtcWalletHD
Index
Constructors
constructor
Methods
get
Accounts
get
Accounts
With
Priv
Key
signECDSA
sign
Idx
sign
Psbt
generate
Wallet
From
Mnemonic
Constructors
constructor
new
Btc
WalletHD
(
hdKey
:
IHDKey
, options
:
BTCWalletOptions
)
:
BtcWalletHD
Parameters
hdKey:
IHDKey
options:
BTCWalletOptions
Returns
BtcWalletHD
Methods
get
Accounts
get
Accounts
(
)
:
{
address
:
string
;
algo
:
string
;
pubkey
:
Uint8Array
}
[]
Returns
{
address
:
string
;
algo
:
string
;
pubkey
:
Uint8Array
}
[]
get
Accounts
With
Priv
Key
get
Accounts
With
Priv
Key
(
)
:
{
address
:
string
;
addressInfo
:
P2Ret
;
algo
:
string
;
privateKey
:
Uint8Array
;
pubkey
:
Uint8Array
}
[]
Returns
{
address
:
string
;
addressInfo
:
P2Ret
;
algo
:
string
;
privateKey
:
Uint8Array
;
pubkey
:
Uint8Array
}
[]
signECDSA
signECDSA
(
address
:
string
, hash
:
Uint8Array
)
:
Promise
<
{
recoveryParam
:
number
;
signature
:
Uint8Array
}
>
Parameters
address:
string
hash:
Uint8Array
Returns
Promise
<
{
recoveryParam
:
number
;
signature
:
Uint8Array
}
>
sign
Idx
sign
Idx
(
address
:
string
, tx
:
Transaction
, idx
:
number
)
:
void
Parameters
address:
string
tx:
Transaction
idx:
number
Returns
void
sign
Psbt
sign
Psbt
(
address
:
string
, psbt
:
string
)
:
{
signTx
:
(
(
)
=>
void
)
;
tx
:
Transaction
}
Parameters
address:
string
psbt:
string
Returns
{
signTx
:
(
(
)
=>
void
)
;
tx
:
Transaction
}
sign
Tx
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
tx
:
Transaction
Static
generate
Wallet
From
Mnemonic
generate
Wallet
From
Mnemonic
(
mnemonic
:
string
, options
:
BTCWalletOptions
)
:
BtcWalletHD
Parameters
mnemonic:
string
options:
BTCWalletOptions
Returns
BtcWalletHD
Modules
<internal>
Secp256k1
Btc
WalletHD
constructor
get
Accounts
get
Accounts
With
Priv
Key
signECDSA
sign
Idx
sign
Psbt
generate
Wallet
From
Mnemonic