Link Search Menu Expand Document

Wallet Mutations Element


The Wallet Mutations Element shows a list of mutations that have occurred on the specified wallet for a user.

Using the Wallet Mutations Element

To include a Wallet Mutations Element Element on a webpage do the following:

  • Add the following script tags at the top of the page
<script type="module" src=""></script>
<script type="module" src=""></script>
  • Add the Environment tag to the contents of the page (below the script tags). Include the Wallet Mutations Element within the Environment tag.
<spaaza-environment config="your_config_goes_here">
    <spaaza-wallet-mutations id="1234" loading="2"></spaaza-wallet-mutations>
    <!-- other Spaaza Elements and HTML goes here  -->

Element Properties

The following properties can be passed to the Wallet Mutations Element.

Property Description
loading (optional) By default a single mutation is shown as loading while waiting for a response from the Spaaza API. More can be shown by specifying the required number. To show no loading mutations set the value to 0.
id (required) The id of the wallet whose mutations for the user you want to show. You can find the id of the wallet in Spaaza Conssole when you view the wallet page.