/* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ export type BuyAssetOnMarketplaceKMS = { /** * Blockchain to work with. */ chain: 'ETH' | 'ONE' | 'BSC' | 'KLAY' | 'MATIC'; /** * Address of the marketplace smart contract. */ contractAddress: string; /** * Optional address of the ERC20 token, which will be used as a selling currency of the NFT. */ erc20Address?: string; /** * In case of the ERC20 listing, it's possible to buy on behalf of someone else. This value is the address of the buyer, which should approve spending of the ERC20 tokens for the Marketplace contract. This could be used for a buying from the custodial wallet address. */ buyer?: string; /** * ID of the listing. */ listingId: string; /** * Amount of the assets to be sent for buying. */ amount: string; /** * Identifier of the private key associated in signing application. Private key, or signature Id must be present. */ signatureId: string; /** * If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic. */ index?: number; /** * Nonce to be set to Ethereum transaction. If not present, last known nonce will be used. */ nonce?: number; /** * Custom defined fee. If not present, it will be calculated automatically. */ fee?: { /** * Gas limit for transaction in gas price. */ gasLimit: string; /** * Gas price in Gwei. */ gasPrice: string; }; }