Anoma.Client (Anoma v0.29.0)
Documentation for Client
.
Summary
Functions
I return the list of intents in the node I'm connected to.
I connect to a remote node over GRPC.
Given a Client, I disconnect it and cleanup.
I return the list of intents in the node I'm connected to.
I return the list of intents in the node I'm connected to.
I return the list of intents in the node I'm connected to.
I return the list of intents in the node I'm connected to.
I run a Nock program with its inputs, and return the result.
Types
Functions
add_intent(intent)
@spec add_intent(Anoma.TransparentResource.Transaction.t()) :: any()
I return the list of intents in the node I'm connected to.
connect(host, port, listen_port, node_id)
@spec connect(String.t(), integer(), integer(), String.t()) :: {:ok, t()} | {:error, term()} | {:error, term(), term()}
I connect to a remote node over GRPC.
disconnect(client)
@spec disconnect(t()) :: :ok
Given a Client, I disconnect it and cleanup.
list_intents()
@spec list_intents() :: [Noun.t()]
I return the list of intents in the node I'm connected to.
list_nullifiers()
@spec list_nullifiers() :: any()
I return the list of intents in the node I'm connected to.
list_unrevealed_commits()
@spec list_unrevealed_commits() :: any()
I return the list of intents in the node I'm connected to.
list_unspent_resources()
@spec list_unspent_resources() :: any()
I return the list of intents in the node I'm connected to.
run_nock(program, inputs)
I run a Nock program with its inputs, and return the result.