Initializes a new instance of the GovernanceActionId class.
transaction hash that created it this governance action.
index within the transaction body that points to it.
Private
#idPrivate
#indexPrivate
#originalIndicates whether some other GovernanceActionId is "equal to" this one.
true if objects are equals; otherwise false.
The other object to be compared.
Given that a single transaction can have multiple outputs, this index indicates which specific output of the referenced transaction is being spent. It is an integer starting from 0 for the first output.
The index of the specific output of the referenced transaction being spent.
Sets the identifier of the previous transaction where the UTxO being spent was created.
The identifier of the previous transaction.
Creates a Core GovernanceActionId object from the current GovernanceActionId object.
The Core GovernanceActionId object.
This is an identifier of a previous transaction. It points to the transaction where the UTxO being spent was created.
The identifier of the previous transaction where the UTxO being spent was created.
Static
fromDeserializes the GovernanceActionId from a CBOR byte array.
The new GovernanceActionId instance.
The CBOR encoded GovernanceActionId object.
Static
fromCreates a GovernanceActionId object from the given Core GovernanceActionId object.
The core GovernanceActionId object.
Generated using TypeDoc
Each governance action that is accepted on the chain will be assigned a unique identifier, consisting of the transaction hash that created it and the index within the transaction body that points to it.