VC Summary

This page summarises the currently supported assertions that can be used from the client/consumer point of view, with the relevant parameter for each assertion.

Assertion – XXX Holding Time

Description: The length of time a user continues to hold a particular token (with a particular threshold of token amount)

Variables: $minimum_amount, $from_date, $to_date

Supported Networks: Ethereum, Litentry, Litmus

Data Provider: Achainable

{"@context":["https://www.w3.org/2018/credentials/v1","https://w3id.org/security/suites/ed25519-2020/v1"],"id":"0x68729999d892012cc27111ab4fdfef6f207685c1199404e0b1620fc1e02420a3","type":["VerifiableCredential"],"credentialSubject":{"id":"did:litentry:substrate:0xd4e35b16ec6b417386b948e7eaf5cc642a243096cecf366e6313689b90969f42","description":"The length of time a user continues to hold a particular token (with particular threshold of token amount)","type":"LIT Holding Time","assertionText":"A4(BoundedVec([108, 105, 116], 64))","assertions":[{"and":[{"src":"$minimum_amount","op":"==","dst":"lit"},{"src":"$from_date","op":"<","dst":"2017-01-01"},{"src":"$to_date","op":">=","dst":"2024-03-28"}]}],"values":[false],"endpoint":"http://localhost:9933"},"issuer":{"id":"did:litentry:substrate:0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96","name":"Litentry TEE Worker","mrenclave":"8zAec5EFjQWgpkUcjVxCf4NoAit6PweQf5seqeRYhbJK"},"issuanceDate":"2024-03-28T08:21:50.223144565+00:00","parachainBlockNumber":1081,"sidechainBlockNumber":2178,"proof":{"created":"2024-03-28T08:21:50.223828316+00:00","type":"Ed25519Signature2020","proofPurpose":"assertionMethod","proofValue":"0d2a54e916af1ca2c976d0c9bdeb0fd99680f096d313aa6ba2e3e6cdd1cefce4fcace557d9b5072a31bc77678023a482fef5d3fc0d7a4bd0e92a6b3c0166a102","verificationMethod":"0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96"},"credentialSchema":{"id":"https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/4-token-holding-time/1-0-0.json","type":"JsonSchemaValidator2018"}}

All Types: LIT, DOT, WBTC, ETH

Assertion - EVM/Substrate Transaction Count

Description: Gets the range of the number of transactions a user has made for a specific token on all supported networks (invalid transactions are also counted)

Variables: $network, $total_txs

Supported Networks: litentry, litmus, polkadot, kusama, khala, ethereum

Data Provider: Achainable

VC JSON Example:

{"@context":["https://www.w3.org/2018/credentials/v1","https://w3id.org/security/suites/ed25519-2020/v1"],"id":"0xba71d3803e4ff2cc738de2639ba902c2e252f88e2baf291931b4485d0d73c78e","type":["VerifiableCredential"],"credentialSubject":{"id":"did:litentry:substrate:0xd4e35b16ec6b417386b948e7eaf5cc642a243096cecf366e6313689b90969f42","description":"Gets the range of number of transactions a user has madex for a specific token on all supported networks (invalid transactions are also counted)","type":"EVM/Substrate Transaction Count","assertionText":"A8(BoundedVec([Ethereum], 128))","assertions":[{"and":[{"src":"$total_txs","op":">=","dst":"20"},{"src":"$total_txs","op":"<","dst":"50"},{"or":[{"src":"$network","op":"==","dst":"Ethereum"}]}]}],"values":[true],"endpoint":"http://localhost:9933"},"issuer":{"id":"did:litentry:substrate:0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96","name":"Litentry TEE Worker","mrenclave":"8zAec5EFjQWgpkUcjVxCf4NoAit6PweQf5seqeRYhbJK"},"issuanceDate":"2024-03-26T17:42:39.459470772+00:00","parachainBlockNumber":2170,"sidechainBlockNumber":4399,"proof":{"created":"2024-03-26T17:42:39.460308009+00:00","type":"Ed25519Signature2020","proofPurpose":"assertionMethod","proofValue":"af47f6d20f55aac53d8cf9a4a7163684f2cb250d79c610d5ab1d5cb1419c5f92925bf3a5c2abad214c9915056683203219686a131c53de85c1ddfcabf049510f","verificationMethod":"0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96"},"credentialSchema":{"id":"https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/7-evm-substrate-transaction-count/1-0-0.json","type":"JsonSchemaValidator2018"}}

