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:
NftsProxyApiProperties
api
Record
Methods
decomposeId
decomposeId(nftId: string): any
Parameters:
nftId: string
Returns:
anygetNft
getNft(nftId: string): Promise
Parameters:
nftId: string
Returns:
PromisegetNftImage
getNftImage(nftId: string, size: number, opts: any): Promise
Parameters:
nftId: string
size: number
opts: any
Returns:
PromisegetNftImageUrl
getNftImageUrl(nftId: string, size: number, __namedParameters: any): string
Parameters:
nftId: string
size: number
__namedParameters: any
Returns:
stringrequest
