Skip to main content
Midas provides tokenized access to institutional investment strategies on Ethereum. The API returns token positions with oracle-based pricing.

Supported chains

Chain IDNetwork
1Ethereum

Position types

Type identifierDescriptionKey fields
midas-tokenToken holdingsymbol, balance, balanceUsd, apy, oraclePrice

walletPositions example

query {
  walletPositions(inputs: [
    { protocol: "midas", chainId: 1, walletAddress: "0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b6" }
  ]) {
    data {
      ... on MidasWalletPositions {
        protocol walletAddress chainId
        tokenPositions {
          type tokenAddress symbol decimals
          balance balanceUsd apy oraclePrice
        }
      }
    }
    errors { protocol chainId walletAddress error { code message retryable } }
  }
}

Notes

  • oraclePrice is sourced from a Chainlink-compatible price feed
  • apy is a decimal (e.g., 0.12 = 12%), calculated from 7-day historical price changes. May be null if insufficient price history is available
  • tokenPositions is an empty array when the wallet holds no Midas tokens
  • balance is a raw BigInt string