doi_score_lookup
Retrieve a Depth-of-Identity score for a Nostr pubkey. Payment required via L402 challenge; returns a Schnorr-signed certificate.
Instructions
Fetch a Depth-of-Identity score for a Nostr pubkey from the PowForge oracle. Returns either an L402 challenge (macaroon + bolt11 invoice + price_sats) for the caller to pay, or a Schnorr-signed score envelope when paid auth is supplied. Pricing is 1-2 sats per call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pubkey": "<pubkey>"
},
"name": "doi_score_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pubkey | Yes | 64-hex Nostr pubkey or npub1... bech32 string | |
| auth | No | L402 paid auth. Omit on first call to receive the challenge. |