Operate v0.1.0-beta.15 Operate.Adapter.Terminus View Source

Adapter module for loading tapes from Bitbus and Bitsocket using Terminus.

Examples

iex> Operate.Adapter.Terminus.fetch_tx(txid, token: "mytoken")
{:ok, %Operate.BPU.Transaction{}}

Link to this section Summary

Link to this section Functions

Link to this function

fetch_ops(refs, options \\ [])

View Source

Callback implementation for Operate.Adapter.fetch_ops/2.

Link to this function

fetch_ops!(refs, options \\ [])

View Source

Callback implementation for Operate.Adapter.fetch_ops!/2.

Link to this function

fetch_tx(txid, options \\ [])

View Source

Callback implementation for Operate.Adapter.fetch_tx/2.

Link to this function

fetch_tx!(txid, options \\ [])

View Source

Callback implementation for Operate.Adapter.fetch_tx!/2.

Link to this function

fetch_tx_by(query, options \\ [])

View Source

Callback implementation for Operate.Adapter.fetch_tx_by/2.

Link to this function

fetch_tx_by!(query, options \\ [])

View Source

Callback implementation for Operate.Adapter.fetch_tx_by!/2.

Specs

Converts the map from the Planaria HTTP response to a Operate.BPU.Transaction.t/0.