Get Single Profile

Get Profile

This endpoint allows you to get a users profile

POST https://api.hashpack.app/user-profile/get

It expects the following data:

{
    accountId: "0.0.1234",
    network: "mainnet" | "testnet"
}

It will return:

{
    "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"
}

Last updated