OwnershipProof
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / OwnershipProof
Interface: OwnershipProof
Section titled “Interface: OwnershipProof”Defined in: @sip-protocol/types/dist/index.d.ts:2248
Proof that someone owns a specific NFT without revealing their identity
Properties
Section titled “Properties”nftContract
Section titled “nftContract”nftContract:
string
Defined in: @sip-protocol/types/dist/index.d.ts:2250
The NFT being proven
tokenId
Section titled “tokenId”tokenId:
string
Defined in: @sip-protocol/types/dist/index.d.ts:2252
Token ID
challenge
Section titled “challenge”challenge:
string
Defined in: @sip-protocol/types/dist/index.d.ts:2254
Challenge that was signed
proof:
ZKProof
Defined in: @sip-protocol/types/dist/index.d.ts:2256
Zero-knowledge proof of ownership
stealthHash
Section titled “stealthHash”stealthHash:
`0x${string}`
Defined in: @sip-protocol/types/dist/index.d.ts:2258
Hash of the stealth address (for verification without revealing address)
timestamp
Section titled “timestamp”timestamp:
number
Defined in: @sip-protocol/types/dist/index.d.ts:2260
Timestamp of proof generation