Helios API/ API Reference/ Classes/
TxWitnesses
Represents the pubkey signatures, and datums/redeemers/scripts that are witnessing a transaction.
Hierarchy
-
↳
TxWitnesses
Index
Constructors
constructor
• new TxWitnesses()
Inherited from
Accessors
datums
• get
datums(): ListData
Returns
profileReport
• get
profileReport(): string
Compiles a report of each redeemer execution. Only works after the tx has been finalized.
Returns
string
redeemers
• get
redeemers(): Redeemer
[]
Returns
Redeemer
[]
scripts
• get
scripts(): (UplcProgram
| NativeScript
)[]
Returns all the scripts, including the reference scripts
Returns
(UplcProgram
| NativeScript
)[]
signatures
• get
signatures(): Signature
[]
Gets the list of Signature
instances contained in this witness set.
Returns
Methods
dump
▸ dump(params?
, body?
): any
Parameters
Name | Type |
---|---|
params? | null | NetworkParams |
body? | null | TxBody |
Returns
any
isNativeScript
▸ isNativeScript(h
): boolean
Parameters
Name | Type |
---|---|
h | MintingPolicyHash | ValidatorHash |
Returns
boolean
toCbor
▸ toCbor(): number
[]
Returns
number
[]
Inherited from
toCborHex
▸ toCborHex(): string
Returns
string
Inherited from
fromCbor
▸ Static
fromCbor(bytes
): TxWitnesses
Parameters
Name | Type |
---|---|
bytes | number [] |