Base
network, and 100 Gwei on the Ethereum
network. However, gas prices on Ethereum vary widely, potentially surging up to 5x during periods of high congestion, and decreasing by 10x during low traffic.USD prices of the assets are based on the price as at the time of this writing (April 2024), ETH
is trading at around $2,962.70.The token used for gas payment on a network is referred to as the native token, i.e. ETH
is the native token on Base
and Ethereum
.These values will be used throughout this section.Point 1: Escrow Account Creation
0.0000625 ETH (0.19 USD)
on Base, and 0.025 ETH (74.37 USD)
on Ethereum network.Point 2: On-ramp order (buying crypto)
AvailableBalance
(i.e. assets not yet locked).While there are 3 possible blockchain transactions that can occur during an on-ramp transaction, for a typical transaction, only 2 of those transactions will ever be processed.initiator
(usually the platform integrating the protocol) to lock funds on their behalf. In this case, the buyer has to wait for the LP to sign and send the transaction (paying gas fees) before the assets can be locked.initiator
to lock funds on their behalf. In this case, the mediator will be responsible for sending the transaction to the blockchain, and paying the gas fee.0.000015 ETH (0.044 USD)
on Base and 0.006 ETH (17.85 USD)
on Ethereum.
AvailableBalance
(which can be withdrawn at-will).
This transaction involves changing the state of the escrow data in the SCEA only. The cancellation can be initiated by the buyer or by the mediator (in the case of a dispute).
This is estimated cost around 30,000 Gas units, which comes to 0.00015 BNB ($0.084)
on BSC, and 0.003 ETH ($8.92)
on Ethereum.
0.0005 BNB ($0.28)
on BSC and 0.01 ETH (~$29.75)
on the Ethereum network.
Point 3: Off-ramp order (selling crypto)
0.00025 BNB ($0.14)
on BSC and 0.005 ETH (~$14.87)
on the Ethereum network.
0.0005 BNB ($0.28)
on BSC and 0.01 ETH (~$29.75)
on Ethereum network.
0.0005 BNB ($0.28)
on BSC and 0.01 ETH (~$29.75)
on the Ethereum network.
AvailableBalance
within the SCEA. This transaction involves changing the state of the escrow data in the SCEA only, and can be initiated by the seller or by the mediator.
This is estimated to cost only around 30,000 Gas units, which is 0.00015 BNB ($0.084)
on BSC, and 0.003 ETH ($8.92)
.
Point 4: Withdrawals from Escrow
AvailableBalance
not locked in an order from their escrow account. The security design of the protocol ensures that withdrawals can only be done to the owner’s original wallet address used to create the SCEA.Only one transaction is needed to withdraw funds from the escrow account. This is the transaction that calls the withdrawal
function of the escrow account. This checks the AvailableBalance
, ensures it is equal to or above the withdrawal amount requested, then performs a transfer of the selected token to the owner’s address. This transaction can be initiated by the owner or the mediator.This transaction is estimated to cost around 90,000 - 100,000 Gas units depending on the token involved, meaning the maximum value would be about 0.0005 BNB ($0.28)
on BSC and 0.01 ETH (~$29.75)
on the Ethereum network.