Create a new Listing for a provided assetId. Price and (currency or currencyId) are required.
export type ListAssetProps = { assetId: string; price: number; liveTime?: number; status?: ListingUpdateStatus; walletUserId?: string; currencyId?: string; currency?: string; }
const response = await assetlayer.listings.listAsset({ assetId: 'assetId', currencyId: 'currencyId', price: 100 });
type ReturnType = CreateListingResponse;
Last updated 1 year ago
List an Asset in the market