expand.network
  • Overview
  • Getting Started
  • 🔑How do I get my API Key?
  • 📑List of All Endpoints
  • ⚙️SDK
    • Overview
    • Getting Started
  • ⛓️INTEGRATIONS
    • ⚡Blockchains
      • EVM based blockchains
        • Ethereum
        • Binance Smart Chain
        • Avalanche - C
        • Avalanche - P
        • Avalanche - X
        • Polygon
        • Cronos
        • Arbitrum
        • Fantom
        • Optimism
        • Base
        • zkSync Era
        • Mantle
      • Non-EVM based chains
        • Tron
        • Solana
        • Near
        • Algorand
        • Aptos
        • Sui
        • Starknet
        • TON
        • Cosmos Hub
        • Osmosis
        • Stacks
        • Bitcoin
        • Stellar
          • Stellar RWA
        • XRP Ledger
          • XRP Ledger RWA
    • ⚡Bridges
      • Stargate
      • Stargate V2
      • Squid Router
      • Squid Router V2
      • Allbridge Classic
      • Allbridge Core
    • ⚡DEX & DEX Aggregators
      • Uniswap V2
      • Uniswap V3
      • Uniswap X
      • Sushiswap V2
      • PancakeSwap V2
      • PancakeSwap V3
      • Aerodrome
      • Camelot V3
      • Curve V2
      • Balancer V2
      • STON.fi
      • Trader Joe
      • Orca
      • Raydium
      • SDEX
      • Cetus
      • REF Finance
      • Liquidswap
      • Sologenic
      • Alex
      • 0x (Aggregator)
      • 1inch (Aggregator)
      • Kyberswap (Aggregator)
        • Kyberswap ( Limit Order Endpoints )
      • Jupiter (Aggregator)
    • ⚡Derivatives
      • dYdX V4
    • ⚡Fungible Tokens
      • ERC20
      • WETH
    • ⚡Lending Protocols
      • Aave V2
      • Aave V3
      • Compound V2
      • Compound V3
      • Morpho
    • ⚡Yield Aggregators
      • Yearn Finance V2
      • Harvest Finance
      • Pendle
    • ⚡Liquid Staking
      • Chorus One
      • Lido V2
      • Stader
      • Benqi
      • Jito
      • EigenLayer
    • ⚡Non Fungible Tokens
      • ERC721
      • ERC1155
      • Metaplex
    • ⚡Oracles
      • ChainLink
      • WinkLink
      • Pyth Network
      • RedStone
    • ⚡Stablecoins
      • EVM
    • ⚡Synthetics
      • Synthetix
    • ⚡Supported Wallets
      • MPC Wallets
        • DFNS
        • FORDEFI
        • FIREBLOCKS
        • CIRCLE
      • HD Wallets
        • PHANTOM
        • COINBASE
        • TON Wallet
      • Wallet Connect v2
  • How To
    • Execute a Local Swap
    • Execute a Cross Chain Swap
    • Use Limit Orders
    • Lend and Borrow
    • Provision Liquidity
      • Adding Liquidity
      • Removing liquidity
    • Yield Farm
    • Use Our Transaction Decoder
    • Submit an RFQ
    • Subscribe to Events
    • Stream Data (WebSocket)
      • Stream Transaction
      • Stream Trade
      • Stream Gas
      • Stream Ticker Price
    • Source Pricing
    • Track Memecoins
    • Manage Token Approvals
  • Use Cases
    • Trade Reconciliation
    • Portfolio Management
    • Trading Features
    • On-Chain Data: DEX Liquidity Pool Forensics
    • Transaction and Pool Analysis
  • Account Abstraction
    • Overview
      • User Endpoints
      • Paymaster Endpoint
      • Bundler Endpoint
    • ⚙️SDK - Overview
  • Additional Info
    • Error Messages
    • Client-Side Security Essentials
    • Compute Unit Costs
    • API Metadata
    • Audit Certificate
    • Brand Assets
    • FAQs
    • Quicknode Marketplace
      • DEX
      • Lending Protocols
  • ID's
    • Chain IDs
    • Bridge IDs
      • Internal Chain IDs for Bridges
    • DEX IDs
    • Lending Protocol IDs
    • Yield Aggregator ID
    • Liquid Staking IDs
    • Oracle IDs
    • Stablecoin IDs
    • Derivatives IDs
    • Synthetics IDs
  • Mapping
    • Blockchains
    • DEXs
      • Uniswap V2
      • Uniswap V3
      • Sushiswap
      • PancakeSwap
      • Curve
      • Balancer
    • Lending Protocols
      • Aave
      • Compound
  • Protocol Spender
    • Spender list
