assist/certificates

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

Functions

create_credential_delegation(sc: ValidatorHash, pool_id: PoolId) -> 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