ProofOfOwnershipService Actions
1 action registered.
| Name | Deprecated |
|---|---|
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:
| Name | Description |
|---|---|
data | The 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>