<!-- Canonical: https://docs.linea.build/network/build/tools/libraries/web3j -->

> For the complete Linea documentation index, see [llms.txt](/llms.txt).
> Agents can fetch this page as Markdown at [https://docs.linea.build/network/build/tools/libraries/web3j.md](https://docs.linea.build/network/build/tools/libraries/web3j.md).

# Web3j

[Web3j](https://web3labs.com/web3j-sdk) is a lightweight, modular, and open-source Java library designed for EVM blockchains. Since Linea is EVM-equivalent, it is completely compatible with Web3j.

Web3j supports Linea-specific RPC methods:

-   [`linea_estimateGas`](/api/reference/linea-estimategas) can be called using `lineaEstimateGas()`
-   [`linea_getProof`](/api/reference/linea-getproof) can be called using `lineaGetProof()`
-   [`linea_getTransactionExclusionStatusV1`](/api/reference/linea-gettransactionexclusionstatusv1) can be called using `lineaGetTransactionExclusionStatusV1()`.

To get started, visit the [documentation](https://docs.web3j.io/latest/quickstart/), or [read more](https://lfdecentralizedtrust.org/blog/full-linea-rpc-apis-support-in-web3j) about using the Linea-specific RPC methods.
