OptionalbridgeAddress?: AddressOptionalcustomBridgeData?: BytesAdditional data that can be sent to a bridge.
OptionalgasPerPubdataByte?: NumbersThe L2 gas price for each published L1 calldata byte.
Optionaloverrides?: TransactionOverridesTransaction's overrides which may be used to pass L1 gasLimit, gasPrice, value, etc.
Optionalto?: AddressThe address that will receive the deposited tokens on L2.
The address of the token to deposit.
The address of the bridge contract to be used. Defaults to the default ZKsync Era bridge (either
L1EthBridgeorL1Erc20Bridge).