URI and QR Standards - aaroncox/anchor GitHub Wiki

Operations

steem://create/tx/<base64_encoded_ops>#<base64_encoded_instructions>

base64_encoded_ops

An array of arrays, with each sub-array being an operation to sign.

Example:

[
  [
    "comment",
    {
      "author": "",
      "body": "",
      "json_metadata": "",
      "parent_author": "",
      "parent_permlink": "",
      "permlink": "",
      "title": ""
    }  
  ],
  [
    "comment_options",
    {
      "author": "",
      "permlink": "",
      "max_accepted_payout": "",
      "percent_steem_dollars": 10000,
      "allow_votes": false,
      "allow_curation_rewards": false,
      "extensions": ""
    }
  ]
]

base64_encoded_instructions

Application specific parameters (anchor in this instance). Used to configure the prompt interface to allow user interaction before the creation of a transaction. Ex: prompting a user for vote weight to use on a vote (if not specified in the operation).

Example using Anchor:

{
  "weight": {
    "prompt": true,
    "type": "percent",
    "label": "Vote Weight"
  }
}