BarnBridge · Schema

SmartExposureTranche

A BarnBridge SMART Exposure eToken tranche for automated token-ratio rebalancing.

DeFiRisk TokenizationYieldBlockchainEthereumSMART YieldStructured ProductsTranches

Properties

Name Type Description
poolAddress string
eTokenAddress string
eTokenSymbol string
sFactorE string Scaling factor for the eToken (decimal string).
targetRatio string Target tokenA/tokenB ratio (decimal string).
tokenARatio string Current tokenA ratio.
tokenBRatio string Current tokenB ratio.
tokenA object
tokenB object
rebalancingInterval integer Minimum rebalancing interval in seconds.
rebalancingCondition string Condition expression that triggers rebalancing.
View JSON Schema on GitHub

JSON Schema

smart-exposure-tranche.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/barnbridge/main/json-schema/smart-exposure-tranche.json",
  "title": "SmartExposureTranche",
  "description": "A BarnBridge SMART Exposure eToken tranche for automated token-ratio rebalancing.",
  "type": "object",
  "properties": {
    "poolAddress": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "eTokenAddress": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "eTokenSymbol": {
      "type": "string",
      "example": "bb_ET_50WBTC50WETH"
    },
    "sFactorE": {
      "type": "string",
      "description": "Scaling factor for the eToken (decimal string)."
    },
    "targetRatio": {
      "type": "string",
      "description": "Target tokenA/tokenB ratio (decimal string)."
    },
    "tokenARatio": {
      "type": "string",
      "description": "Current tokenA ratio."
    },
    "tokenBRatio": {
      "type": "string",
      "description": "Current tokenB ratio."
    },
    "tokenA": {
      "$ref": "#/$defs/Token"
    },
    "tokenB": {
      "$ref": "#/$defs/Token"
    },
    "rebalancingInterval": {
      "type": "integer",
      "description": "Minimum rebalancing interval in seconds."
    },
    "rebalancingCondition": {
      "type": "string",
      "description": "Condition expression that triggers rebalancing."
    }
  },
  "required": ["eTokenAddress", "eTokenSymbol", "targetRatio", "tokenA", "tokenB"],
  "$defs": {
    "Token": {
      "type": "object",
      "properties": {
        "address": { "type": "string" },
        "symbol": { "type": "string" },
        "decimals": { "type": "integer" }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/smart-exposure-tranche"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.