Skip to content

GenesisCovenantGroup (Class)

A genesis covenant group for bulk covenant binding population.

All listed outputs are bound to the same covenant id, derived from the authorizing input outpoint and the exact ordered output list. Used with Transaction.populate_genesis_covenants.

authorizing_input property writable

authorizing_input: int

The index of the transaction input authorizing the covenant.

__new__

__new__(authorizing_input: int, outputs: Sequence[int]) -> GenesisCovenantGroup

Create a new GenesisCovenantGroup.

PARAMETER DESCRIPTION
authorizing_input

The index of the transaction input authorizing the covenant.

TYPE: int

outputs

The indices of the transaction outputs to bind to the covenant.

TYPE: Sequence[int]

RETURNS DESCRIPTION
GenesisCovenantGroup

A new GenesisCovenantGroup instance.

TYPE: GenesisCovenantGroup