Class: CryptomateApi::Management::Blockchain

Inherits:
Base
  • Object
show all
Defined in:
lib/cryptomate_api/management/blockchain.rb

Overview

Get all the blockchains available in the platform. You can use this information to create new credentials for your clients or using every other endpoints that ask for the blockchain where you want to operate.

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from CryptomateApi::Base

Instance Method Details

#get_all_blockchainsObject

Get all blockchains cryptomate.me/docs/management#get-all-blockchains Response: [

{
  "id": "string",
  "description": "string"
}

]



18
19
20
# File 'lib/cryptomate_api/management/blockchain.rb', line 18

def get_all_blockchains
  self.class.get('/management/blockchains/list')
end