Transaction (WIP)
1. Configure Smart Contract on Engage
2. Redirect or load Iframe
We should redirect or load iframe (redirect is recommended) our user to:
https://wallet.dp.wallettwo.com/auth/login?action=transactionaction: Usetransactionfor this example. On interactions group you can find all what you can do.redirect_uri: Url where user should be redirected to after success or error.address: Contract addresses which you'll send txs toparams: Array of params to be used on the contractmethods: Methods to be used for the transactionexternal_ids: Input a custom IDs for this transaction.
3. Process callback/event
After user has finished the transaction successfully or not he'll be redirected or event will be send containing the following information:
success: True or falsetxhash: Hash of the transactionusr: User IDwlt: Wallet Address of the user
Last updated