Enzyme

/asset/enzyme/{vault}

Load a list of assets containing token, price and balance information for Enzyme rebalancings. Should be used for the BUY side.

Get list of all Enzyme assets (incl. balance for passed vault)

get

Also contains asset entries for all other supported tokens with a balance of zero

Path parameters
vaultstringRequired
Header parameters
x-api-keystringOptional

31Third API key (Request via [email protected])

chain-idstringOptional

Chain ID as hex string. (e.g.: 0x1 for Ethereum mainnet)

Responses
200Success
application/json
Responseall of
objectOptional
and
get
GET /0.1/asset/enzyme/{vault} HTTP/1.1
Host: 
Accept: */*
200Success
{
  "items": [
    {
      "token": {
        "id": "text",
        "address": "0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce",
        "name": "Shiba Inu",
        "symbol": "SHIB",
        "imageUrl": "https://assets.31third.com/images/tokens/SHIB.svg",
        "decimals": 18,
        "sliderColor": "#C47438",
        "chain": {
          "name": "Ethereum",
          "identifier": "0x1",
          "enabled": true,
          "batchTradeSupported": true,
          "batchTradeAddress": "0x1ee8b39f09c5299526db65428ab2a8a23ebf08a7",
          "blockExplorerLink": "https://etherscan.io",
          "nativeTokenAddress": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
          "wrappedNativeTokenAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
          "tokenHelperAddress": "0x6af90502f49E3B4151018F7aE82d10079c29Bc97",
          "portfolioEnabled": true
        },
        "tags": [
          "text"
        ],
        "deflationary": true
      },
      "balance": "0",
      "priceInNativeCurrency": "7414558845",
      "priceInUsd": 0.00002272543360099033,
      "valueInNativeCurrency": "0",
      "valueInUsd": "0",
      "valueInEur": 1,
      "cmcRank": 9,
      "isTradeable": true,
      "isSellable": true
    }
  ]
}

/enzyme/allocation

Load the current allocation of an Enzyme vault. Should be used for the SELL side.

Get list of allocation assets for given Enzyme vault address

get
Query parameters
vaultstringRequired
Header parameters
x-api-keystringOptional

31Third API key (Request via [email protected])

chain-idstringOptional

Chain ID as hex string. (e.g.: 0x1 for Ethereum mainnet)

Responses
200Success
application/json
Responseall of
objectOptional
and
get
GET /0.1/enzyme/allocation?vault=text HTTP/1.1
Host: 
Accept: */*
200Success
{
  "items": [
    {
      "token": {
        "id": "text",
        "address": "0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce",
        "name": "Shiba Inu",
        "symbol": "SHIB",
        "imageUrl": "https://assets.31third.com/images/tokens/SHIB.svg",
        "decimals": 18,
        "sliderColor": "#C47438",
        "chain": {
          "name": "Ethereum",
          "identifier": "0x1",
          "enabled": true,
          "batchTradeSupported": true,
          "batchTradeAddress": "0x1ee8b39f09c5299526db65428ab2a8a23ebf08a7",
          "blockExplorerLink": "https://etherscan.io",
          "nativeTokenAddress": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
          "wrappedNativeTokenAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
          "tokenHelperAddress": "0x6af90502f49E3B4151018F7aE82d10079c29Bc97",
          "portfolioEnabled": true
        },
        "tags": [
          "text"
        ],
        "deflationary": true
      },
      "balance": "0",
      "priceInNativeCurrency": "7414558845",
      "priceInUsd": 0.00002272543360099033,
      "valueInNativeCurrency": "0",
      "valueInUsd": "0",
      "valueInEur": 1,
      "cmcRank": 9,
      "isTradeable": true,
      "isSellable": true,
      "currentAllocation": 0.33,
      "targetAllocation": 0.42
    }
  ]
}

Last updated