Decrease Collateral
It is still the payers money
let tokenId = toUint256WithFelts("0")
const amount = toUint256WithFelts((BigInt('500'.replace(/,/g, ''))).toString())
await account0.invoke(
txEscrowContract,
'decrease',
{
tokenId: tokenId,
amount: amount
},
{ maxFee: FEE}
)Last updated