# Call Justswap

JustSwap's trade pair contract is created by contract, so it does not have an API on-chain.

To call it, you need to set ABI manually.

ABI json file: <https://github.com/andelf/tronpy/blob/master/examples/JustSwapExchange.abi>

## Python

Ref: <https://github.com/andelf/tronpy/blob/master/examples/justswap.py>

## JavaScript

```
const CONTRACT = "T....."; // the address

const abi = [.....]; // the json object
const contract = tronWeb.contract(abi, CONTRACT);

const balance = await contract.methods.xxxxx(....).call();
```