Assertion - Polkadot Governance Participation Proof

Description: The user has participated in any Polkadot on-chain governance events

Variables: $total_governance_action

Supported Networks: Polkadot

Data Provider: tdf-labs

VC JSON Example:

{"@context":["https://www.w3.org/2018/credentials/v1","https://w3id.org/security/suites/ed25519-2020/v1"],"id":"0xa7e73e9eb5fac3b807c4f15c5409d896d2167c2adae46b938ee590abd864a9a6","type":["VerifiableCredential"],"credentialSubject":{"id":"did:litentry:substrate:0xd4e35b16ec6b417386b948e7eaf5cc642a243096cecf366e6313689b90969f42","description":"The user has participated in any Polkadot on-chain governance events","type":"Polkadot Governance Participation Proof","assertionText":"A14","assertions":[{"src":"$total_governance_action","op":">","dst":"0"}],"values":[false],"endpoint":"http://localhost:9933"},"issuer":{"id":"did:litentry:substrate:0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96","name":"Litentry TEE Worker","mrenclave":"8zAec5EFjQWgpkUcjVxCf4NoAit6PweQf5seqeRYhbJK"},"issuanceDate":"2024-03-26T17:45:15.537026268+00:00","parachainBlockNumber":2183,"sidechainBlockNumber":4425,"proof":{"created":"2024-03-26T17:45:15.537475550+00:00","type":"Ed25519Signature2020","proofPurpose":"assertionMethod","proofValue":"eaff87a5a04fe649233df328fba6c71c5fc1f46d70ad1df49e55698f9d7ca4c75763a2fe51e6cf9c82d5107a0e4c795361d8c1a75cd42e60d06fd4bc7a3b7902","verificationMethod":"0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96"},"credentialSchema":{"id":"https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/9-polkadot-governance-participation-proof/1-0-0.json","type":"JsonSchemaValidator2018"}}

Assertion - IDHub EVM Version Early Bird

Description: The user is an early bird user of the IdentityHub EVM version and has generated at least 1 credential during 2023 Aug 14th ~ Aug 21st.

Variables: $has_joined

Supported Networks: All Web3 networks

Data Provider: IdentityHub

VC JSON Example:

{"@context":["https://www.w3.org/2018/credentials/v1","https://w3id.org/security/suites/ed25519-2020/v1"],"id":"0x1e285eb53ed0ce8b156771c88ca3e4fad882ea4f1ebb42db062ef6d5fa4c5a20","type":["VerifiableCredential"],"credentialSubject":{"id":"did:litentry:substrate:0xd4e35b16ec6b417386b948e7eaf5cc642a243096cecf366e6313689b90969f42","description":"The user is an early bird user of the IdentityHub EVM version and has generated at least 1 credential during 2023 Aug 14th ~ Aug 21st.","type":"IDHub EVM Version Early Bird","assertionText":"A20","assertions":[{"src":"$has_joined","op":"==","dst":"false"}],"values":[false],"endpoint":"http://localhost:9933"},"issuer":{"id":"did:litentry:substrate:0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96","name":"Litentry TEE Worker","mrenclave":"8zAec5EFjQWgpkUcjVxCf4NoAit6PweQf5seqeRYhbJK"},"issuanceDate":"2024-03-26T17:50:58.014405841+00:00","parachainBlockNumber":2211,"sidechainBlockNumber":4482,"proof":{"created":"2024-03-26T17:50:58.015551791+00:00","type":"Ed25519Signature2020","proofPurpose":"assertionMethod","proofValue":"5082576a59de703064074753dc2ed15c3573ff09d04ea4fdf90ae1f82e49597d9332e8fca1fa7159514890c4161a4b3e55735fc2ce52195173055695f3e69506","verificationMethod":"0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96"},"credentialSchema":{"id":"https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/12-idhub-evm-version-early-bird/1-0-0.json","type":"JsonSchemaValidator2018"}}

Assertion – BnbDomainHolding

Type: BNB domain holding amount

Description: The amount of bnb domain you are holding

Variables: $bnb_domain_holding_amount

Supported Networks: Bsc

Data Provider: Nodereal

