cardano/certificates

This module incorporates code for generating valid certificates, ensuring their correctness.

Functions

delegate_credential(sc: ScriptHash, pool_id: StakePoolId) -> Certificate

Creates a credential delegation for changing the location of the stake. This certificate can be used to check if stake is being delegated to a specific pool.

certificates.create_credential_delegation(datum.contract_hash, datum.pool_id)
Search Document