Rise Wallet
  • 🙌Introduction
    • Self-Custody
    • Best Practices
    • Bigger Picture
  • Features
    • ✨Active on Devnet
  • Integrations
    • ⛓️Integrate Rise Wallet
      • With the Wallet Adapter
      • Without the Wallet Adapter
        • Detecting the Provider
        • Establishing Connection
        • Sending Transactions
        • Signing Transactions
        • Signing Messages
    • 🎭Profile Picture Protocol
      • Get a Wallet's Profile Picture
      • Set a NFT as a Profile Picture
      • Clear Profile Picture
    • ⚡Rise Notifications
      • Sending Notifications
      • User Perspective
        • Notification Center
        • Subscription Management
      • API Endpoints
        • Broadcast Endpoint
        • Unicast Endpoint
        • List Casts Endpoint
        • View Cast Endpoint
        • Check Key Subscription Status
Powered by GitBook
On this page
  1. Integrations
  2. Profile Picture Protocol

Set a NFT as a Profile Picture

Use the functionality below to allow users to change their PFP from your own front-end.

function createSetProfilePicturePayload (tokenId: TokenId): Promise<TransactionPayloadEntryFunction>

Params

  • tokenId - The token object that holds token identifications

TokenId is defined by:

{
  creator: string,
  collection: string,
  name: string,
}
PreviousGet a Wallet's Profile PictureNextClear Profile Picture

Last updated 2 years ago

🎭