Retrieve Contract

Retrieve information about a specific NFT contract, or get all of your NFT contracts.

1. Get a specific contract by chain and contract address

Request Endpoint: reference

HTTP

GET /api/v2/contracts/{secretType}/{contractAddress}
Parameter
Param Type
Description
Data Type
Mandatory

{secretType}

Path

The blockchain of the contract

String

{contractAddress}

Path

The contract address whose details you want to fetch.

String

Example Request:

HTTP

GET /api/v2/contracts/MATIC/0x30d6cff9cb268c59c75a94755b2c60e118d65657

Response Body:

JSON

{
    "success": true,
    "result": {
        "secretType": "MATIC",
        "address": "0x30d6cff9cb268c59c75a94755b2c60e118d65657",
        "contractUri": "https://metadata-staging.arkane.network/metadata/contracts/64260",
        "onChainStatus": "SUCCEEDED",
        "metadata": {
            "name": "My first collection",
            "description": "Sample description",
            "symbol": "MYFICO",
            "externalUrl": "www.quantum.io",
            "image": "https://pbs.twimg.com/profile_images/1669300450649157635/4xg-wsbK_400x400.jpg",
            "media": [],
            "external_link": "www.quantum.io"
        }
    }
}

2. Get all contracts

Request Endpoint: reference

HTTP

Example Request:

HTTP

Response Body:

JSON

Last updated