ISCN Widget Reference
ISCN web widget API Reference
Formatting the widget URL
Base URL
Testnet: https://testnet.like.co/in/widget/iscn
Production: https://like.co/in/widget/iscn
Input Params
Query String | Description |
---|---|
language | Force UI display locale, options are |
fingerprint | IPFS hash of content, cid v0 |
type | Type of content, default is |
tags | (optional) list of tags separated by comma |
title | Title of the content |
license | License of the content. Fixed as CCSA 4.0 for now if |
url | URL of the content |
publisher | (optional) name of the platform if your content was published through a platform. Currently only |
state | (optional) local state to be passed back after signing success, used for data/security purpose |
redirect_uri | (optional) Act as a whitelist host for postMessage, actual redirect is not implemented, please use with |
opener | (optional) default false. If set, would fire a |
blocking | (optional) default false, wait until transaction is confirmed before finishing |
Output Params
Query String | Description |
tx_hash | transaction hash of resulting payment, verify status using transaction status query API |
error | set if any catchable error occur |
success | only if |
state | locale state that was passed as input, used for data/security purpose |
PostMessage format
if opener
and redirect_uri
is set, the widget would fire a postMessage
to redirect_uri
's origin.
Example Link
Following links are in testnet.
Input Link:
Tx Status Query:
Last updated