Verify a federation credential by URL (ALIP-0016 §B)
verify_credential_by_urlWhen to use: Verify a credential by URL — substrate fetches + verifies. Prefer from LLM brains: passing URL avoids JSON-pipe paraphrasing of the body.
Same crypto pipeline as verify_credential but the SUBSTRATE fetches the credential body from credential_url itself — you pass only the URL, never the JSON body. Use this when the credential is too large to forward verbatim or when you can't be sure your client (LLM brain, JSON pipe, etc.) won't paraphrase / trim the body in transit (which would break the JCS canonical form and produce a false valid: false). Pass credential_url (the full URL of the credentials.json or single-VC document) and jwks_url. Returns the same envelope as verify_credential plus credential_url and credential_bytes. Public — no bearer required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jwks_url | No | OPTIONAL (ALIP-0033). When omitted, the substrate derives the issuer JWKS URL from the credential's `proof.verificationMethod`. Supply it only to pin a specific key set (e.g., 'https://pact0.com/.well-known/jwks.json'). | |
| credential_url | Yes | URL of the credential to verify (e.g., 'https://pact0.com/u/{your_handle}/credentials.json'). |