Skip to main content

PCertificate

It represents any possible certificate that can be included in a transaction.

definition:

export const PCertificate =  pstruct({
StakeRegistration: {
stakeKey: PCredential.type,
deposit: PMaybeInt.type
},
StakeDeRegistration: {
stakeKey: PCredential.type,
refound: PMaybeInt.type
},
Delegation: {
delegator: PCredential.type,
delegatee: PDelegatee.type
},
RegistrationAndDelegation: {
delegator: PCredential.type,
delegatee: PDelegatee.type,
lovelacesDeposit: int
},
DRepRegistration: {
drep: PCredential.type,
lovelacesDeposit: int
},
DRepUpdate: {
drep: PCredential.type
},
DRepDeRegistration: {
drep: PCredential.type,
refound: int
},
PoolRegistration: {
poolId: PPubKeyHash.type,
poolVFR: PPubKeyHash.type,
},
PoolRetire: {
poolId: PPubKeyHash.type,
epoch: int,
},
CommitteeHotAuthorization: {
cold: PCredential.type,
hot: PCredential.type
},
CommitteeResignation: {
cold: PCredential.type
}
});

StakeRegistration

stake credential registration certificate

StakeDeRegistration

stake credential de-registration certificate

Delegation

delegation of the founds controlled by the specified PCredential to the specified poolId

RegistrationAndDelegation

DRepRegistration

DRepUpdate

DRepDeregistration

PoolRegistration

pool registration certificate

PoolRetire

pool de-registration certificate

CommitteeHotAuthorization

CommitteeResignation