Skip to Content

NftsProxyApi

class

NftsProxyApi

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

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