The Neo network target.
The neoCNS script hash. This is relatively static and is published (Here)
The target claim id.
The wif of the identity attempting to resolve the claim.
Example:
const neoCNS = "b434339f25b6f1bec68e99f620dfbf3ec27dacdc"
const wif = "KxDgvEKzgSBPPfuVfw67oPQBSjidEiqTHURKSDL1R7yGaGYAeYnr"
const network = {
name: "network",
extra: {
neoscan: "https://p1.neo.blockchain.moonlight.io:4001/api/main_net",
rpcServer: "https://p1.neo.blockchain.moonlight.io:60333"
}
}
claim = await sdk.NeoVivid.getDecryptedClaimByClaimID(
network,
neoCNS,
"NLBnCtGcA6Gx4NJ8",
wif
)
This method will mux a claim id and its topic to return a pretty claim.
The Neo network target.
The script hash of the claims contract.
The claim id being requested.
Generated using TypeDoc
Gets a claim by its claim_id and attempts to access and resolve all of its attestations. Resolutions are returned as
decrypted_value
on each attestation object.