Web3 Provider Integration (Solana)
Getting Encrypted User IDs From your Web App
Register Push Notification
if (window.solana && window.solana.isBlocto) {
try {
let encryptedUserId = await window.solana.request({
method: 'registerPushNotification',
params: {
appId: '{appId}'
}
})
// send encryptedUserId to your backend
} catch(e) {
// error handling
// e.mesage: see the below
}
}PreviousWeb3 Provider Integration - Ethereum / Arbitrum / Optimism / Polygon / BSC / AvalancheNextDecrypt User ID
Last updated
Was this helpful?