MiniKit.attestation() to request an app attestation token for a request hash.
Availability
- Works natively in World App
- Supports a custom fallback outside World App
Basic Usage
Result
Fallback Behavior
Use a customfallback if you want equivalent behavior outside World App.
Error Codes
| Code | Meaning |
|---|---|
unauthorized | The request is not authorized |
attestation_failed | Attestation generation failed |
integrity_failed | Integrity checks failed |
invalid_input | The request hash is invalid |
unsupported_version | The command version is not supported |