Skip to main content

PCredential

Credentials (payment or staking); either a public key hash (in the case of a user) or a validator hash (for on-chain scripts)

Definition:

export const PCredential = pstruct({
PPubKeyCredential: { pkh: PPubKeyHash.type },
PScriptCredential: { valHash: PValidatorHash.type },
});

PPubKeyCredential

user governed credentials

pkh

type: PPubKeyHash

PScriptCredential

on-chain script governed credentials

valHash

type: PValidatorHash