3. Ví dụ metadata JSON
3. Sample metadata JSON
{
"name": "IAI Genesis Pass • Nguyễn Văn A",
"description": "Metadata xác minh vai trò và provenance cho hệ sinh thái IAI.",
"external_url": "https://nft.iai.one/?collection=iai-genesis-pass&token=DEMO-0001",
"attributes": [
{ "trait_type": "Bộ sưu tập", "value": "IAI Genesis Pass" },
{ "trait_type": "Mạng", "value": "Base / EVM" },
{ "trait_type": "Hash nội dung", "value": "sha256:demo-proof" },
{ "trait_type": "Ví nhận", "value": "0x1234...abcd" }
],
"properties": {
"collection_slug": "iai-genesis-pass",
"token_id": "DEMO-0001",
"proof": {
"content_hash": "sha256:demo-proof",
"proof_url": "https://nft.iai.one/docs/verification/"
}
}
}
4. Issuance payload tối thiểu
4. Minimum issuance payload
{
"collection": "iai-knowledge-certificates",
"recipientName": "Nguyễn Văn A",
"walletAddress": "0x1234...abcd",
"contentHash": "sha256:lesson-proof",
"proofUrl": "https://docs.iai.one/lessons/truth-and-provenance",
"externalId": "IAI-LSN-2026-0042",
"title": "Truth and Provenance Completion"
}
Payload này có thể gửi trực tiếp tới /api/issuance-preview để lấy metadata thật, checklist và mức độ sẵn sàng mint.
This payload can be sent directly to /api/issuance-preview to obtain real metadata, the issuance checklist, and mint readiness.