Decrease Collateral

It is still the payers money

At any time, the payer can withdraw funds from the escrow. As soon as this happens, the seller sees this decrease of funds and a negotiation can start.

let tokenId = toUint256WithFelts("0")
const amount = toUint256WithFelts((BigInt('500'.replace(/,/g, ''))).toString())

await account0.invoke(
    txEscrowContract, 
    'decrease', 
    { 
        tokenId: tokenId, 
        amount: amount 
    }, 
    { maxFee: FEE}
  )

Full control is essential for the payer, full transparency is essential for the seller. The Core protocol addresses both.

Last updated