subscan
Runtime Modules / PublicCredentials
Spec Version:
Call Functions
Name
Lookup
Parameters
add45001
revoke45012
unrevoke45022
remove45032
reclaim_deposit45041
change_deposit_owner45051
update_deposit45061
Events
Name
Lookup
Attributes
CredentialStored4500["SubjectId","CredentialIdOf"]
CredentialRemoved4501["SubjectId","CredentialIdOf"]
CredentialRevoked4502["CredentialIdOf"]
CredentialUnrevoked4503["CredentialIdOf"]
Storage Functions
Name
Type
Credentials{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Blake2_128Concat"],"key_vec":["kilt_asset_dids:v1:AssetDid","H256"],"value":"public_credentials:credentials:CredentialEntry","keys_id":116,"value_id":478}}
CredentialSubjects{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["H256"],"value":"kilt_asset_dids:v1:AssetDid","keys_id":12,"value_id":77}}
Constants
Name
Type
Value
DepositU128005c6a51fc4500000000000000000000
MaxEncodedClaimsLengthU32a0860100
MaxSubjectIdLengthU320c010000
Error Types
Name
Docs
AlreadyAttestedA credential with the same root hash has already issued to thespecified subject.
NotFoundNo credential with the specified root hash has been issued to thespecified subject.
UnableToPayFeesNot enough tokens to pay for the fees or the deposit.
InvalidInputThe credential input is invalid.
NotAuthorizedThe caller is not authorized to performed the operation.
InternalCatch-all for any other errors that should not happen, yet ithappened.