How are you doing? I need a help for integration cardano smart contract and frontend.
const tx = new Transaction({ initiator: wallet })
.sendAssets(
{
address: marketAddress,
datum: {
value: secretDatum,
},
},
[
{
unit: assetName,
quantity: "1",
},
],
);
Is there any way to add parameters? or no need to send any parameters when list nft to marketplace? then how to know price and asset owner and so on when buy nft?