@exodus/nfts-proxy
TypeScript icon, indicating that this package has built-in type declarations

2.16.2 • Public • Published

@exodus/nfts-proxy

Client for the NFTs proxy server. This library should be used only to fetch NFTs data, in order to buy or list (among other things) an NFT, use this in combination with @exodus/nfts-marketplaces.

Usage

import { NftsProxyApi } from '@exodus/nfts-proxy'

// (Optional) set the `baseUrl`.
const nfts = new NftsProxyApi({ baseUrl: 'https://nfts-proxy.exodus.io' })

nfts.algorand.getNftsByOwner('SR4GMNHWMXVXJUGJUPPA3O53CBQCO2MTXRMASGHV3LIAGM7OZC76LWKSVQ')
// => Promise. Array of NFTs.

nfts.algorand.getNft(453046935)
// => Promise. Single NFT.

nfts.algorand.getNftImage(453046935, 256)
// => Promise. Canvas data for an NFT image.

Networks

Network Methods
Algorand getNftsByOwner(address)
getNft(tokenId)
getNftImage(tokenId, size)
Avalanche getNftsByOwner(address)
getNft(contractAddress, tokenId)
getNftImage(contractAddress, tokenId, size)
BNB getNftsByOwner(address)
getNft(contractAddress, tokenId)
getNftImage(contractAddress, tokenId, size)
Cardano getNftsByOwner(address)
getNft(tokenId)
getNftImage(tokenId, size)
Ethereum getNftsByOwner(address)
getNft(contractAddress, tokenId)
getNftImage(contractAddress, tokenId, size)
Fantom getNftsByOwner(address)
getNft(contractAddress, tokenId)
getNftImage(contractAddress, tokenId, size)
Polygon getNftsByOwner(address)
getNft(contractAddress, tokenId)
getNftImage(contractAddress, tokenId, size)
Solana getNftsByOwner(address)
getNft(mintAddress)
getNftImage(mintAddress, size)
Tezos getNftsByOwner(address)
getNft(contractAddress, tokenId)
getNftImage(contractAddress, tokenId, size)

Readme

Keywords

none

Package Sidebar

Install

npm i @exodus/nfts-proxy

Weekly Downloads

2,574

Version

2.16.2

License

MIT

Unpacked Size

14.9 kB

Total Files

13

Last publish

Collaborators

  • juraex
  • kevva
  • doguhan
  • ps.mcnally
  • janwe
  • yevhenii_molodyk
  • javiexodus
  • ismamz
  • exojo
  • feri42
  • jprichardson
  • farisissa
  • ryanzim
  • headfire
  • gutenye
  • mosesbot
  • roccomuso
  • dcastagnoli
  • sonaye
  • ves
  • tenaciousmv
  • asyakost
  • bulgakovk
  • chalker
  • andrejb
  • jaydp17
  • olistic
  • joepie91
  • merlz
  • vbonini
  • mol0d
  • devopsrobot
  • jenish-sojitra
  • markoexodus
  • nachoalvarez
  • giovannirco
  • filipexodus
  • cryptosgr
  • andrescarreon
  • diegomura
  • lanre-mark
  • sunilagrawal
  • guillecura
  • mariosvlad
  • federico-po
  • akinncar
  • fboucquez
  • lanahizzle
  • kwwood
  • umito
  • mzndako
  • joshuabot
  • iaacek
  • meniem
  • skapala
  • awilson-rs
  • ezenwankwogabriel
  • ggabarrin-rs
  • ralph.ba
  • danh.t.vo
  • voltagebots
  • ryansquared-npm
  • alexandrbbm
  • sergii_bo
  • florianmathieu
  • angelloz
  • exodus-justin.za
  • alex.alexandrius
  • rec
  • rg911
  • jamiemaw
  • james-gre
  • shehryar6
  • geoffreyrousset
  • clarkexo
  • tunguyennnnn
  • jschopen
  • cawfree
  • marcos.kichel
  • andrewtoth-exodus
  • cdotta-exodus
  • exorich
  • mmehta-10
  • kryptkeep
  • 633kh4ck
  • mbaraniak-exodus
  • jeehahn
  • hasakura
  • awesomeniko
  • davidexodus
  • r4vn
  • nantoaqui
  • exoleo
  • ale-exo
  • frankliexodus
  • bekatd
  • ronaldcrb
  • muratso
  • metasal