The provider for the L1 network.
The ZKsync provider for the L2 network.
The address of the token to be bridged.
The deposit amount.
The recipient address on the L2 network.
Optional
from: stringThe sender address on the L1 network.
Optional
gasPerPubdataByte: NumbersThe current gas per byte of pubdata.
Returns an estimation of the L2 gas required for token bridging via the default ERC20 bridge.