GET
/
contracts
curl --request GET \
  --url https://protocol-sandbox.lumx.io/v2/contracts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "<string>",
      "address": "<string>",
      "name": "<string>",
      "symbol": "contractName",
      "description": "<string>",
      "blockchainName": "Ethereum",
      "baseUri": "<string>",
      "blockExplorerUrl": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "deployedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "cursor": "<string>",
    "pageSize": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>.

Query Parameters

cursor
string

The cursor for pagination

size
integer

The number of contracts to return

type
enum<string>

The type of the contract

Available options:
fungible,
non_fungible
startDate
string

The start date and time for filtering the results

endDate
string

The end date and time for filtering the results

Response

200 - application/json

The list of contracts was retrieved successfully

The response is of type object.