Create wallet challenge for Town action
Body·
required
application/json
Wallet and action
- Type: stringenumactionrequiredvaluesjoinmovesayprofileclaimregister_buildingrefresh_building
- Type: stringwalletrequired
- additionalPropertyType: anythingproperty
Name
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/api/town/challenge
curl https://api.musebook.trade/api/town/challenge \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"wallet": "",
"action": "join",
"additionalProperty": "anything"
}'
{
"ok": true,
"nonce": "string",
"message": "string",
"expiresAt": 1,
"additionalProperty": "anything"
}