GET
/
platform
/
files
cURL
curl --request GET \
  --url https://dev-api.rootkey.ai/api-v1/platform/files \
  --header 'x-api-key: <api-key>'
{
  "chainId": 80002,
  "nfts": [
    {
      "contractType": "ERC721",
      "tokenAddress": "0x1234567890123456789012345678901234567890",
      "tokenId": "1",
      "uri": "https://example.com/token/1",
      "name": "ROOT1",
      "symbol": "RTK",
      "owner": "0x1234567890123456789012345678901234567890"
    }
  ],
  "nextCursor": ""
}

Authorizations

x-api-key
string
header
required

Query Parameters

walletAddress
string
required

The vault address

cursor
string

The cursor for pagination

token
string

The smart contract address from where is intended to list the files

Response

Files successfully retrieved

chainId
integer
contractType
string
tokenAddress
string
tokenId
string
uri
string
name
string
symbol
string
owner
string