MetaHash provides new functionality - MetaPay. This option allows you to go to the execution of transactions in MetaGate from the browser using the link with a special scheme.
The link to the site has the following format:
where in get-parameters are the following fields:
to- the address of the recipient;
description - description of the transaction in a readable form;
data - data attached to the transaction, which must be signed with the sender's private key;
value - amount to send.
currency - currency parameter (by default tmh, you can explicitly set mhc)
Example with #MHC:
After clicking on the site on the link described above, the MetaGate window opens, where you can complete the transaction.
Please note: this functionality is available in MetaGate version 1.19.0 and higher. Pre-upgrade your MetaGate to the correct version.
The following transfer details are displayed in the Payment Request window that opens:
Pay to - the address of the recipient (the contents of the get-parameter to in the MetaPay link);
Vendor - it is the name of the seller if it is on the list of sellers known to MetaHash. If the seller is not on the MetaHash list yet, here will be written Unknown;
Date - the date the transfer was made by clicking;
Order - the contents of the data get-parameter in the MetaPay link, in HEX format up to 32 characters;
Notes - a description of the translation, the contents of the get-description parameter in the MetaPay link. The description is converted to the form available for the correct execution of the transaction: only text, spaces and punctuation marks are left, all other characters are deleted;
Amount - the amount of the transfer, the contents of the get-parameter value in the MetaPay link.
If all fields are specified correctly, then to perform this transaction, you need to set the wallet from which to make the transfer (Pay from wallet) and click the Continue button.
Updated over 2 years ago