Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

101
Views
Is it possible to read a view function on a web front end from a smart contract?

Hey so I am fairly new to JS,Solidity and WEB3 and I was wondering if I can fetch data when interacting with a view function and using that data on my front end. The reason being the token is coupled with external data using chain-link and I would like an easy way for users to get the current price in the contract, here is what I have wrote to call the function using moralis, but have no clue what to do after that or if it even possible to get the data: enter image description here

I was also thinking of getting the data directly from the chain-link website, It has the current prices that I would need to display on the front end, but since I am new to this I'm not too sure how to go about doing that, I know this is a kind of n00b question but thanks in advance, any direction would be great!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!