Open Referendum

How to generate an App Link that opens a specific referendum in Nova Wallet!

App Links allow you to generate a hyperlink that when used will direct users to a specific referendum within Nova Wallet.

Parameters

When creating an App Link to open a specific referendum you should adjust the following parameters:

chainId – this is the network genesis hash without the "0x" prefix. The chain's governance should be supported by Nova Wallet

id – referendum ID number

type – 0 = OpenGov / 1 = Gov1

This is how you format App Links so that when a user clicks this link they will be directed to the specific referendum within Nova Wallet.

App Links to open the details of a specific referendum are formatted as such:

https://app.novawallet.io/open/gov?chainId={genesis_hash}&id={referendum_number}&type={optional_numeric_type_of_governance}

Here is an example of an App Link that will open Polkadot OpenGov referendum #302.

https://app.novawallet.io/open/gov?chainId=91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3&id=302&type=0

Now that you have your App Link you can make a QR code containing its data, which when scanned with a user's mobile phone will open that specific referendum in their Nova Wallet. You can use a site such as QRCode Monkey to generate these QR codes easily.

Last updated