fluidefi / examples

Code examples for essential DeFi trading tasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fluidefi React Examples

This repository includes several example applications built in react to demonstrate how to incoporate our endpoints into your solutions.

Prerequisite

These applications are NOT complete. Most endpoints require user authenticaion which this repository does not demonstrate. You are required to obtain and store your own authentication token using your prefered method.

gas_price

description

Get average gas prices from the latest block for EIP-1559 or legacy evm networks.

Check out the Fluidefi API Documentation for more information.

screenshot

screenshot of the gas price example app

get_amount_in

description

Get a quote for a given output amount and swap path from a uniswapv2-compatible router.

Check out the Fluidefi API Documentation for more information.

screenshot

screenshot of the amount in example app

get_amount_out

description

Get a quote for a given input amount and swap path from a uniswapv2-compatible router

Check out the Fluidefi API Documentation for more information.

screenshot

screenshot of the amount in example app

About

Code examples for essential DeFi trading tasks


Languages

Language:JavaScript 65.9%Language:HTML 22.2%Language:CSS 12.0%