🀝Get Vaults by owner

Base URL

All API requests should be made to the following base URL:

https://metadata.emblemvault.io

API Endpoints

Get All Known Projects

Fetches all known assets for the provided owner of the specified category.

Endpoint:

GET {baseURL}/myvaults/:ownerAddress?start=0&size=20

Path Parameters:

  • ownerAddress (required): Address that owns the vaults

Query string Parameters:

  • size(optional): number of results requesting

  • start (optional): cursor, or index to start receiving results for

Headers:

  • chainId (required): the numerical chainID for the blockchain (1 = mainnet)

  • VaultType (required): the state or type of vault (uinclaimed, curated, claimed, unminted)

Responses:

  • 200 OK - The request was successful, and the list of vaults and their metadata are returned.

    Example successful response:

  • 400 Bad Request - The request was unsuccessful due to incorrect input or an error in processing. Check the response body for more information.

    Example response for empty set:

Examples

Here's an example using the request library in Node.js to make a request to the API with the provided tokenId:

CURL

Last updated