Skip to Content
Hydra@exodus/nfts-proxy

@exodus/nfts-proxy

Version: 0.0.0

Variables

NftsProxyApi

class

Constructor

constructor
NftsProxyApi(__namedParameters?: NftsProxyApiParams): NftsProxyApi

Parameters:

__namedParameters (optional): NftsProxyApiParams

Returns:

NftsProxyApi

Properties

api
Record

Methods

decomposeId
decomposeId(nftId: string): any

Parameters:

nftId: string

Returns:

any
getNetwork
getNetwork(nft: string | Nft): string

Parameters:

nft: string | Nft

Returns:

string
getNft
getNft(nftId: string): Promise

Parameters:

nftId: string

Returns:

Promise
getNftImage
getNftImage(nftId: string, size: number, opts: any): Promise

Parameters:

nftId: string
size: number
opts: any

Returns:

Promise
getNftImageUrl
getNftImageUrl(nftId: string, size: number, __namedParameters?: any): string

Parameters:

nftId: string
size: number
__namedParameters (optional): any

Returns:

string
isEvm
isEvm(nft: string | Nft): boolean

Parameters:

nft: string | Nft

Returns:

boolean
request
request(url: string, queryParams?: QueryParams, options?: FetchOptions): Promise

Parameters:

url: string
queryParams (optional): QueryParams
options (optional): FetchOptions

Returns:

Promise

_default

variable

CollectionStats

interface

Properties

floorPrice
string
owners?
number
supply?
number
totalListed?
number
totalVolume?
string

Nft

interface

Properties

attributes?
collectionImage?
string
collectionName
string
contentType?
string
description?
string
id
string
image
string
name
string
network
string
number
number
owner?
string

NftsProxyApiParams

interface

Properties

baseUrl?
string
networks?
string[]

Transaction

interface

Properties

contractAddress?
string
date
number
from
string
nftId
string
to
string
tokenId?
string
tokenName?
string
txId
string

CanvasData

type

Properties

data
string
height
number
width
number

FetchFunction

type

FetchOptions

type

NftsByOwnerParams

type

Properties

addVerifiedStatus?
boolean
includeCompressedOnSolana?
boolean
includeListed?
boolean
includeSpam?
boolean
includeT22OnSolana?
boolean

QueryParams

type

NftsProxyApi

class

Constructor

constructor
NftsProxyApi(__namedParameters: NftsProxyApiParams): NftsProxyApi
networks is the list of network names, using Networks as default for non breaking change. Wallet should provide their own list, e.g. ME's BE only cares about solana, ethereum and bitcoin.

Parameters:

__namedParameters: NftsProxyApiParams

Returns:

NftsProxyApi

Properties

api
Record

Methods

decomposeId
decomposeId(nftId: string): any

Parameters:

nftId: string

Returns:

any
getNetwork
getNetwork(nft: string | Nft): string

Parameters:

nft: string | Nft

Returns:

string
getNft
getNft(nftId: string): Promise

Parameters:

nftId: string

Returns:

Promise
getNftImage
getNftImage(nftId: string, size: number, opts: any): Promise

Parameters:

nftId: string
size: number
opts: any

Returns:

Promise
getNftImageUrl
getNftImageUrl(nftId: string, size: number, __namedParameters: any): string

Parameters:

nftId: string
size: number
__namedParameters: any

Returns:

string
isEvm
isEvm(nft: string | Nft): boolean

Parameters:

nft: string | Nft

Returns:

boolean
request
request(url: string, queryParams?: QueryParams, options?: FetchOptions): Promise

Parameters:

url: string
queryParams (optional): QueryParams
options (optional): FetchOptions

Returns:

Promise

src

variable

CollectionStats

interface

Properties

floorPrice
string
owners?
number
supply?
number
totalListed?
number
totalVolume?
string

Nft

interface

Properties

attributes?
collectionImage?
string
collectionName
string
contentType?
string
description?
string
id
string
image
string
name
string
network
string
number
number
owner?
string

NftsProxyApiParams

interface

Properties

baseUrl?
string
networks?
string[]

Transaction

interface

Properties

contractAddress?
string
date
number
from
string
nftId
string
to
string
tokenId?
string
tokenName?
string
txId
string

CanvasData

type

Properties

data
string
height
number
width
number

FetchFunction

type

FetchOptions

type

NftsByOwnerParams

type

Properties

addVerifiedStatus?
boolean
includeCompressedOnSolana?
boolean
includeListed?
boolean
includeSpam?
boolean
includeT22OnSolana?
boolean

QueryParams

type

Start building

XO

Request Demo

Schedule a call with our team

Select a product
Arrow right

Start building
Grateful

Contact Us

We're here to help