Powered by GitBook
On this page
  • /getprice
  • /getsupportedtokens
  1. INTEGRATIONS
  2. Oracles

WinkLink

PreviousChainLinkNextPyth Network

Last updated 4 months ago

/getprice

Get the Price(in USDT) of a token for the given protocol.

GET https://api.expand.network/oracle/getprice

Query Parameters

Name
Type
Description

asset*

String

Name of the token, whose price is to be fetched.

oracleId*

String

Refer to the page for details.

oracleName

String

Refer to the page for details.

https://api.expand.network/oracle/getprice?asset=usdc&oracleId=1100
{
    "status": 200,
    "msg": "success",
    "data": {
        "priceFeedAddress": "TNu3zS55MP4KnBBP6Maw1nHSzRpc3CXAxm",
        "roundId": "18446744073709551956",
        "answer": "0.99975",
        "startedAt": "1714103193",
        "updatedAt": "1714103193",
        "answeredInRound": "18446744073709551956"
    }
}

/getsupportedtokens

Get the list of supported tokens on Expand.network, for WinkLink.

GET https://api.expand.network/oracle/getsupportedtokens

Query Parameters

Name
Type
Description

oracleId*

String

Refer to the page for details.

oracleName

String

Refer to the page for details.

https://api.expand.network/oracle/getsupportedtokens?oracleId=1100
{
    "status": 200,
    "msg": "success",
    "data": {
        "BTC": "TQoijQ1iZKRgJsAAWNPMu6amgtCJ3WMUV7",
        "ETH": "TR2yWYWovJaSM7TfZq7L7sT7ZRugdJJQmL",
        "TRX": "TR5HtpPK4gX4RFC4DCBUHfFgsGkGFEzSAb",
        "USDT": "TKePc46n5CiUCR8LL788TFeKA4kjvNnuem",
        "WIN": "TSCef3LT3jpLwwXCWhZe3hZoMsYk1ZLif2",
        "BTT": "TBAAW545oJ6iTxqzezGvagrSUzCpz1S8eR",
        "BTTOLD": "TEEnwU47Fgx4Ehii7Xs9bLWK3XKo4fs6sV",
        "JST": "TE5rKoDzKmpVAQp1sn7x6V8biivR3d5r47",
        "LIVE": "TNdLmxVhdj1H1yGjhhSp33cMaAJKjyTAM4",
        "LTC": "TGxGL85kN3W5sGdBiobgWabWFcMEtoqRJJ",
        "NFT": "TEC8b2oL6sAQFMiea73tTgjtTLwyV1GuZU",
        "SUN": "TRMgzSPsuWEcVpd5hv19XtLeCk8Z799sZa",
        "SUNOLD": "TEEuSdqyv2NFREtNoUXMTDSmJVK3KCuLac",
        "TUSD": "TBc3yBP8xcyQ1E3hDTUhRxToMrgekLH2kh",
        "USDC": "TNu3zS55MP4KnBBP6Maw1nHSzRpc3CXAxm",
        "USDD": "TJ7jEgoYVaeymVfYZ3bS57dYArwVDS1mhW",
        "USDJ": "TB1MyT7pDCNg8w7cSW1QvYKs4WPzErzP5k"
    }
}
⛓️
⚡
Oracle IDs
Oracle IDs
Oracle IDs
Oracle IDs