Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ucan.rootIssuer

Given a UCAN, lookup the root issuer.

Throws when given an improperly formatted UCAN. This could be a nested UCAN (ie. proof).

function rootIssuer(ucan: string | Ucan, level?: number): string;
§
rootIssuer(ucan: string | Ucan, level?: number): string
[src]

§Parameters

§
ucan: string | Ucan
[src]

A UCAN.

§
level?: number optional
[src]

§Return Type

§
string
[src]

The root issuer.