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
0xAc11803507C05A21daAF9D354F7100B1dC9CD590
{
"universal_profile_address": string,
"phygital_asset_contract_address": string,
"phygital_address": string,
"phygital_signature": string,
}
HTTP STATUS CODE 200
Content-Type: application/json
{
"transactionHash": string
}
HTTP STATUS CODE 400
Content-Type: application/json
{
"error": string | array
}
{
"universal_profile_address": string,
"to_universal_profile_address": string,
"phygital_asset_contract_address": string,
"phygital_address": string,
"phygital_signature": string
}
HTTP STATUS CODE 200
Content-Type: application/json
{
"transactionHash": string
}
HTTP STATUS CODE 400
Content-Type: application/json
{
"error": string | array
}
{
"universal_profile_address": string,
"phygital_asset_contract_address": string,
"phygital_address": string,
"phygital_signature": string,
}
HTTP STATUS CODE 200
Content-Type: application/json
{
"transactionHash": string
}
HTTP STATUS CODE 400
Content-Type: application/json
{
"error": string | array
}
{
"universal_profile_address": string,
"name": string,
"symbol": string,
"phygital_collection": string[],
"metadata": LSP2JSONURL,
"base_uri": string
}
HTTP STATUS CODE 200
Content-Type: application/json
{
"transactionHash": string
}
HTTP STATUS CODE 400
Content-Type: application/json
{
"error": string | array
}