> For the complete documentation index, see [llms.txt](https://docs.agilefi.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.agilefi.org/agile.js/utility-methods/get-abi.md).

# Get ABI

Gets a contract ABI as a JavaScript array. This method supports contracts used by the Agile Protocol.

* `contract` (string) The name of the contract.
* `RETURN` (Array) Returns the ABI of the contract as a JavaScript array.

```
console.log('aBNB ABI: ', Agile.util.getAbi(Agile.aBNB));
```
