We have added new Impacts Section to display Primary/Secondary Impacts token details in Trustchain:
In the case when multiple linked mint blocks are used then the system displays all linked VPs as shown below:
3. Token Transfer Section
Token transfer, which shows how much tokens is already transferred (will display only when transfer is needed)
{
"hash": "BV4VxNEGvBjodqZ6KWCoV6r4xks4LYSGu8mjWyXLLX52",
"data": {
"vpDocument": {
"type": "VP",
"title": "Verifiable Presentation",
"tag": "mint_token",
"hash": "BV4VxNEGvBjodqZ6KWCoV6r4xks4LYSGu8mjWyXLLX52",
"issuer": "did:hedera:testnet:7Q9aPi8rEhceMGMqviCdya9APf515YVbtiyjHrHYPh5N_0.0.3075949",
"username": "Virtual User 1",
"document": {
"_id": "63da2203db84efbb04da45a7",
"dryRunId": "63da04e19670adb07f82b092",
"dryRunClass": "VpDocumentCollection",
"owner": "did:hedera:testnet:7Q9aPi8rEhceMGMqviCdya9APf515YVbtiyjHrHYPh5N_0.0.3075949",
"hash": "BV4VxNEGvBjodqZ6KWCoV6r4xks4LYSGu8mjWyXLLX52",
"document": {
"id": "urn:uuid:0bb9966d-bbce-4e7d-a943-21c7d6283adc",
"type": [
"VerifiablePresentation"
],
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"verifiableCredential": [
{
"id": "urn:uuid:7aeb978a-01bf-4ceb-be52-33997832e32d",
"type": [
"VerifiableCredential"
],
"issuer": "did:hedera:testnet:9jShvNUsztLFbvEK442VPfkccLYW3F2oU3e6rCHzr7FT_0.0.3075949",
"issuanceDate": "2023-02-01T08:25:38.804Z",
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"credentialSubject": [
{
"field0": "did:hedera:testnet:7Q9aPi8rEhceMGMqviCdya9APf515YVbtiyjHrHYPh5N_0.0.3075949",
"field1": "did:hedera:testnet:EHXwuE486eSD4yGXr6qTNLstmb8H1B2Jn4kx3PeWZzjv_0.0.1675232535045",
"field2": {
"field0": "Organization Name",
"type": "dee7e78b-44b8-4bb0-8be0-3a86bde752b2",
"@context": []
},
"field3": {
"field0": "device1",
"type": "b61a05c6-bb1a-4d7e-9299-c0932d8c0306",
"@context": []
},
"field6": "2023-02-01",
"field7": 1,
"field8": "2023-02-01",
"field17": "StandardRegistry",
"field18": "0.0.3075944",
"policyId": "63da04e19670adb07f82b092",
"ref":
"did:hedera:testnet:EHXwuE486eSD4yGXr6qTNLstmb8H1B2Jn4kx3PeWZzjv_0.0.1675232535045",
"@context": [
"schema#80b8a663-8dec-411f-83fd-6e4cb7170427"
],
"id": "urn:uuid:bdc30a12-443f-43a1-b1ff-05fdb4d39017",
"type": "80b8a663-8dec-411f-83fd-6e4cb7170427"
}
],
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-02-01T08:25:38Z",
"verificationMethod": "did:hedera:testnet:9jShvNUsztLFbvEK442VPfkccLYW3F2oU3e6rCHzr7FT_0.0.3075949#did-root-key",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..hcXXdjwaicZzXlUraPIaQqEpMkt9tRYJWAEMX8j8ipXUcrh1dgTDeHxHmVfxOrpOaxqgoo2Sf2VltQi8FRjvBA"
}
},
{
"id": "urn:uuid:c6ae4294-bd77-43ec-9389-f0c1a9bbc830",
"type": [
"VerifiableCredential"
],
"issuer": "did:hedera:testnet:9jShvNUsztLFbvEK442VPfkccLYW3F2oU3e6rCHzr7FT_0.0.3075949",
"issuanceDate": "2023-02-01T08:25:38.920Z",
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"credentialSubject": [
{
"date": "2023-02-01T08:25:38.917Z",
"tokenId": "0.0.3120996",
"amount": "1",
"@context": [
"ipfs://bafkreib67gunqam5jcv6xx3ioapfzyrnvte5wvpmcq56emso5acckercae"
],
"type": "MintToken"
}
],
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-02-01T08:25:38Z",
"verificationMethod":
.....
A new variable projectId will be created which would be assigned the value from document.credentialSubject.0.ref.