<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/building-a-nestjs-api-to-extract-prices-from-thena-protocol-ugluqfhxi" -->

---
title: Building a NestJS API to Extract Prices from Thena Protocol
description: This tutorial guides you through setting up a NestJS API that interacts with Ethereum-based contracts to fetch and process token prices from the Thena...
canonical: https://daily.dev/posts/building-a-nestjs-api-to-extract-prices-from-thena-protocol-ugluqfhxi
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Building a NestJS API to Extract Prices from Thena Protocol | daily.dev
og:description: This tutorial guides you through setting up a NestJS API that interacts with Ethereum-based contracts to fetch and process token prices from the Thena...
og:url: https://daily.dev/posts/building-a-nestjs-api-to-extract-prices-from-thena-protocol-ugluqfhxi
og:image: https://api.daily.dev/og/posts/UgLuQfHxi.png
og:image:alt: Building a NestJS API to Extract Prices from Thena Protocol
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Building a NestJS API to Extract Prices from Thena Protocol

**[Coins Bench](https://daily.dev/sources/coinsbench)** · 4 min read · 11 upvotes · 1 comments

## Summary

This tutorial guides you through setting up a NestJS API that interacts with Ethereum-based contracts to fetch and process token prices from the Thena protocol. It covers prerequisites, setup, Ethereum service, ERC20 service, and THENA service.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://coinsbench.com/building-a-nestjs-api-to-extract-prices-from-thena-protocol-e1763fe35343>

## Community discussion

Top comments from developers on daily.dev.

**@mylesmor** · 1 upvotes

> I mostly use Python but Nest is great too

---

Tags: [#typescript](https://daily.dev/tags/typescript), [#ethereum](https://daily.dev/tags/ethereum), [#smart-contracts](https://daily.dev/tags/smart-contracts), [#nestjs](https://daily.dev/tags/nestjs)

[View this post on daily.dev](https://daily.dev/posts/building-a-nestjs-api-to-extract-prices-from-thena-protocol-ugluqfhxi)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Building a NestJS API to Extract Prices from Thena Protocol","url":"https://daily.dev/posts/building-a-nestjs-api-to-extract-prices-from-thena-protocol-ugluqfhxi","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/building-a-nestjs-api-to-extract-prices-from-thena-protocol-ugluqfhxi"},"datePublished":"2024-05-03T12:10:20.539Z","dateModified":"2024-05-09T09:21:59.549Z","description":"This tutorial guides you through setting up a NestJS API that interacts with Ethereum-based contracts to fetch and process token prices from the Thena...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c58d3514790a5511128c8e08c967f25f?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c58d3514790a5511128c8e08c967f25f?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Coins Bench","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Coins Bench","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ba340d3c8caa4c2586911332928e24d9","url":"https://daily.dev/sources/coinsbench"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/building-a-nestjs-api-to-extract-prices-from-thena-protocol-ugluqfhxi","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":11},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"typescript,ethereum,smart-contracts,nestjs","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Coins Bench","item":"https://daily.dev/sources/coinsbench"},{"@type":"ListItem","position":3,"name":"Building a NestJS API to Extract Prices from Thena Protocol"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/building-a-nestjs-api-to-extract-prices-from-thena-protocol-ugluqfhxi","comment":[{"@type":"Comment","text":"I mostly use Python but Nest is great too","datePublished":"2024-05-14T23:54:49.652Z","url":"https://daily.dev/posts/UgLuQfHxi#c-3aBKX3Pkl","author":{"@type":"Person","name":"Myles Mor","url":"https://daily.dev/mylesmor","image":"https://media.daily.dev/image/upload/s--3hJX9g0l--/f_auto/v1715730620/avatars/avatar_I3Csok1PRRoQhWPtlnbzy"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
```

