Using Dynamic URL Parameters in TaoDex
Official Guide for Builders, Validators, and Subnet Owners
Last updated
Official Guide for Builders, Validators, and Subnet Owners
Last updated
This guide explains how builders, validators, and subnet owners can use dynamic URL parameters on to interact with the platform effectively.
With these parameters, you can predefine the input and output subnets, as well as select a validator dynamically, making it easier to share specific links and automate actions.
TaoDEX supports the following URL parameters:
inputNetuid
: Represents the netuid of the input subnet.
outputNetuid
: Represents the netuid of the output subnet.
validator
: Represents the validator's SS58 address.
⚠️ Important Rules:
Only one of inputNetuid
or outputNetuid
can be set at a time.
If inputNetuid
is set, outputNetuid
must be empty, and vice versa.
The URL dynamically updates as users interact with the UI.
To preselect an input subnet with netuid=8
:
To preselect an output subnet with netuid=8
:
To preselect a validator with RoundTable21
:
Setting both an output subnet and a validator:
URL Updates Dynamically
As users change subnets or validators, the URL updates automatically.
Clicking "Switch" will swap input and output subnets while maintaining the correct URL structure.
Sharing Links
Users can copy and share the URL to direct others to the same subnet and validator selection.
Developers & Integrations
Projects can integrate TaoDEX with predefined URLs for seamless user experience.
If both inputNetuid
and outputNetuid
appear, one must be removed manually.
If switching input and output doesn't reflect in the URL, refresh the page and try again.
For support, contact us.
Happy Trading!
Hotkeyswap's TAO DEX dynamic URL system enhances usability, making it easy for traders, validators, and subnet owners to share specific configurations. Start using the URLs today at !