export declare class Market { /** * @deprecated Use `redirect` instead. */ callback?: string; /** * redirect url after payment has been handled * @returns as parameter of the redirect url * * `tx`: the transaction hash * * `status`: the status of the transaction (`executed` or `failed`) this still needs to be validated as successfully executed * * `sale`: the sale id * * `assets`: the asset ids as `"12345,12345,12345"` * */ redirect?: string; /** * the chain your collection is working on (only `wax` is supported) */ chain?: 'wax'; /** * the max. 12 character id of the collection */ collection: string; /** * Custom needs to JSON.stringify() and pass as a string */ custom?: { /** * Global smart contract being used to fill `field` data */ contract: { /** * Key used to look up information can be "sale_id", "template_id", "asset_id" */ key: 'sale_id' | 'asset_id' | 'template_id'; /** * The address of the contract */ contract: string; /** * The scope of the contract */ scope: string; /** * The table of the contract */ table: string; }; /** * Global content that will be display on every card */ content: { /** * Name of the content field `required` */ name: string; /** * value is based on path in sales item see: [https://aa.neftyblocks.com/docs](https://aa.neftyblocks.com/docs/#/sales/get_atomicmarket_v1_sales__sale_id_) */ value?: string; /** * Skip displaying value/field that is not found `optional` */ skip?: boolean; /** * Symbol to append after the value `optional` * @example `$` -> `100 $` */ symbol?: string; /** * Field is used for smart contract data `optional` (no nested values) */ field?: string; }[]; schemas?: { [key: string]: { /** * contract from schemas will override the global set contract */ contract: { key: 'sale_id' | 'asset_id' | 'template_id'; contract: string; scope: string; table: string; }; /** * content from schemas will be appended to the end of the global set content */ content: { name: string; value?: string; skip?: boolean; symbol?: string; field?: string; }[]; }; }; }; /** * Only useful for development */ endpoint?: string; /** * Limited of items per page * @default 60 * @max 100 */ limit?: number; /** * Supported networks for each `chain` */ network?: 'mainnet' | 'testnet'; }