Get Contract Detail

This service returns contract detail for the specified id parameter.

Get Contract Detail

GET {{server-url}}/contracts/:id

It returns contract object

Path Parameters

NameTypeDescription

id*

Number

Represents contract's identifier

Headers

NameTypeDescription

Authorization*

String

UUID formatted access token

{
    // Response
}

Example Response Body

{
    "data": {
        "id": 536,
        "address": "0xd39077cfB4FBa3f373045AEF798E41f10c59e88c",
        "artifactName": "Qaf1155",
        "type": "ERC1155",
        "projectId": "b2e5ab50-f3d5-43ed-8761-eeba5913a72c"
    },
    "message": null,
    "code": 0,
    "error": false
}

Response Fields

KeyTypeDescription

id

Number

Represents contract's identifier

address

String

Represents contract's address

artifactName

String

Represents contract's name

type

String

Represents contract's type, it can be ERC721, ERC1155 or MARKETPLACE

projectId

String

UUID formatted project identifier

Last updated