Skip to main content

Decentralized Finance (DeFi)

Usage example for your code


import { DeFiService } from "https://deno.land/x/defi/defi.service.ts"

const gasPriceInfo = await DeFiService.getGasPriceInfo()

console.log(gasPriceInfo)

More usage examples

Check the DeFiService class for more usage examples.

Test it via command line

deno run --allow-net https://deno.land/x/defi/test-it.ts

Contributions are welcome

Feel free to create a pull request if you would like to improve things. Especially in the context of interplanetary decentralized finance..

Support my Open Source Contributions

If you like my work please consider downloading the brave browser via my promotion link: https://brave.com/fan464.

![](https://brave.com/)