waveschainex v0.2.0 Waveschainex.Alias
Link to this section Summary
Functions
Returns an address associated with an Alias. Alias should be plain text without an alias prefix and network code
Returns a collection of aliases associated with an Address
Link to this section Types
Link to this type
option()
option() :: {:method, Tesla.Env.method()} | {:url, Tesla.Env.url()} | {:query, Tesla.Env.query()} | {:headers, Tesla.Env.headers()} | {:body, Tesla.Env.body()} | {:opts, Tesla.Env.opts()}
Link to this section Functions
Link to this function
address_of_alias(client, alias, opts \\ [])
address_of_alias(Tesla.Env.client(), String.t(), keyword()) :: {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Returns an address associated with an Alias. Alias should be plain text without an alias prefix and network code.
Parameters
- client : Tesla client
- alias (String.t): Alias
- opts: Optional parameters
Link to this function
alias_of_address(client, address, opts \\ [])
alias_of_address(Tesla.Env.client(), String.t(), keyword()) :: {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Returns a collection of aliases associated with an Address
Parameters
- client : Tesla client
- address (String.t): 3Mx2afTZ2KbRrLNbytyzTtXukZvqEB8SkW7
- opts: Optional parameters