graphenecommon.aio.blockchainobject module¶
-
class
graphenecommon.aio.blockchainobject.
BlockchainObject
(data, klass=None, lazy=False, use_cache=True, *args, **kwargs)¶ Bases:
graphenecommon.aio.blockchainobject.Caching
,graphenecommon.blockchainobject.BlockchainObject
-
class
graphenecommon.aio.blockchainobject.
BlockchainObjects
(*args, **kwargs)¶ Bases:
graphenecommon.aio.blockchainobject.Caching
,list
-
class
graphenecommon.aio.blockchainobject.
Caching
(*args, **kwargs)¶ Bases:
graphenecommon.blockchainobject.Caching
-
items
()¶ This overrides items() so that refresh() is called if the object is not already fetched
-
-
class
graphenecommon.aio.blockchainobject.
Object
(data, klass=None, lazy=False, use_cache=True, *args, **kwargs)¶ Bases:
graphenecommon.aio.blockchainobject.BlockchainObject
,graphenecommon.aio.instance.AbstractBlockchainInstanceProvider
This class is a basic class that allows to obtain any object from the blockchyin by fetching it through the API
-
refresh
()¶ This is the refresh method that overloads the prototype in BlockchainObject.
-