Class: CronosChainScanner::Tokens
- Inherits:
-
Object
- Object
- CronosChainScanner::Tokens
- Defined in:
- lib/cronos_chain_scanner/tokens.rb
Constant Summary collapse
- DEFAULT_HASH =
{ module: 'token' }.freeze
Class Method Summary collapse
Class Method Details
.getToken(contractaddress) ⇒ Object
8 9 10 11 12 |
# File 'lib/cronos_chain_scanner/tokens.rb', line 8 def getToken(contractaddress) hash = DEFAULT_HASH.merge(action: 'getToken', contractaddress: contractaddress) Request.get hash end |