proveOwnership()
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / proveOwnership
Function: proveOwnership()
Section titled “Function: proveOwnership()”proveOwnership(
params):OwnershipProof
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:8873
Generate an ownership proof (convenience function)
Parameters
Section titled “Parameters”params
Section titled “params”Proof generation parameters
Returns
Section titled “Returns”Ownership proof
Example
Section titled “Example”import { proveOwnership } from '@sip-protocol/sdk'
const proof = proveOwnership({ ownership: record, challenge: 'verify-2024', stealthPrivateKey: '0xabc...',})