# aptos4j

By [kobe](https://paragraph.com/@kobe-5) · 2022-08-17

---

aptos4j
=======

Java wrapper for the Aptos API.

![](https://storage.googleapis.com/papyrus_images/453d5af1d163d620e6a7a65658b4ccaf002a6c34db88644ca6ba66902bbdf515.png)

Usage
-----

This API client covers all Aptos's API endpoints and I'll try to update it when new endpoints are added.

For complete API documentation please refer to [https://fullnode.devnet.aptoslabs.com/spec.html#/](https://fullnode.devnet.aptoslabs.com/spec.html#/).

For examples Goto: [https://github.com/wpf008/aptos4j/blob/master/src/test/java/com/kobe/aptos/examples](https://github.com/wpf008/aptos4j/blob/master/src/test/java/com/kobe/aptos/examples)

    AptosApiClient client = new AptosApiClientImpl();
    LedgerInformation ledgerInformation = client.ledgerInformation();
    

To get transactions

    List<Transaction> transactions = client.getTransactions(1, 10);
    

License
-------

MIT License

Copyright (c) 2022 wpf008

---

*Originally published on [kobe](https://paragraph.com/@kobe-5/aptos4j)*
