Skip to content

CovenantBinding (Class)

Binds a transaction output to the covenant and input authorizing its creation.

authorizing_input property writable

authorizing_input: int

The index of the transaction input authorizing the covenant.

covenant_id property writable

covenant_id: Hash

The covenant id the output is bound to.

__new__

__new__(authorizing_input: int, covenant_id: Hash) -> CovenantBinding

Create a new CovenantBinding.

PARAMETER DESCRIPTION
authorizing_input

The index of the transaction input authorizing the covenant.

TYPE: int

covenant_id

The covenant id the output is bound to.

TYPE: Hash

RETURNS DESCRIPTION
CovenantBinding

A new CovenantBinding instance.

TYPE: CovenantBinding

__repr__

__repr__() -> str

The detailed string representation.

RETURNS DESCRIPTION
str

The CovenantBinding as a repr string.

TYPE: str