pub trait CoreModsApi<Block: BlockT, T: TypesAndLimits>: Core<Block> {
Show 58 methods
// Provided methods
fn did_details(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: Did,
params: Option<AggregatedDidDetailsRequestParams>
) -> Result<Option<AggregatedDidDetailsResponse<T>>, ApiError> { ... }
fn did_details_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: Did,
params: Option<AggregatedDidDetailsRequestParams>
) -> Result<Option<AggregatedDidDetailsResponse<T>>, ApiError> { ... }
fn did_list_details(
&self,
__runtime_api_at_param__: &BlockId<Block>,
dids: Vec<Did>,
params: Option<AggregatedDidDetailsRequestParams>
) -> Result<Vec<Option<AggregatedDidDetailsResponse<T>>>, ApiError> { ... }
fn did_list_details_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
dids: Vec<Did>,
params: Option<AggregatedDidDetailsRequestParams>
) -> Result<Vec<Option<AggregatedDidDetailsResponse<T>>>, ApiError> { ... }
fn bbs_public_key_with_params(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: SignaturePublicKeyStorageKey
) -> Result<Option<BBSPublicKeyWithParams<T>>, ApiError> { ... }
fn bbs_public_key_with_params_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: SignaturePublicKeyStorageKey
) -> Result<Option<BBSPublicKeyWithParams<T>>, ApiError> { ... }
fn bbs_params_by_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
owner: SignatureParamsOwner
) -> Result<BTreeMap<IncId, BBSParameters<T>>, ApiError> { ... }
fn bbs_params_by_did_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
owner: SignatureParamsOwner
) -> Result<BTreeMap<IncId, BBSParameters<T>>, ApiError> { ... }
fn bbs_public_keys_by_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
did: Did
) -> Result<BTreeMap<IncId, BBSPublicKeyWithParams<T>>, ApiError> { ... }
fn bbs_public_keys_by_did_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
did: Did
) -> Result<BTreeMap<IncId, BBSPublicKeyWithParams<T>>, ApiError> { ... }
fn bbs_plus_public_key_with_params(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: SignaturePublicKeyStorageKey
) -> Result<Option<BBSPlusPublicKeyWithParams<T>>, ApiError> { ... }
fn bbs_plus_public_key_with_params_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: SignaturePublicKeyStorageKey
) -> Result<Option<BBSPlusPublicKeyWithParams<T>>, ApiError> { ... }
fn bbs_plus_params_by_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
owner: SignatureParamsOwner
) -> Result<BTreeMap<IncId, BBSPlusParameters<T>>, ApiError> { ... }
fn bbs_plus_params_by_did_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
owner: SignatureParamsOwner
) -> Result<BTreeMap<IncId, BBSPlusParameters<T>>, ApiError> { ... }
fn bbs_plus_public_keys_by_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
did: Did
) -> Result<BTreeMap<IncId, BBSPlusPublicKeyWithParams<T>>, ApiError> { ... }
fn bbs_plus_public_keys_by_did_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
did: Did
) -> Result<BTreeMap<IncId, BBSPlusPublicKeyWithParams<T>>, ApiError> { ... }
fn ps_public_key_with_params(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: SignaturePublicKeyStorageKey
) -> Result<Option<PSPublicKeyWithParams<T>>, ApiError> { ... }
fn ps_public_key_with_params_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: SignaturePublicKeyStorageKey
) -> Result<Option<PSPublicKeyWithParams<T>>, ApiError> { ... }
fn ps_params_by_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
owner: SignatureParamsOwner
) -> Result<BTreeMap<IncId, PSParameters<T>>, ApiError> { ... }
fn ps_params_by_did_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
owner: SignatureParamsOwner
) -> Result<BTreeMap<IncId, PSParameters<T>>, ApiError> { ... }
fn ps_public_keys_by_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
did: Did
) -> Result<BTreeMap<IncId, PSPublicKeyWithParams<T>>, ApiError> { ... }
fn ps_public_keys_by_did_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
did: Did
) -> Result<BTreeMap<IncId, PSPublicKeyWithParams<T>>, ApiError> { ... }
fn accumulator_public_key_with_params(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: AccumPublicKeyStorageKey
) -> Result<Option<AccumPublicKeyWithParams<T>>, ApiError> { ... }
fn accumulator_public_key_with_params_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: AccumPublicKeyStorageKey
) -> Result<Option<AccumPublicKeyWithParams<T>>, ApiError> { ... }
fn accumulator_with_public_key_and_params(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: AccumulatorId
) -> Result<Option<(Vec<u8>, Option<AccumPublicKeyWithParams<T>>)>, ApiError> { ... }
fn accumulator_with_public_key_and_params_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: AccumulatorId
) -> Result<Option<(Vec<u8>, Option<AccumPublicKeyWithParams<T>>)>, ApiError> { ... }
fn schema_metadata(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: TrustRegistrySchemaId
) -> Result<BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaMetadata<T>>, ApiError> { ... }
fn schema_metadata_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: TrustRegistrySchemaId
) -> Result<BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaMetadata<T>>, ApiError> { ... }
fn schema_issuers(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: TrustRegistrySchemaId
) -> Result<BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaIssuers<T>>, ApiError> { ... }
fn schema_issuers_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: TrustRegistrySchemaId
) -> Result<BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaIssuers<T>>, ApiError> { ... }
fn schema_verifiers(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: TrustRegistrySchemaId
) -> Result<BTreeMap<TrustRegistryId, TrustRegistrySchemaVerifiers<T>>, ApiError> { ... }
fn schema_verifiers_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: TrustRegistrySchemaId
) -> Result<BTreeMap<TrustRegistryId, TrustRegistrySchemaVerifiers<T>>, ApiError> { ... }
fn schema_metadata_in_registry(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: TrustRegistrySchemaId,
registry_id: TrustRegistryId
) -> Result<Option<AggregatedTrustRegistrySchemaMetadata<T>>, ApiError> { ... }
fn schema_metadata_in_registry_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: TrustRegistrySchemaId,
registry_id: TrustRegistryId
) -> Result<Option<AggregatedTrustRegistrySchemaMetadata<T>>, ApiError> { ... }
fn schema_issuers_in_registry(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: TrustRegistrySchemaId,
registry_id: TrustRegistryId
) -> Result<Option<AggregatedTrustRegistrySchemaIssuers<T>>, ApiError> { ... }
fn schema_issuers_in_registry_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: TrustRegistrySchemaId,
registry_id: TrustRegistryId
) -> Result<Option<AggregatedTrustRegistrySchemaIssuers<T>>, ApiError> { ... }
fn schema_verifiers_in_registry(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: TrustRegistrySchemaId,
registry_id: TrustRegistryId
) -> Result<Option<TrustRegistrySchemaVerifiers<T>>, ApiError> { ... }
fn schema_verifiers_in_registry_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: TrustRegistrySchemaId,
registry_id: TrustRegistryId
) -> Result<Option<TrustRegistrySchemaVerifiers<T>>, ApiError> { ... }
fn all_registry_schema_metadata(
&self,
__runtime_api_at_param__: &BlockId<Block>,
registry_id: TrustRegistryId
) -> Result<BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<T>>, ApiError> { ... }
fn all_registry_schema_metadata_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
registry_id: TrustRegistryId
) -> Result<BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<T>>, ApiError> { ... }
fn all_registry_schema_issuers(
&self,
__runtime_api_at_param__: &BlockId<Block>,
registry_id: TrustRegistryId
) -> Result<BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaIssuers<T>>, ApiError> { ... }
fn all_registry_schema_issuers_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
registry_id: TrustRegistryId
) -> Result<BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaIssuers<T>>, ApiError> { ... }
fn all_registry_schema_verifiers(
&self,
__runtime_api_at_param__: &BlockId<Block>,
registry_id: TrustRegistryId
) -> Result<BTreeMap<TrustRegistrySchemaId, TrustRegistrySchemaVerifiers<T>>, ApiError> { ... }
fn all_registry_schema_verifiers_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
registry_id: TrustRegistryId
) -> Result<BTreeMap<TrustRegistrySchemaId, TrustRegistrySchemaVerifiers<T>>, ApiError> { ... }
fn registries_info_by(
&self,
__runtime_api_at_param__: &BlockId<Block>,
by: QueryTrustRegistriesBy
) -> Result<BTreeMap<TrustRegistryId, TrustRegistryInfo<T>>, ApiError> { ... }
fn registries_info_by_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
by: QueryTrustRegistriesBy
) -> Result<BTreeMap<TrustRegistryId, TrustRegistryInfo<T>>, ApiError> { ... }
fn registry_schemas_metadata_by(
&self,
__runtime_api_at_param__: &BlockId<Block>,
by: QueryTrustRegistryBy,
reg_id: TrustRegistryId
) -> Result<BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<T>>, ApiError> { ... }
fn registry_schemas_metadata_by_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
by: QueryTrustRegistryBy,
reg_id: TrustRegistryId
) -> Result<BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<T>>, ApiError> { ... }
fn registries_ids_by(
&self,
__runtime_api_at_param__: &BlockId<Block>,
by: QueryTrustRegistriesBy
) -> Result<BTreeSet<TrustRegistryId>, ApiError> { ... }
fn registries_ids_by_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
by: QueryTrustRegistriesBy
) -> Result<BTreeSet<TrustRegistryId>, ApiError> { ... }
fn registry_schemas_ids_by(
&self,
__runtime_api_at_param__: &BlockId<Block>,
by: QueryTrustRegistryBy,
reg_id: TrustRegistryId
) -> Result<BTreeSet<TrustRegistrySchemaId>, ApiError> { ... }
fn registry_schemas_ids_by_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
by: QueryTrustRegistryBy,
reg_id: TrustRegistryId
) -> Result<BTreeSet<TrustRegistrySchemaId>, ApiError> { ... }
fn bbdt16_public_key_with_params(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: SignaturePublicKeyStorageKey
) -> Result<Option<BBDT16PublicKeyWithParams<T>>, ApiError> { ... }
fn bbdt16_public_key_with_params_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: SignaturePublicKeyStorageKey
) -> Result<Option<BBDT16PublicKeyWithParams<T>>, ApiError> { ... }
fn bbdt16_params_by_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
owner: SignatureParamsOwner
) -> Result<BTreeMap<IncId, BBDT16Parameters<T>>, ApiError> { ... }
fn bbdt16_params_by_did_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
owner: SignatureParamsOwner
) -> Result<BTreeMap<IncId, BBDT16Parameters<T>>, ApiError> { ... }
fn bbdt16_public_keys_by_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
did: Did
) -> Result<BTreeMap<IncId, BBDT16PublicKeyWithParams<T>>, ApiError> { ... }
fn bbdt16_public_keys_by_did_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
did: Did
) -> Result<BTreeMap<IncId, BBDT16PublicKeyWithParams<T>>, ApiError> { ... }
}
The identifier of the runtime api.
The version of the runtime api.