Overview
Connect your dapp to the Varial mobile app using the WalletConnect v2 protocol. All methods follow the standard JSON-RPC 2.0 request/response format over a WalletConnect session.
Supported Chains
Network
Chain ID
Mainnet (PUBLIC)
stellar:pubnet
Testnet
stellar:testnet
API Reference
Error Handling
All error responses use JSON-RPC 2.0 format with code 5000:
{
"id": 1234567890,
"jsonrpc": "2.0",
"error": {
"code": 5000,
"message": "User rejected the request"
}
}Security
The Varial mobile app uses Blockaid scanning to protect users:
Scan type
When it runs
Site scan
Once during WalletConnect session connection
Transaction scan
For stellar_signXDR and stellar_signAndSubmitXDR requests
stellar_signMessage and stellar_signAuthEntry do not trigger additional scans — the site was already scanned during connection.
See also
Last updated
Was this helpful?