VC JSON Example:

{"@context":["https://www.w3.org/2018/credentials/v1","https://w3id.org/security/suites/ed25519-2020/v1"],"id":"0x7441c68e8351f656b4524aecbe693e675db0d0bfb4624814433a6dbf2599f761","type":["VerifiableCredential"],"credentialSubject":{"id":"did:litentry:substrate:0xd4e35b16ec6b417386b948e7eaf5cc642a243096cecf366e6313689b90969f42","description":"The amount of .bnb domain you are holding","type":"bnb domain holding amount","assertionText":"BnbDomainHolding","assertions":[{"and":[{"src":"$bnb_domain_holding_amount","op":">=","dst":"0"},{"src":"$bnb_domain_holding_amount","op":"<","dst":"1"}]}],"values":[true],"endpoint":"http://localhost:9933"},"issuer":{"id":"did:litentry:substrate:0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96","name":"Litentry TEE Worker","mrenclave":"8zAec5EFjQWgpkUcjVxCf4NoAit6PweQf5seqeRYhbJK"},"issuanceDate":"2024-03-26T18:22:11.858154351+00:00","parachainBlockNumber":2365,"sidechainBlockNumber":4794,"proof":{"created":"2024-03-26T18:22:11.859212528+00:00","type":"Ed25519Signature2020","proofPurpose":"assertionMethod","proofValue":"0059e0fcd2f90a7f352134cfe6477ef2d99f7ef2f3dc72913080343cb2e33a8e149048143f60e80761899c0aabb5ee65d7eaac72f3dcdba0d3ca4a9b1fae1305","verificationMethod":"0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96"},"credentialSchema":{"id":"https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/15-bnb-domain-holding-amount/1-0-0.json","type":"JsonSchemaValidator2018"}}

Assertion - LITStaking

Type: LIT staking amount

Description: The amount of LIT you are staking

Variables: $lit_staking_amount

Supported Networks: Litentry

Data Provider: LitentryStaking

VC JSON Example:

{"@context":["https://www.w3.org/2018/credentials/v1","https://w3id.org/security/suites/ed25519-2020/v1"],"id":"0x5feead6dc08bcd207649011f2d1902dc4c00886eb4db1d28e55ad00665d25f57","type":["VerifiableCredential"],"credentialSubject":{"id":"did:litentry:substrate:0xd4e35b16ec6b417386b948e7eaf5cc642a243096cecf366e6313689b90969f42","description":"The amount of LIT you are staking","type":"LIT staking amount","assertionText":"LITStaking","assertions":[{"and":[{"src":"$lit_staking_amount","op":">=","dst":"0"},{"src":"$lit_staking_amount","op":"<","dst":"1"}]}],"values":[true],"endpoint":"http://localhost:9933"},"issuer":{"id":"did:litentry:substrate:0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96","name":"Litentry TEE Worker","mrenclave":"8zAec5EFjQWgpkUcjVxCf4NoAit6PweQf5seqeRYhbJK"},"issuanceDate":"2024-03-28T06:24:03.963696666+00:00","parachainBlockNumber":504,"sidechainBlockNumber":1000,"proof":{"created":"2024-03-28T06:24:03.964317995+00:00","type":"Ed25519Signature2020","proofPurpose":"assertionMethod","proofValue":"d88ac7bde2a0a696798b58b51e534709f2ced1442e9775efb38aa62f3bd6fb50206269ff914021c7db7e99bdcf05db6111c0f19411cffd1f5cc5143b65c5fb00","verificationMethod":"0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96"},"credentialSchema":{"id":"https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/17-token-holding-amount/1-0-0.json","type":"JsonSchemaValidator2018"}}

Assertion - WeirdoGhostGangHolder (use NftHolder instead)

Type: WeirdoGhostGang Holder

Description: You are WeirdoGhostGang NFT holder

Variables: $is_weirdo_ghost_gang_holder

Supported Networks: Ethereum

Data Provider: Nodereal

VC JSON Example:

