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=transaction
  • action: Use transaction for 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 to

  • params: Array of params to be used on the contract

  • methods: Methods to be used for the transaction

  • external_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 false

  • txhash: Hash of the transaction

  • usr: User ID

  • wlt: Wallet Address of the user

Last updated