Packages

Elixir websockets library and utilities for Bitshares/Graphene 2.0 blockchain

Current section

Files

Jump to
graphene_client_ex lib graphene_block.ex
Raw

lib/graphene_block.ex

defmodule Graphene.Block do
defstruct [:height, :transactions, :previous, :transactions_merkle_root, :witness, :witness_signature, :timestamp, :extensions]
use ExConstructor
def unpack_txs(block) do
for tx <- block.transactions, do: tx
end
end