Optional
bridgeAddress?: AddressOptional
customBridgeData?: BytesAdditional data that can be sent to a bridge.
Optional
gasPerPubdataByte?: NumbersThe L2 gas price for each published L1 calldata byte.
Optional
overrides?: TransactionOverridesTransaction's overrides which may be used to pass L1 gasLimit
, gasPrice
, value
, etc.
Optional
to?: 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
L1EthBridge
orL1Erc20Bridge
).