Backend is used by the Phygital App to create, mint, transfer and verify ownership of phygitals in a user-friendly way by utilizing an app specific key manager controller. This way the user does not have to sign every transaction manually on the browser. But before the backend can execute the transactions for the requesting universal profile, the necessary permissions must be set through the Frontend. Furthermore the Frontend must login the Universal Profile with Log-In With UP to retrieve a JWT (valid for 24 hours) to send authenticated universal profile bound requests to the backend.
- Testnet: https://phygital-backend.tuszy.com
0xAc11803507C05A21daAF9D354F7100B1dC9CD590
{
"universal_profile_address": string,
"signature": string,
"hash": string
}
{
"token": string
}
{
"error": string | array
}
NO CONTENT BODY
{
"message": "success"
}
{
"error": string | array
}
{
"error": "Authentication session expired"
}
{
"phygital_asset_contract_address": string,
"phygital_address": string,
"phygital_signature": string,
}
{
<transaction receipt>
}
{
"error": string | array
}
{
"error": "Authentication session expired"
}
{
"to_universal_profile_address": string,
"phygital_asset_contract_address": string,
"phygital_address": string,
"phygital_signature": string
}
{
<transaction receipt>
}
{
"error": string | array
}
{
"error": "Authentication session expired"
}
{
"phygital_asset_contract_address": string,
"phygital_address": string,
"phygital_signature": string,
}
{
<transaction receipt>
}
{
"error": string | array
}
{
"error": "Authentication session expired"
}
{
"name": string,
"symbol": string,
"phygital_collection": string[],
"metadata": LSP2JSONURL,
"base_uri": string
}
{
"contractAddress": string
}
{
"error": string | array
}
{
"error": "Authentication session expired"
}