Function did::pallet::dispatchables::add_service_endpoint
source · pub fn add_service_endpoint<T: Config>(service_endpoint: DidEndpoint<T>)
Expand description
Add a new service endpoint under the given DID.
The dispatch origin must be a DID origin proxied via the
submit_did_call
extrinsic.
Emits DidUpdated
.
Weight: O(1)
- Reads: [Origin Account], Did, ServiceEndpoints, DidEndpointsCount
- Writes: Did, ServiceEndpoints, DidEndpointsCount
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::add_service_endpoint
.