Skip to content

Instantly share code, notes, and snippets.

@dashameter
Created June 6, 2020 13:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dashameter/c356945e217857d4b573d0f089a1c07f to your computer and use it in GitHub Desktop.
Save dashameter/c356945e217857d4b573d0f089a1c07f to your computer and use it in GitHub Desktop.
Dash Platform Documentation

Deep-links

Platform console supports deep-links to contracts and search queries to share and bookmark onchain data.

A deep-link must include the contractId and may include additional query paramaters as shown below:

Link Structure

http://console.dashevo.io/#/platform/`${contractId}`/?`${QueryParams}`

Optional Query parameters

QueryParams Example Description
showcontract true If present, expands the contract editor
type PaymentRequest The document type, required to deeplink a search / query
querydocs true If present, starts a search with default or provided queryopts
queryopts %257B%2522limit%2522%253A1%252C%2 The URI encoded queryOpts e.g. in JavaScript: encodeURIComponent(JSON.stringify(queryOpts),

Example deeplinks

  1. Show expanded contract http://console.dashevo.io/#/platform/9FhqPBkmrmNkoUGw5qQgv7x6MUJJNNS4sfrTeUB1UsYk?showcontract=true
  1. Select Document Type and search with queryOptions http://console.dashevo.io/#/platform/9FhqPBkmrmNkoUGw5qQgv7x6MUJJNNS4sfrTeUB1UsYk?querydocs=true&type=Signup&queryopts=%257B%2522limit%2522%253A10%252C%2522startAt%2522%253A1%252C%2522orderBy%2522%253A%255B%255B%2522unixTimestamp%2522%252C%2522desc%2522%255D%255D%252C%2522where%2522%253A%255B%255B%2522accountDocId%2522%252C%2522%253D%253D%2522%252C%25222Pz2pbZUVmYGv3t25ERY6BZKv8xTU67ZoqhRpsGgju3H%2522%255D%255D%257D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment