Gets a contract ABI as a JavaScript array. This method supports contracts used by the Agile Protocol.
contract (string) The name of the contract.
contract
RETURN (Array) Returns the ABI of the contract as a JavaScript array.
RETURN
console.log('aBNB ABI: ', Agile.util.getAbi(Agile.aBNB));
Last updated 4 years ago