UNPKG

@mojito-inc/core-service

Version:

Mojito Core API service for auction, payment, token

43 lines (42 loc) 1.14 kB
import { CurrencyCodeFiat } from '../../connect-wallet'; export interface GetNFTDetailsParam { orgId: string; networkId?: string; contractAddress?: string; onChainTokenID?: string; nftTokenId?: string; editionNumber?: number; ownerAddress?: string; buyerAddress?: string; currency?: CurrencyCodeFiat; } export declare enum NFTTxEventType { TRANSFER = "Transfer", OFFER = "Offer", MINTED = "Minted", LIST = "List", LIST_REMOVED = "List_Removed", SALE = "Sale", OFFER_SOLD = "Offer_Sold", EXPIRED = "Expired", OFFER_REJECTED = "Offer_Rejected", OFFER_CANCELLED = "Offer_Cancelled" } export interface GetNFTHistoryParam { networkId: string; contractAddress: string; tokenId: number; orgId: string; nftTokenId?: string; filterBy?: NFTTxEventType; ownerAddress?: string; offset?: number; limit?: number; currency?: CurrencyCodeFiat; } export interface GetNFTAttributesRarityParam { contractAddress: string; tokenID: number; networkID: string; refreshCatch?: boolean; }