Type Alias RequestExecuteDetails

RequestExecuteDetails: {
    calldata: string;
    contractAddress: Address;
    factoryDeps?: Bytes[];
    gasPerPubdataByte?: Numbers;
    l2GasLimit?: Numbers;
    l2Value?: Numbers;
    mintValue?: Numbers;
    operatorTip?: Numbers;
    overrides?: TransactionOverrides;
    refundRecipient?: Address;
}

Type declaration

  • calldata: string

    The input of the L2 transaction.

  • contractAddress: Address

    The L2 contract to be called.

  • OptionalfactoryDeps?: Bytes[]

    An array of L2 bytecodes that will be marked as known on L2.

  • OptionalgasPerPubdataByte?: Numbers

    The L2 gas price for each published L1 calldata byte.

  • Optionall2GasLimit?: Numbers

    Maximum amount of L2 gas that transaction can consume during execution on L2.

  • Optionall2Value?: Numbers

    msg.value of L2 transaction.

  • OptionalmintValue?: Numbers

    The amount of base token that needs to be minted on non-ETH-based L2.

  • OptionaloperatorTip?: Numbers

    If the ETH value passed with the transaction is not explicitly stated in the overrides, this field will be equal to the tip the operator will receive on top of the base cost of the transaction.

  • Optionaloverrides?: TransactionOverrides

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

  • OptionalrefundRecipient?: Address

    The address on L2 that will receive the refund for the transaction. If the transaction fails, it will also be the address to receive l2Value.