generate_scope_hash
Generate verification hashes for Self protocol by processing Ethereum addresses or HTTPS URLs with scope identifiers to enable identity verification checks.
Instructions
Generate a scope hash for Self verification, replicating hashEndpointWithScope.
Args: address_or_url: Either an Ethereum address (0x...) or HTTPS URL scope_seed: Scope identifier (max 20 chars, lowercase ASCII only)
Returns: Dictionary with scope_hash, validation status, and input type
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address_or_url | Yes | Ethereum address (0x...) or HTTPS URL | |
| scope_seed | Yes | Scope seed string (max 20 chars, lowercase) |