The Mini Program Browser Service is a service from Ant Blockchain that allows Alipay end users to view data on Ant Blockchain.
With authorization from the consortium administrator, individual end users can use the Alipay client or the Ant Blockchain Browser mini program to scan a QR code and view transaction records on the blockchain.
Usage instructions
You can use the browser mini program feature to customize how product data is displayed. You can also grant permissions to Alipay end users through the mini program browser query permission feature. Authorized users can then view transaction information on the corresponding blockchain.
The Mini Program Browser Service is not currently available on Alibaba Gov Cloud.
If you have questions, join our DingTalk group for discussion: 23115110.
Customize business data display
You can use smart contracts to customize the display of product data, such as product properties. For an example of how customized product data is displayed in the mini program, see Use on the Ant Blockchain Browser mini program. A contract template in the Solidity language is available. Click to download the template.
For related transactions, the contract template lets you link to the previous transaction. A developer configures the hash of the previous transaction. The end user can then click View Previous on the mini program browser page to view the associated transaction.
If the hash is not configured or is configured incorrectly, such as being set to the current transaction, the View Previous button does not work.
Transaction QR code display
The transaction details page for a blockchain in the BaaS console displays a QR code for the transaction. This QR code can also be obtained through an API. For more information, see the API list at the end of this topic.

Alipay end user authorization
Only consortium administrators can perform authorization operations.
Consortium administrators can grant authorization to Alipay accounts. Authorized accounts can then use the Ant Blockchain Browser Alipay mini program to scan the QR code on an Ant Blockchain transaction details page. This allows them to view the transaction information on the blockchain within the Alipay mini program.
To grant authorization:
Log on to the Alibaba Cloud BaaS console. After you enter the consortium, select the desired chain and click the Manage button. In the navigation pane on the left, select Mini Program Browser Query Permission to go to the authorization page.
Click Grant Now. Two authorization methods are currently supported:
Grant to specified Alipay accounts: After you enter a mobile phone number, all Alipay accounts associated with that number can scan the transaction QR codes on this blockchain.
Grant to all Alipay accounts: All Alipay accounts can scan the transaction QR codes on this blockchain.
Do not grant (feature not enabled): If authorization is not required, select Do not grant (feature not enabled). This disables Alipay account queries for this blockchain.
After you grant authorization, the Mini Program Browser Query Permission page displays statistics for the administrator to review. These statistics include authorized Alipay accounts, querying Alipay accounts, and the number of queries. You can click the Modify button to change the authorization method.
Use on the Ant Blockchain Browser mini program
Authorized end users can scan a transaction QR code on the blockchain using the Alipay client. They can also open the Ant Blockchain Browser mini program and scan the QR code there. This confirms that the transaction record is on Ant Blockchain and displays the transaction content. The basic blockchain information is displayed as follows:



API list
The Ant Blockchain BaaS platform provides the following APIs for the Mini Program Browser Service:
The following APIs are not currently available on Alibaba Gov Cloud.