Kujira.Contract (kujira v0.1.1)
Documentation for Kujira
.
Summary
Functions
Queries the full, raw contract state at an address. It's highly recommended to memoize any calls to this function, and invalidate them in response to external events e.g. a matching tx in a node websocket subscription
Functions
Link to this function
query_state_all()
Queries the full, raw contract state at an address. It's highly recommended to memoize any calls to this function, and invalidate them in response to external events e.g. a matching tx in a node websocket subscription
Examples
iex> Kujira.hello()
:world
Link to this function
query_state_smart(channel, address, query)
@spec query_state_smart(GRPC.Channel.t(), String.t(), map()) :: {:ok, map()} | {:error, GRPC.RPCError.t()}