{"@context":["https://www.w3.org/2018/credentials/v1","https://w3id.org/security/suites/ed25519-2020/v1"],"id":"0xfaaea2c3e4d10ddaf051257757f2b3aed39eae25e6bd42a4ae418e9cf49eb832","type":["VerifiableCredential"],"credentialSubject":{"id":"did:litentry:substrate:0xd4e35b16ec6b417386b948e7eaf5cc642a243096cecf366e6313689b90969f42","description":"You are WeirdoGhostGang NFT holder","type":"WeirdoGhostGang Holder","assertionText":"WeirdoGhostGangHolder","assertions":[{"src":"$is_weirdo_ghost_gang_holder","op":"==","dst":"true"}],"values":[false],"endpoint":"http://localhost:9933"},"issuer":{"id":"did:litentry:substrate:0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96","name":"Litentry TEE Worker","mrenclave":"8zAec5EFjQWgpkUcjVxCf4NoAit6PweQf5seqeRYhbJK"},"issuanceDate":"2024-03-28T05:32:28.212717082+00:00","parachainBlockNumber":249,"sidechainBlockNumber":484,"proof":{"created":"2024-03-28T05:32:28.213383910+00:00","type":"Ed25519Signature2020","proofPurpose":"assertionMethod","proofValue":"fbae6884b3bd2b225671594162d7f22414fdc7e2672b0340e0eae7100ff9ba5b7bf965eadd0caaaaae6838f591ad85821e056aa40bd8c941eb94e9f87e1b9d09","verificationMethod":"0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96"},"credentialSchema":{"id":"https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/18-weirdoghostgang-holder/1-0-0.json","type":"JsonSchemaValidator2018"}}

Assertion – EVMAmountHolding (use TokenHoldingAmount instead)

Type: Token Holding Amount

Description: The amount of a particular token you are holding

Variables: $token, $network, $address, $holding_amount

Supported Networks: Ethereum, Bsc

Data Provider: Nodereal

VC JSON Example:

{"@context":["https://www.w3.org/2018/credentials/v1","https://w3id.org/security/suites/ed25519-2020/v1"],"id":"0xd5e0bd13d04e53428212d0cdefe3f96d0a804e5127dfc7d2f50795fed45dbade","type":["VerifiableCredential"],"credentialSubject":{"id":"did:litentry:substrate:0xd4e35b16ec6b417386b948e7eaf5cc642a243096cecf366e6313689b90969f42","description":"The amount of a particular token you are holding","type":"Token Holding Amount","assertionText":"EVMAmountHolding(Ton)","assertions":[{"and":[{"src":"$token","op":"==","dst":"TON"},{"or":[{"and":[{"src":"$network","op":"==","dst":"ethereum"},{"src":"$address","op":"==","dst":"0x582d872a1b094fc48f5de31d3b73f2d9be47def1"}]},{"and":[{"src":"$network","op":"==","dst":"bsc"},{"src":"$address","op":"==","dst":"0x76a797a59ba2c17726896976b7b3747bfd1d220f"}]}]},{"src":"$holding_amount","op":">=","dst":"0"},{"src":"$holding_amount","op":"<","dst":"1"}]}],"values":[false],"endpoint":"http://localhost:9933"},"issuer":{"id":"did:litentry:substrate:0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96","name":"Litentry TEE Worker","mrenclave":"8zAec5EFjQWgpkUcjVxCf4NoAit6PweQf5seqeRYhbJK"},"issuanceDate":"2024-03-28T06:30:29.274402021+00:00","parachainBlockNumber":534,"sidechainBlockNumber":1064,"proof":{"created":"2024-03-28T06:30:29.275515948+00:00","type":"Ed25519Signature2020","proofPurpose":"assertionMethod","proofValue":"d3aa3f4559e240af22563cab31908d93b838d07ab11aebf19ce6e9bffb6a8740ed1f58281ae53059673158b1316980d51fd9d827fccf6e804c5b0fdc96444608","verificationMethod":"0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96"},"credentialSchema":{"id":"https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/21-evm-holding-amount/1-0-0.json","type":"JsonSchemaValidator2018"}}

Assertion - BRC20AmountHolder

Type: Token holding amount list

Description: The amount of a particular token you are holding

Variables: $holding_amount

Supported Networks: BitcoinP2tr

Data Provider: Geniidata

VC JSON Example:

