Skip to main content

ProofOfOwnershipService Actions

1 action registered.

NameDeprecated
sign

ProofOfOwnershipService:sign​

Package: @metamask/profile-metrics-controller

Sign a proof of ownership for the given account and server-issued nonce.

The returned proof is shaped to drop directly into AccountWithScopes.proof for ProfileMetricsService:submitMetrics.

Parameters:

NameDescription
dataThe account to prove ownership of and the nonce to bind the proof to.

Returns: The proof of ownership (nonce echo + signature).

Handler signature:

(data: ProofOfOwnershipSignRequest) => Promise<AccountOwnershipProof>