Get <NFT List Held by User> Interface

Obtain the user's corresponding NFT asset information through the user's wallet address

Request Address: /api/v1/meta/getOwnedAssets

Request Method: GET

Request Parameter:

Field Name
Field Description
Type
Required or not
Notes

owner

User address

string

Y

page

Page

integer

Y

pageSize

Number in page

integer

Y

Output Parameter:

Field Name
Field Description
Type

tokenId

token id

string

contractAddr

NFT contract address

string

name

NFT name

string

imageUrl

NFT image address

string

mainnet

NFT contract chain

string

platformId

NFT Primary Key ID

integer

canSell

Can sell? true:Yes,false:No

bool

Input Example:

https://api.paths.finance/api/v1/meta/getOwnedAssets?owner=0x76336d2903e8f6d62cc3f5d05283108e3d2785e0&page=1&pageSize=50

Output Example:

{
    "resCode": "100",
    "resMsg": "Success",
    "data": {
        "assets": [
            {
                "tokenId": "1560218",
                "contractAddr": "0x22c1f6050e56d2876009903609a2cc3fef83b415",
                "name": "Dapp-Learning-111",
                "imageUrl": "https://lh3.googleusercontent.com/2CHkr8agGwOm9NIyhNFBgG2kSzO_OLhiYury3nOtdB5lbHX8W-RoBcHVfXgNoc-72ZzhLJoa6ALrB2o0pxZy8PcMuWYEGZc9zexSYIc",
                "mainnet": "ETH",
                "platformId": "386405378620468200",
                "canSell": false
            },
            {
                "tokenId": "158456339822817985252103554542",
                "contractAddr": "0x7227e371540cf7b8e512544ba6871472031f3335",
                "name": "Bliss Agent: Renegade",
                "imageUrl": "https://api.treasureland.market/v1/resourceS3?uri=images/matic/0x7227e371540cf7b8e512544ba6871472031f3335/369df65834b14d7035410de0440d7d63.png",
                "canSell": false,
                "platformId": "386405400144891905",
                "mainnet": "POLYGON"
            }
        ]
    }
}

Postman Call Example

Last updated