0.0.7 • Published 2 years ago

dexscreener-api v0.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

dexscreener-api

dexscreener-api is a typescript wrapper around the DEX screener API. dex screener api this API is currently in beta and the wrapper may stop working at any time.

Installation

npm install dexscreener-api

Usage

Get pair information by chain
const pairsResponse = await getPairInformationByChain("bsc", "0x7213a321F1855CF1779f42c0CD85d3D95291D34C");

Get pairs matching base token address
const tokensResponse = await getPairsMatchingBaseTokenAddress("0x2170Ed0880ac9A755fd29B2688956BD959F933F8");

Search for pairs matching query
const searchResponse = await searchPairsMatchingQuery("WBNB USDC");

Contributing

Pull requests are welcome.

Please make sure to update tests as appropriate.

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago