Class: IOSTSdk::Models::Query::ContractStorage

Inherits:
Object
  • Object
show all
Includes:
IOSTSdk::Models
Defined in:
lib/iost_sdk/models/query/contract_storage.rb

Overview

This represents the JSON payload for developers.iost.io/docs/en/6-reference/API.html#getcontractstorage The API simply returns { “data”: value }, where value is a JSON string defined by a DApp

Constant Summary

Constants included from IOSTSdk::Models

MODEL_REGISTRY

Class Method Summary collapse

Methods included from IOSTSdk::Models

included, #parse, #raw_data

Class Method Details

.attr_namesObject



13
14
15
16
17
18
19
20
# File 'lib/iost_sdk/models/query/contract_storage.rb', line 13

def self.attr_names
  [
    'id',
    'field',
    'key',
    'by_longest_chain'
  ]
end