Overview
Wallet verification is the first step in the risk assessment process. The system queries the XRPScan API to retrieve:- Account verification status
- Associated domain name
- Twitter handle
- Current XRP balance
- Initial balance at account creation
Verification process
Enter wallet address
Users input an XRP wallet address in the Streamlit interface. The address should be in the classic format (starting with ‘r’).Example:
rMdG3ju8pgyVh29ELPWaDuA74CpWW6FxnsVerification fields
Domain verification
Domain verification
The
domain field indicates the website associated with the wallet address. This is crucial for web crawling and business intelligence gathering.- Format: Domain name without protocol (e.g.,
example.com) - Usage: Used to construct the URL for web crawling:
https://{domain} - Required: Yes - risk assessment cannot proceed without a domain
Verified status
Verified status
The
verified boolean indicates whether XRPScan has verified the account’s identity.- True: Account has been verified by XRPScan
- False: Unverified account
- Impact: Displayed in the final risk report
Twitter handle
Twitter handle
The associated Twitter/X account for the wallet owner.
- Format: Twitter username (e.g.,
@company) - Required: Yes - used as an indicator of legitimacy
- Usage: Displayed in account information summary
Balance information
Balance information
Two balance fields are retrieved:
- xrpBalance: Current XRP balance in the wallet
- initial_balance: Balance when the account was first activated
- Usage: Both values are displayed in the risk assessment report
Error handling
The verification process handles several error conditions:- Missing accountName
- Incomplete data
- API failure
If the API response doesn’t include Result: “No info” error displayed to user
accountName, the wallet is not registered or has no associated identity:Integration with risk assessment
Once verification succeeds, the retrieved data flows into the risk assessment pipeline:- Domain → Web crawler extracts business information
- Company name → Extracted from domain, used in AI prompts
- Verification status → Included in final risk report
- Balance data → Displayed alongside compliance analysis
- Twitter → Social proof indicator in the report
The verification step is mandatory. If verification fails, the risk assessment process stops immediately and the user is prompted to try a different wallet address.