Getting Started

Installation

yarn add unidata.js
npm install unidata.js --save

Initialization

import Unidata from 'unidata.js';

const unidata = new Unidata({
    infuraProjectID?: string;
    ipfsGateway?: string;
    moralisWeb3APIKey?: string;
    openseaAPIKey?: string;
    alchemyEthereumAPIKey?: string;
    alchemyPolygonAPIKey?: string;
    alchemyFlowAPIKey?: string;
});
ParameterDefaultDescription
infuraProjectIDethers default keysThe PROJECT ID of the Infura to use.
ipfsGateway'https://dweb.link/ipfs/'The IPFS gateway to use.
moralisWeb3APIKeyAccount Web3 API Key of Moralis.
openseaAPIKeyAPI Key of OpenSea.
alchemyEthereumAPIKeyAPI Key of Alchemy Ethereum.
alchemyPolygonAPIKeyAPI Key of Alchemy Polygon.
alchemyFlowAPIKeyAPI Key of Alchemy Flow.
ethereumProviderwindow.ethereumEthereum provider
nftscanAPIKeyAPI Key of NFTScan.

If you don't want to expose some api keys on the front end, or if you want to cache data for faster response and higher stability, then you can use the SDK for your Node.js project.

Community

GitHub Org's starsopen in new window

Discordopen in new window

Twitter Followopen in new window

Supported Sources

Assets

EthereumPolygonBinance Smart ChainAvalancheArbitrumFantomGnosisPOAPCrossbellSolanaFlowGitcoinMoonbeamOptimismNFTScanAlchemySolscanMoralisOpenSeaRSS3

Notes

MirrorEthereumPolygonBinance Smart ChainArbitrumFantomGnosisPOAPGitcoinCrossbellRSS3

Profiles

ENSCrossbellThe GraphInfura

Crossbell