{% 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.
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 %}