I want to use the real time Buy price and sell price of commodities e.g GOLD/USD (XAU/USD) in my smart contract.
I know I can use API through chainLink, JSON parse the data and use it. But I do not want to expose my endpoint(from where I get the data from) in the smart contract.
The second alternative could be creating my own external adapter and put that endpoint here and use that external adapter's JOB-ID in my smart contract to get the data.
Is there any other way I could get the data from? Like chainlink provides priceFeed for some commodities, but its spot price. I want BUY and SELL both price.