# Utilities

There is a bunch of utility functions you can use:

&#x20;<https://github.com/0xweb-org/dequanto/tree/master/src/utils>&#x20;

* [$bigint](https://github.com/0xweb-org/dequanto/blob/master/src/utils/%24bigint.ts)  - `bigint` helper to convert `wei`, `gwei`, `ether` ;  float multiplying and division
* [$date](https://github.com/0xweb-org/dequanto/blob/master/src/utils/%24date.ts) - lots of date methods - replaces `moment.js` and `date.js` libraries
* [$require](https://github.com/0xweb-org/dequanto/blob/master/src/utils/%24require.ts) - assertion utilities. *You should use assertions in the blockchain development much more often, as any small error can lead to huge losses*
* *...*

Please, go through the code, maybe you'll find something for your needs.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.0xweb.org/dequanto/utilities.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
