Extra object

The extra object

You can use the extra object to pass multiple wallets to the widget. The extra object only works with the widget initialiser library; if you are using the code generated from the tuner you will not be able to pass multiple wallets to the widget.

The options you will need to pass to the object are:

PropertyDescriptionData Type
nameThe name of the cryptocurrency being used.String
blockchainThe network of the cryptocurrency.String
addressThe user's wallet address on the specified network.String

Constructing the extra object

An example of using of the wallets object to pass an Ethereum wallet to the widget is shown below:

wallets: [
      name: 'ETH', // case-ignored
      blockchain: 'Ethereum', // case-ignored
      address: '0x0000000000000000000000000000000000000000',

Documentation related to this page