UNPKG

web3-api-utils

Version:

utility funtions to get api names for different api providers

16 lines (10 loc) 546 B
![npm](https://img.shields.io/npm/v/web3-api-utils) ![npm bundle size](https://img.shields.io/bundlephobia/min/web3-api-utils) ![NPM](https://img.shields.io/npm/l/web3-api-utils) # web3-api-utils Ytility funtions to get api names for different api providers, such as alchemy, rarible, and thirdweb. ## primary use case You have a chainId, and want to query an api, but the api uses a string such as "polygon", and eah api is slightly different. This module returns the string bwhen you give it the id. ## Usage ## Testing node test/index.js