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 Address
Gets the contract address of the named contract. This method supports contracts used by the Strike Protocol.
contract
(string) The name of the contract.
[network]
(string) Optional name of the Ethereum network. Main net and all the popular public test nets are supported.
RETURN
(string) Returns the address of the contract.
1
console.log('sETH Address: ', Strike.util.getAddress(Strike.sETH));
Copied!
Previous
Utility Methods
Next
Get ABI
Last modified
1yr ago
Copy link