Search
Preparing search index...
The search index is not available
Stacks.js 1.4.1 Library Reference
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Stacks.js 1.4.1 Library Reference
transactions
StandardAuthorization
Class StandardAuthorization
Hierarchy
Authorization
StandardAuthorization
Index
Constructors
constructor
Properties
auth
Type
spending
Condition
sponsor
Spending
Condition
Methods
deserialize
get
Fee
into
Initial
Sighash
Auth
serialize
set
Fee
set
Nonce
set
Sponsor
set
Sponsor
Nonce
verify
Origin
deserialize
Constructors
constructor
new
Standard
Authorization
(
spendingCondition
:
SpendingCondition
)
:
StandardAuthorization
Parameters
spendingCondition:
SpendingCondition
Returns
StandardAuthorization
Properties
Optional
auth
Type
auth
Type
:
AuthType
Optional
spending
Condition
spending
Condition
:
SpendingCondition
Optional
sponsor
Spending
Condition
sponsor
Spending
Condition
:
SpendingCondition
Methods
deserialize
deserialize
(
bufferReader
:
BufferReader
)
:
void
Parameters
bufferReader:
BufferReader
Returns
void
get
Fee
get
Fee
(
)
:
BN
|
0
Returns
BN
|
0
into
Initial
Sighash
Auth
into
Initial
Sighash
Auth
(
)
:
Authorization
Returns
Authorization
serialize
serialize
(
)
:
Buffer
Returns
Buffer
set
Fee
set
Fee
(
amount
:
BN
)
:
void
Parameters
amount:
BN
Returns
void
set
Nonce
set
Nonce
(
nonce
:
BN
)
:
void
Parameters
nonce:
BN
Returns
void
set
Sponsor
set
Sponsor
(
sponsorSpendingCondition
:
SpendingCondition
)
:
void
Parameters
sponsorSpendingCondition:
SpendingCondition
Returns
void
set
Sponsor
Nonce
set
Sponsor
Nonce
(
nonce
:
BN
)
:
void
Parameters
nonce:
BN
Returns
void
verify
Origin
verify
Origin
(
initialSigHash
:
string
)
:
string
Parameters
initialSigHash:
string
Returns
string
Static
deserialize
deserialize<T>
(
bufferReader
:
BufferReader
)
:
T
Type parameters
T
:
Deserializable
<
T
>
Parameters
bufferReader:
BufferReader
Returns
T
Modules
auth
bns
cli
common
encryption
keychain
network
profile
stacking
storage
transactions
auth
bns
cli
common
encryption
keychain
network
profile
stacking
storage
transactions
Standard
Authorization
constructor
auth
Type
spending
Condition
sponsor
Spending
Condition
deserialize
get
Fee
into
Initial
Sighash
Auth
serialize
set
Fee
set
Nonce
set
Sponsor
set
Sponsor
Nonce
verify
Origin
deserialize
Generated using
TypeDoc