{"@context":["https://www.w3.org/2018/credentials/v1","https://w3id.org/security/suites/ed25519-2020/v1"],"id":"0xbb6cd225ca73a2b6e41198b75f1bb3058a4d4a2f218cd2b976a3977e1a32cb99","type":["VerifiableCredential"],"credentialSubject":{"id":"did:litentry:substrate:0xd4e35b16ec6b417386b948e7eaf5cc642a243096cecf366e6313689b90969f42","description":"The amount of a particular token you are holding","type":"Token holding amount list","assertionText":"BRC20AmountHolder","assertions":[{"and":[{"src":"$token","op":"==","dst":"$ordi"},{"src":"$holding_amount","op":">=","dst":"100"},{"src":"$holding_amount","op":"<","dst":"200"}]},{"and":[{"src":"$token","op":"==","dst":"$rats"},{"src":"$holding_amount","op":">=","dst":"10000000"},{"src":"$holding_amount","op":"<","dst":"20000000"}]},{"and":[{"src":"$token","op":"==","dst":"$MMSS"},{"src":"$holding_amount","op":">=","dst":"1000"},{"src":"$holding_amount","op":"<","dst":"2000"}]}],"values":[true,true,true],"endpoint":"http://localhost:9933"},"issuer":{"id":"did:litentry:substrate:0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96","name":"Litentry TEE Worker","mrenclave":"8zAec5EFjQWgpkUcjVxCf4NoAit6PweQf5seqeRYhbJK"},"issuanceDate":"2024-03-28T06:34:00.287061295+00:00","parachainBlockNumber":552,"sidechainBlockNumber":1100,"proof":{"created":"2024-03-28T06:34:00.287716524+00:00","type":"Ed25519Signature2020","proofPurpose":"assertionMethod","proofValue":"121d3ab29c27151bb36baa5507eedb991c6991e815cc5e6060138959efdb81d20d291b592a35d1f907e64a748c23377cf216f3b7433e3bd6151acd51828cfa05","verificationMethod":"0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96"},"credentialSchema":{"id":"https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/20-token-holding-amount-list/1-0-0.json","type":"JsonSchemaValidator2018"}}

Assertion - CryptoSummary

Description: Generate a summary of your on-chain identity

Variables: $token, $network, $address, $holding_amount

Supported Networks: Ethereum, Bsc

Data Provider: Nodereal

VC JSON Example:

{"@context":["https://www.w3.org/2018/credentials/v1","https://w3id.org/security/suites/ed25519-2020/v1"],"id":"0xa4ba07c12e96360d49b2c876597f66641c14962c078134d1ded2eb81e8fb2d16","type":["VerifiableCredential"],"credentialSubject":{"id":"did:litentry:substrate:0xd4e35b16ec6b417386b948e7eaf5cc642a243096cecf366e6313689b90969f42","description":"Generate a summary of your on-chain identity","type":"IDHub Crypto Summary","assertionText":"CryptoSummary","assertions":[{"and":[{"src":"$total_txs","op":"==","dst":"1131002"},{"and":[{"src":"$kind","op":"==","dst":"TOKEN"},{"and":[{"src":"$network","op":"==","dst":"bsc"},{"and":[{"src":"$token_name","op":"==","dst":"BNB"},{"src":"$token_address","op":"==","dst":""}]}]}]},{"and":[{"src":"$kind","op":"==","dst":"NFT"}]}]}],"values":[true],"endpoint":"http://localhost:9933"},"issuer":{"id":"did:litentry:substrate:0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96","name":"Litentry TEE Worker","mrenclave":"8zAec5EFjQWgpkUcjVxCf4NoAit6PweQf5seqeRYhbJK"},"issuanceDate":"2024-03-28T06:38:38.959711369+00:00","parachainBlockNumber":574,"sidechainBlockNumber":1146,"proof":{"created":"2024-03-28T06:38:38.960312893+00:00","type":"Ed25519Signature2020","proofPurpose":"assertionMethod","proofValue":"98cebbe00071e6cd2968ae7b9ac34790c45c72ebfbafa206872767af5987c7808218ab85dab2aabbc4dbcecd4c1eb33e794465a40eee4cf5b68915fdccd21800","verificationMethod":"0xbcbc6dc9fc214b1d9bca7fa35b86a009c9ffb8c1520c479750884a72a7d71e96"},"credentialSchema":{"id":"https://raw.githubusercontent.com/litentry/vc-jsonschema/main/dist/schemas/23-crypto-summary/1-0-0.json","type":"JsonSchemaValidator2018"}}

Last updated