- Preparing search index...
- The search index is not available
Stacks.js
Constructors
constructor
- new StacksTransaction(version, auth, payload, postConditions?, postConditionMode?, anchorMode?, chainId?): StacksTransaction
-
Parameters
-
-
-
payload: PayloadInput
-
-
-
Optional
anchorMode: "onChainOnly" | "offChainOnly" | "any" | AnchorMode
-
Optional
chainId: ChainId
Properties
anchorMode
auth
chainId
payload
payload: Payload
postConditionMode
postConditions
version
Methods
appendPubkey
- appendPubkey(publicKey): void
-
Returns void
serialize
- serialize(): Uint8Array
-
Returns Uint8Array
setFee
- setFee(amount): void
-
Returns void
setNonce
- setNonce(nonce): void
-
Returns void
setSponsor
-
Returns void
setSponsorNonce
-
Returns void
signAndAppend
- signAndAppend(condition, curSigHash, authType, privateKey): string
-
Returns string
signBegin
- signBegin(): string
-
Returns string
signNextOrigin
- signNextOrigin(sigHash, privateKey): string
-
Returns string
signNextSponsor
-
Returns string
txid
- txid(): string
-
Returns string
verifyBegin
- verifyBegin(): string
-
Returns string
verifyOrigin
- verifyOrigin(): string
-
Returns string
Set the total fee to be paid for this transaction