### Get Multiple User Profiles Source: https://docs.hashpack.app/dapp-developers/user-profiles/profile-api/get-multiple-profiles This endpoint allows you to retrieve multiple user profiles by providing a list of account IDs and the network type. ```APIDOC ## POST /user-profile/get-multiple ### Description Retrieves multiple user profiles based on provided account IDs and network. ### Method POST ### Endpoint https://api.hashpack.app/user-profile/get-multiple ### Parameters #### Query Parameters None #### Request Body - **accountIds** (array[string]) - Required - An array of user account IDs (e.g., "0.0.1234"). - **network** (string) - Required - The network type, either "mainnet" or "testnet". ### Request Example ```json { "accountIds": ["0.0.1234", "0.0.12345"], "network": "mainnet" } ``` ### Response #### Success Response (200) - **profilePicture** (object) - Information about the user's profile picture. - **tokenId** (string) - **serial** (number) - **thumbUrl** (string) - **theme** (object) - Information about the user's theme. - **tokenId** (string) - **metadata** (string) - **themeId** (string) - **username** (object) - Information about the user's username. - **name** (string) - **tokenId** (string) - **serial** (number) - **accountId** (string) - The user's account ID. - **network** (string) - The network the profile belongs to. - **updatedAt** (string) - The timestamp when the profile was last updated. - **nftFolders** (array[object]) - An array of NFT folders. - **name** (string) - **items** (array[object]) - **tokenId** (string) - **serial** (number) - **currency** (string) - The preferred currency for the user. - **contacts** (array[object]) - An array of user contacts. - **name** (string) - **id** (string) - **note** (string) - **defaultMemo** (string) - **bio** (string) - The user's biography. - **twitterHandle** (string) - The user's Twitter handle. #### Response Example ```json [ { "profilePicture": { "tokenId": "0.0.1234", "serial": 110, "thumbUrl": "https://hashpack.b-cdn.net/ipfs/Qmf8apzmTGrA5k2Y1DwBeUnpjEjUpRkcBpNx3ashKdp1ui?optimizer=image&width=350" }, "theme": { "tokenId": "0.0.1234", "metadata": "ipfs://QmPcXnjJN7phcau2FJAFTXyRRAx43zrFmsW1cBLNjJuHdh", "themeId": "basic_early_supporter" }, "username": { "name": "user.hbar", "tokenId": "0.0.1234", "serial": 141 }, "accountId": "0.0.1234", "network": "mainnet", "updatedAt": "2024-11-07T01:18:43.437Z", "nftFolders": [ { "name": "My fav NFTs", "items": [ { "tokenId": "0.0.1518294", "serial": 63 } ] } ], "currency": "USD", "contacts": [ { "name": "My Friend", "id": "0.0.1234", "note": "", "defaultMemo": "" } ], "bio": "Test bio", "twitterHandle": "username" } ] ``` ``` -------------------------------- ### Get Single Profile Source: https://docs.hashpack.app/dapp-developers/user-profiles/profile-api/get-single-profile This endpoint allows you to retrieve a user's profile information by providing their account ID and network. ```APIDOC ## POST /user-profile/get ### Description Retrieves a user's profile information. ### Method POST ### Endpoint https://api.hashpack.app/user-profile/get ### Parameters #### Request Body - **accountId** (string) - Required - The account ID of the user. - **network** (string) - Required - The network the account belongs to (mainnet or testnet). ### Request Example ```json { "accountId": "0.0.1234", "network": "mainnet" } ``` ### Response #### Success Response (200) - **profilePicture** (object) - Information about the user's profile picture. - **theme** (object) - Information about the user's selected theme. - **username** (object) - Information about the user's username. - **accountId** (string) - The user's account ID. - **network** (string) - The network the account belongs to. - **updatedAt** (string) - The timestamp when the profile was last updated. - **nftFolders** (array) - An array of NFT folders associated with the user. - **currency** (string) - The preferred currency for display. - **contacts** (array) - An array of user contacts. - **bio** (string) - The user's biography. - **twitterHandle** (string) - The user's Twitter handle. #### Response Example ```json { "profilePicture": { "tokenId": "0.0.1234", "serial": 110, "thumbUrl": "https://hashpack.b-cdn.net/ipfs/Qmf8apzmTGrA5k2Y1DwBeUnpjEjUpRkcBpNx3ashKdp1ui?optimizer=image&width=350" }, "theme": { "tokenId": "0.0.1234", "metadata": "ipfs://QmPcXnjJN7phcau2FJAFTXyRRAx43zrFmsW1cBLNjJuHdh", "themeId": "basic_early_supporter" }, "username": { "name": "user.hbar", "tokenId": "0.0.1234", "serial": 141 }, "accountId": "0.0.1234", "network": "mainnet", "updatedAt": "2024-11-07T01:18:43.437Z", "nftFolders": [ { "name": "My fav NFTs", "items": [ { "tokenId": "0.0.1518294", "serial": 63 } ] } ], "currency": "USD", "contacts": [ { "name": "My Friend", "id": "0.0.1234", "note": "", "defaultMemo": "" } ], "bio": "Test bio", "twitterHandle": "username" } ``` ``` -------------------------------- ### Get Multiple User Profiles (API) Source: https://docs.hashpack.app/dapp-developers/user-profiles/profile-api/get-multiple-profiles This API endpoint allows fetching profile data for multiple users simultaneously. It requires an array of account IDs and the network type (mainnet or testnet). The response is an array containing detailed profile information for each requested account. ```HTTP POST https://api.hashpack.app/user-profile/get-multiple ``` ```JSON { "accountIds": ["0.0.1234", "0.0.12345"], "network": "mainnet" | "testnet" } ``` ```JSON [ { "profilePicture": { "tokenId": "0.0.1234", "serial": 110, "thumbUrl": "https://hashpack.b-cdn.net/ipfs/Qmf8apzmTGrA5k2Y1DwBeUnpjEjUpRkcBpNx3ashKdp1ui?optimizer=image&width=350" }, "theme": { "tokenId": "0.0.1234", "metadata": "ipfs://QmPcXnjJN7phcau2FJAFTXyRRAx43zrFmsW1cBLNjJuHdh", "themeId": "basic_early_supporter" }, "username": { "name": "user.hbar", "tokenId": "0.0.1234", "serial": 141 }, "accountId": "0.0.1234", "network": "mainnet", "updatedAt": "2024-11-07T01:18:43.437Z", "nftFolders": [ { "name": "My fav NFTs", "items": [ { "tokenId": "0.0.1518294", "serial": 63 } ] } ], "currency": "USD", "contacts": [ { "name": "My Friend", "id": "0.0.1234", "note": "", "defaultMemo": "" } ], "bio": "Test bio", "twitterHandle": "username" } ] ``` -------------------------------- ### Basic NFT Metadata Structure (JSON) Source: https://docs.hashpack.app/nft-creators/metadata-standards This JSON structure represents the basic metadata required for NFTs on Hedera, following HIP-412. It includes essential fields like name, creator, description, image, type, and an array for associated files with their URIs and types. The 'properties' field allows for arbitrary JSON objects to define token characteristics. ```json { "name": "NFT Name", "creator": "Creator Name", "description": "Human readable description of the asset - RECOMMENDED", "image": "cid or path to the NFT's image file, or for non-image NFTs, a preview image for display in wallets - REQUIRED", "type": "mime type - ie image/jpeg - REQUIRED", "files": [ { "uri": "cid or uri to file - REQUIRED", "is_default_file": "(Type: boolean) indicates if the file is the main file for this NFT - OPTIONAL", "type": "mime type - REQUIRED" } ], "properties": { } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.