Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 599 Bytes

File metadata and controls

30 lines (16 loc) · 599 Bytes

nearPrice

{% hint style="warning" %}

This is a work in progress, please reach out to us on Telegram for support. For the most reliable data, reference our existing graphql docs.

{% endhint %}

Returns near price in usd.

nearPrice()

This is an example of a data api method.

Example:

{% code title="nearPrice.ts" overflow="wrap" lineNumbers="true" %}

import { nearPrice } from "@mintbase-js/data";

const { data } = await nearPrice();


console.log(data); // => "1.49000"

{% endcode %}