Search
Preparing search index...
The search index is not available
Stacks.js 1.0.0 Library Reference
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
SegwitP2SHKeySigner
Class SegwitP2SHKeySigner
Hierarchy
CLITransactionSigner
SegwitP2SHKeySigner
Implements
TransactionSigner
Index
Constructors
constructor
Properties
address
is
Complete
m
private
Keys
redeem
Script
witness
Script
Methods
findUTXO
get
Address
sign
Transaction
signer
Version
Constructors
constructor
new
Segwit
P2SHKey
Signer
(
redeemScript
:
string
, witnessScript
:
string
, m
:
number
, privateKeys
:
string
[]
)
:
SegwitP2SHKeySigner
Parameters
redeemScript:
string
witnessScript:
string
m:
number
privateKeys:
string
[]
Returns
SegwitP2SHKeySigner
Properties
address
address
:
string
is
Complete
is
Complete
:
boolean
m
m
:
number
private
Keys
private
Keys
:
string
[]
redeem
Script
redeem
Script
:
Buffer
witness
Script
witness
Script
:
Buffer
Methods
findUTXO
findUTXO
(
txIn
:
TransactionBuilder
, signingIndex
:
number
, utxos
:
UTXO
[]
)
:
UTXO
Parameters
txIn:
TransactionBuilder
signingIndex:
number
utxos:
UTXO
[]
Returns
UTXO
get
Address
get
Address
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
sign
Transaction
sign
Transaction
(
txIn
:
TransactionBuilder
, signingIndex
:
number
)
:
Promise
<
void
>
Parameters
txIn:
TransactionBuilder
signingIndex:
number
Returns
Promise
<
void
>
signer
Version
signer
Version
(
)
:
number
Returns
number
Globals
Segwit
P2SHKey
Signer
constructor
address
is
Complete
m
private
Keys
redeem
Script
witness
Script
findUTXO
get
Address
sign
Transaction
signer
Version
Generated using
TypeDoc