waveschainex v0.2.0 Waveschainex.Transactions

Link to this section Summary

Functions

Get list of transactions where specified address has been involved

Get transaction info

Get list of unconfirmed transactions

Get number of unconfirmed transactions in the UTX pool

Get transaction that is in the UTX

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_limit(client, address, limit, opts \\ [])
address_limit(Tesla.Env.client(), String.t(), integer(), keyword()) ::
  {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}

Get list of transactions where specified address has been involved

Parameters

  • client : Tesla client
  • address (String.t): Wallet address
  • limit (integer()): Specified number of records to be returned
  • opts: Optional parameters
Link to this function info(client, id, opts \\ [])
info(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}

Get transaction info

Parameters

  • client : Tesla client
  • id (String.t): Transaction id
  • opts: Optional parameters
Link to this function unconfirmed(client, opts \\ [])
unconfirmed(Tesla.Env.client(), keyword()) ::
  {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}

Get list of unconfirmed transactions

Parameters

  • client : Tesla client
  • opts: Optional parameters
Link to this function utx_size(client, opts \\ [])
utx_size(Tesla.Env.client(), keyword()) ::
  {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}

Get number of unconfirmed transactions in the UTX pool

Parameters

  • client : Tesla client
  • opts: Optional parameters
Link to this function utx_transaction_info(client, id, opts \\ [])
utx_transaction_info(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}

Get transaction that is in the UTX

Parameters

  • client : Tesla client
  • id (String.t): Transaction id
  • opts: Optional parameters