Type Alias FullRequiredDepositFeeDetails

FullRequiredDepositFeeDetails: {
    bridgeAddress?: Address;
    customBridgeData?: Bytes;
    gasPerPubdataByte?: Numbers;
    overrides?: TransactionOverrides;
    to?: Address;
    token: Address;
}

Type declaration

  • OptionalbridgeAddress?: Address

    The address of the bridge contract to be used. Defaults to the default ZKsync Era bridge (either L1EthBridge or L1Erc20Bridge).

  • OptionalcustomBridgeData?: Bytes

    Additional data that can be sent to a bridge.

  • OptionalgasPerPubdataByte?: Numbers

    The L2 gas price for each published L1 calldata byte.

  • Optionaloverrides?: TransactionOverrides

    Transaction's overrides which may be used to pass L1 gasLimit, gasPrice, value, etc.

  • Optionalto?: Address

    The address that will receive the deposited tokens on L2.

  • token: Address

    The address of the token to deposit.