You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Obscuroscan.io currently provides an API for the front-end HTML page to call.
This currently requires the use of POST HTTP verbs. I propose that the API is changed to support GET verbs in the case of information retrieval, and that each resource (e.g. block / rollup / transaction) is assigned a URL which may be used to extract information about it.
So, for example, in order to retrieve information about a particular rollup, instead of the following
URL: http://testnet.obscuroscan.io/api/rollup/
Method: POST
Payload: 0xe8f7a811e3cdda3d04bc1a16e66f8a112c6f5d6ed4421c995932a1eb68eab004
Make it easier for app developers to link to Obscuroscan, and to particular resources, in order to demonstrate the power of Obscuro. For example, I'd like to link events being displayed in The Guessing Game ("Your guess was incorrect") to the corresponding transaction on Obscuroscan, where users could see both the encrypted and decrypted transaction details.
Obscuroscan.io currently provides an API for the front-end HTML page to call.
So, for example, in order to retrieve information about a particular rollup, instead of the following
URL: http://testnet.obscuroscan.io/api/rollup/
Method: POST
Payload: 0xe8f7a811e3cdda3d04bc1a16e66f8a112c6f5d6ed4421c995932a1eb68eab004
Clients could use the following
URL: http://testnet.obscuroscan.io/rollup/0xe8f7a811e3cdda3d04bc1a16e66f8a112c6f5d6ed4421c995932a1eb68eab004
Method: GET
Header: Accept: application/json or text/html
URL: http://testnet.obscuroscan.io/transaction/0xe8f7a811e3cdda3d04bc1a16e66f8a112c6f5d6ed4421c995932a1eb68eab004
Method: GET
Header: Accept: application/json or text/html
Reasons:
The text was updated successfully, but these errors were encountered: