-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
URI Formatting
jenniferberger edited this page Nov 13, 2017
·
6 revisions
URIs are useful for easy payment solutions, especially for the use of merchandising purposes by generating QR codes from the specification-regulated protocol scheme described below.
ts syntax follows RFC 3986. See URI scheme for explanation. Spaces must be x-www-urlencoded as %20
.
monero: [address <string>]
The following parameters can be optionally appended to the resulting URI:
Parameter | Type | Kind | Description |
---|---|---|---|
address | String | hierarch. | The raw address (or the openalias?). |
tx_payment_id | String | ? | The proposed payment ID of the transaction. |
recipient_name | String | ? | The proposed contact name of the recipient. |
tx_amount | Float | query | The proposed amount of the transaction in atomic currency units. |
tx_description | String | fragment | Describes the transaction which should be initiated. |
p_v_key | String | hex | The view key of a wallet. |
p_s_key | String | hex | The spend key of a wallet. |
p_min_height | Int | number | The height when the wallet was created. |
p_seed | String | text | The seed to restore the wallet. |
Thus the resulting URI may look something like this:
monero:46BeWrHpwXmHDpDEUmZBWZfoQpdc6HaERCNmx1pEYL2rAcuwufPN9rXHHtyUA4QVy66qeFQkn6sfK8aHYjA3jk3o1Bv16em?tx_amount=239.39014&tx_description=donation