Skip to content

Middleware

The aeternity middleware extends the node and exposes their own websocket and http api. Certain information such as AENS auction data cannot be directly fetched from the node. Thus you will have to communicate with the mdw to get access to this data.

At the moment the MiddlewareService only provides functions to get AENS auction relevant data.

If you need convenient access to any other specific API endpoint feel free to open an issue.

AENS

Get a specific auction

String aensName = "xyz.chain";
NameAuctionResult nameAuctionResult = aeternityService.mdw.blockingGetNameAuction(aensName);

Get all auctions

NameAuctionsResult nameAuctionsResult = aeternityService.mdw.blockingGetNameAuctions();