Mint the user's URID
Mints the URID NFT for a new user (account status must be Na). Requires GeeTest verification fields. The tokenId header carries the pre-generated URID.
The user's URID (NFT token id).
Network identifier: 5000 for mainnet, 5003 for testnet.
User's Ethereum wallet address.
GeeTest verification session ID.
GeeTest verification output result.
GeeTest pass token.
GeeTest generation timestamp (seconds).
NFT image (Base64). Optional.
Background color (hex). Optional.
Land information. Optional.
Response envelope. For the user API, retCode 0 means success; for the partner API, code 0 means success. Business rejections return HTTP 200 with a non-zero code.
Standard response envelope for the user API (api.ur.app).
0 on success; non-zero indicates failure.
Human-readable message; error details when retCode is non-zero.
Business payload. Shape depends on the endpoint; some endpoints return it as a JSON-encoded string.
Server timestamp in milliseconds.
POST /api/v1/mint HTTP/1.1
Host: api.ur.app
tokenId: text
network: text
Content-Type: application/json
Accept: */*
Content-Length: 150
{
"address": "text",
"lotNumber": "text",
"captchaOutput": "text",
"passToken": "text",
"genTime": "text",
"image": "text",
"backGroundColor": "text",
"land": "text"
}Response envelope. For the user API, retCode 0 means success; for the partner API, code 0 means success. Business rejections return HTTP 200 with a non-zero code.
{
"retCode": 0,
"retMsg": "success",
"result": "{\"tokenId\":\"12345\",\"txHash\":\"0xabc...\"}",
"timeNow": 1703123456789
}Last updated