Account Endpoints
Set NFT profile picture
Changed onSet an onchain NFT owned by the authenticated wallet as its verified profile picture. The NFT must be from a verified collection and owned by one of the account's wallets.
post/api/v2/profile/nft-pfp
Request
- Base URLhttps://api.opensea.io
- AuthAPI key in header x-api-key and OpenID Connect (https://auth.opensea.io/.well-known/openid-configuration, scopes: write:profile)
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"chain": "ethereum",
"contractAddress": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
"tokenId": "1"
}Response
NFT profile picture set successfully
Changes
- breaking
the response property
became nullable for the status - warning
removed the request property
- info
added the media type
*/*for the response with the status - info
added the media type
*/*for the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking