Skip to main content

identity_handler

Function identity_handler 

Source
pub async fn identity_handler(
    __arg0: State<Arc<NodeState>>,
) -> impl IntoResponse
Expand description

Handler for GET /scp/dev/v1/identity.

Returns an IdentityResponse with the node operator’s DID string and full DID document.

See spec section 18.10.3.