Strike Docs
Search…
Strike Docs
Strike Documentation
Getting Started
STokens
Comptroller
Governance
API
Strike.js
Strike Constructor
API Methods
sToken Methods
STRK Methods
Comptroller Methods
Ethereum Methods
Governance Methods
Price Feed Methods
Utility Methods
Get Address
Get ABI
Get Network Name With Chain ID
Security
Powered By
GitBook
Get ABI
Gets a contract ABI as a JavaScript array. This method supports contracts used by the Strike Protocol.
contract
(string) The name of the contract.
RETURN
(Array) Returns the ABI of the contract as a JavaScript array.
1
console.log('sETH ABI: ', Strike.util.getAbi(Strike.sETH));
Copied!
​
Previous
Get Address
Next
Get Network Name With Chain ID
Last modified
1yr ago
Copy link