Skip to main content

ScriptPurpose

Represents the purpose of a script execution in the blockchain context.

Mint

Represents a minting action.

FieldDescription
policyPolicy ID governing the mint.

Spend

Represents spending of an output.

FieldDescription
refReference to the transaction output being spent.

Withdraw

Represents a withdrawal action.

FieldDescription
credentialCredential authorized to withdraw.

Certificate

Represents a certificate-related action.

FieldDescription
indexIndex of the certificate.
certificateCredential associated with the certificate.

Vote

Represents a governance voting action.

FieldDescription
voterThe voter participating in the vote.

Propose

Represents a governance proposal action.

FieldDescription
indexIndex of the proposal.
proposalThe proposal procedure being proposed.