pub trait CoreModsRuntimeApi<Block, T>: Core<Block>where
Block: Block,
T: TypesAndLimits,{
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, Global>,
params: Option<AggregatedDidDetailsRequestParams>
) -> Result<Vec<Option<AggregatedDidDetailsResponse<T>>, Global>, ApiError> { ... }
fn did_list_details_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
dids: Vec<Did, Global>,
params: Option<AggregatedDidDetailsRequestParams>
) -> Result<Vec<Option<AggregatedDidDetailsResponse<T>>, Global>, ApiError> { ... }
fn bbs_public_key_with_params(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: (Did, IncId)
) -> Result<Option<(BBSPublicKey<T>, Option<BBSParameters<T>>)>, ApiError> { ... }
fn bbs_public_key_with_params_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: (Did, IncId)
) -> Result<Option<(BBSPublicKey<T>, Option<BBSParameters<T>>)>, ApiError> { ... }
fn bbs_params_by_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
owner: SignatureParamsOwner
) -> Result<BTreeMap<IncId, BBSParameters<T>, Global>, ApiError> { ... }
fn bbs_params_by_did_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
owner: SignatureParamsOwner
) -> Result<BTreeMap<IncId, BBSParameters<T>, Global>, ApiError> { ... }
fn bbs_public_keys_by_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
did: Did
) -> Result<BTreeMap<IncId, (BBSPublicKey<T>, Option<BBSParameters<T>>), Global>, ApiError> { ... }
fn bbs_public_keys_by_did_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
did: Did
) -> Result<BTreeMap<IncId, (BBSPublicKey<T>, Option<BBSParameters<T>>), Global>, ApiError> { ... }
fn bbs_plus_public_key_with_params(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: (Did, IncId)
) -> Result<Option<(BBSPlusPublicKey<T>, Option<BBSPlusParameters<T>>)>, ApiError> { ... }
fn bbs_plus_public_key_with_params_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: (Did, IncId)
) -> Result<Option<(BBSPlusPublicKey<T>, Option<BBSPlusParameters<T>>)>, ApiError> { ... }
fn bbs_plus_params_by_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
owner: SignatureParamsOwner
) -> Result<BTreeMap<IncId, BBSPlusParameters<T>, Global>, 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>, Global>, ApiError> { ... }
fn bbs_plus_public_keys_by_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
did: Did
) -> Result<BTreeMap<IncId, (BBSPlusPublicKey<T>, Option<BBSPlusParameters<T>>), Global>, ApiError> { ... }
fn bbs_plus_public_keys_by_did_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
did: Did
) -> Result<BTreeMap<IncId, (BBSPlusPublicKey<T>, Option<BBSPlusParameters<T>>), Global>, ApiError> { ... }
fn ps_public_key_with_params(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: (Did, IncId)
) -> Result<Option<(PSPublicKey<T>, Option<PSParameters<T>>)>, ApiError> { ... }
fn ps_public_key_with_params_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: (Did, IncId)
) -> Result<Option<(PSPublicKey<T>, Option<PSParameters<T>>)>, ApiError> { ... }
fn ps_params_by_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
owner: SignatureParamsOwner
) -> Result<BTreeMap<IncId, PSParameters<T>, Global>, ApiError> { ... }
fn ps_params_by_did_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
owner: SignatureParamsOwner
) -> Result<BTreeMap<IncId, PSParameters<T>, Global>, ApiError> { ... }
fn ps_public_keys_by_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
did: Did
) -> Result<BTreeMap<IncId, (PSPublicKey<T>, Option<PSParameters<T>>), Global>, ApiError> { ... }
fn ps_public_keys_by_did_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
did: Did
) -> Result<BTreeMap<IncId, (PSPublicKey<T>, Option<PSParameters<T>>), Global>, ApiError> { ... }
fn accumulator_public_key_with_params(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: AccumPublicKeyStorageKey
) -> Result<Option<(AccumulatorPublicKey<T>, Option<AccumulatorParameters<T>>)>, ApiError> { ... }
fn accumulator_public_key_with_params_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: AccumPublicKeyStorageKey
) -> Result<Option<(AccumulatorPublicKey<T>, Option<AccumulatorParameters<T>>)>, ApiError> { ... }
fn accumulator_with_public_key_and_params(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: AccumulatorId
) -> Result<Option<(Vec<u8, Global>, Option<(AccumulatorPublicKey<T>, Option<AccumulatorParameters<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, Global>, Option<(AccumulatorPublicKey<T>, Option<AccumulatorParameters<T>>)>)>, ApiError> { ... }
fn schema_metadata(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: TrustRegistrySchemaId
) -> Result<BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaMetadata<T>, Global>, ApiError> { ... }
fn schema_metadata_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: TrustRegistrySchemaId
) -> Result<BTreeMap<TrustRegistryId, AggregatedTrustRegistrySchemaMetadata<T>, Global>, ApiError> { ... }
fn schema_issuers(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: TrustRegistrySchemaId
) -> Result<BTreeMap<TrustRegistryId, Vec<(Issuer, AggregatedIssuerInfo<T>), Global>, Global>, ApiError> { ... }
fn schema_issuers_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: TrustRegistrySchemaId
) -> Result<BTreeMap<TrustRegistryId, Vec<(Issuer, AggregatedIssuerInfo<T>), Global>, Global>, ApiError> { ... }
fn schema_verifiers(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: TrustRegistrySchemaId
) -> Result<BTreeMap<TrustRegistryId, TrustRegistrySchemaVerifiers<T>, Global>, ApiError> { ... }
fn schema_verifiers_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: TrustRegistrySchemaId
) -> Result<BTreeMap<TrustRegistryId, TrustRegistrySchemaVerifiers<T>, Global>, 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<Vec<(Issuer, AggregatedIssuerInfo<T>), Global>>, ApiError> { ... }
fn schema_issuers_in_registry_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: TrustRegistrySchemaId,
registry_id: TrustRegistryId
) -> Result<Option<Vec<(Issuer, AggregatedIssuerInfo<T>), Global>>, 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>, Global>, 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>, Global>, ApiError> { ... }
fn all_registry_schema_issuers(
&self,
__runtime_api_at_param__: &BlockId<Block>,
registry_id: TrustRegistryId
) -> Result<BTreeMap<TrustRegistrySchemaId, Vec<(Issuer, AggregatedIssuerInfo<T>), Global>, Global>, ApiError> { ... }
fn all_registry_schema_issuers_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
registry_id: TrustRegistryId
) -> Result<BTreeMap<TrustRegistrySchemaId, Vec<(Issuer, AggregatedIssuerInfo<T>), Global>, Global>, ApiError> { ... }
fn all_registry_schema_verifiers(
&self,
__runtime_api_at_param__: &BlockId<Block>,
registry_id: TrustRegistryId
) -> Result<BTreeMap<TrustRegistrySchemaId, TrustRegistrySchemaVerifiers<T>, Global>, 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>, Global>, ApiError> { ... }
fn registries_info_by(
&self,
__runtime_api_at_param__: &BlockId<Block>,
by: QueryTrustRegistriesBy
) -> Result<BTreeMap<TrustRegistryId, TrustRegistryInfo<T>, Global>, ApiError> { ... }
fn registries_info_by_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
by: QueryTrustRegistriesBy
) -> Result<BTreeMap<TrustRegistryId, TrustRegistryInfo<T>, Global>, ApiError> { ... }
fn registry_schemas_metadata_by(
&self,
__runtime_api_at_param__: &BlockId<Block>,
by: QueryTrustRegistryBy,
reg_id: TrustRegistryId
) -> Result<BTreeMap<TrustRegistrySchemaId, AggregatedTrustRegistrySchemaMetadata<T>, Global>, 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>, Global>, ApiError> { ... }
fn registries_ids_by(
&self,
__runtime_api_at_param__: &BlockId<Block>,
by: QueryTrustRegistriesBy
) -> Result<BTreeSet<TrustRegistryId, Global>, ApiError> { ... }
fn registries_ids_by_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
by: QueryTrustRegistriesBy
) -> Result<BTreeSet<TrustRegistryId, Global>, ApiError> { ... }
fn registry_schemas_ids_by(
&self,
__runtime_api_at_param__: &BlockId<Block>,
by: QueryTrustRegistryBy,
reg_id: TrustRegistryId
) -> Result<BTreeSet<TrustRegistrySchemaId, Global>, 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, Global>, ApiError> { ... }
fn bbdt16_public_key_with_params(
&self,
__runtime_api_at_param__: &BlockId<Block>,
id: (Did, IncId)
) -> Result<Option<(BBDT16PublicKey<T>, Option<BBDT16Parameters<T>>)>, ApiError> { ... }
fn bbdt16_public_key_with_params_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
id: (Did, IncId)
) -> Result<Option<(BBDT16PublicKey<T>, Option<BBDT16Parameters<T>>)>, ApiError> { ... }
fn bbdt16_params_by_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
owner: SignatureParamsOwner
) -> Result<BTreeMap<IncId, BBDT16Parameters<T>, Global>, ApiError> { ... }
fn bbdt16_params_by_did_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
owner: SignatureParamsOwner
) -> Result<BTreeMap<IncId, BBDT16Parameters<T>, Global>, ApiError> { ... }
fn bbdt16_public_keys_by_did(
&self,
__runtime_api_at_param__: &BlockId<Block>,
did: Did
) -> Result<BTreeMap<IncId, (BBDT16PublicKey<T>, Option<BBDT16Parameters<T>>), Global>, ApiError> { ... }
fn bbdt16_public_keys_by_did_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
did: Did
) -> Result<BTreeMap<IncId, (BBDT16PublicKey<T>, Option<BBDT16Parameters<T>>), Global>, ApiError> { ... }
}
The identifier of the runtime api.
The version of the runtime api.