# Integration Guide

### For Wallet Developers

```solidity
// Example: Batch transaction contract
contract BatchExecutor {
    function batchExecute(
        address[] calldata targets,
        bytes[] calldata data,
        uint256[] calldata values
    ) external {
        require(targets.length == data.length, "Length mismatch");

        for (uint i = 0; i < targets.length; i++) {
            (bool success, ) = targets[i].call{value: values[i]}(data[i]);
            require(success, "Batch execution failed");
        }
    }
}

```

### For DApp Developers

```jsx
// Creating an EIP-7702 transaction on Luntra Infrastructure
const authorizationList = [{
    chainId: 3470144, // Luntra Infrastructure Chain ID
    address: BATCH_EXECUTOR_ADDRESS,
    nonce: await signer.getTransactionCount(),
    // ... signature fields
}];

const tx = {
    type: 0x04,
    to: userAddress,
    data: batchExecuteCalldata,
    authorizationList,
    // ... other fields
};

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://luntra.gitbook.io/luntra-infrastructure/luntra-infrastructure-core/eip-7702-support-coming-to-luntra-infrastructure/integration-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
