rise_elixir v0.1.0 RiseElixir.Blocks

Functions for retrieving information relating to blocks.

Summary

Functions

Get List of blocks, by default empty query parameters are allowed, Send query parameters to get appropriate block details

Get Blockchain broadhash

Get List of blocks, by default empty query parameters are allowed, Send query parameters to get appropriate block details

Get RISE Blockchain epoch time

Get Blockchain transaction fee

Get RISE Blockchain fees

Get Blockchain height

Get RISE Blockchain Milestone

Get RISE Blockchain nethash

Get RISE Blockchain Reward

Get RISE Blockchain Status

Get RISE Blockchain Supply

Functions

get(args)

Get List of blocks, by default empty query parameters are allowed, Send query parameters to get appropriate block details.

Method: GET

RiseElixir.Blocks.get(%{})

=> { success, blocks, count }

get_broadhash()

Get Blockchain broadhash.

Method: GET

RiseElixir.Blocks.get_broadhash()

=> { success, broadhash }

get_by_id(args)

Get List of blocks, by default empty query parameters are allowed, Send query parameters to get appropriate block details.

Method: GET

RiseElixir.Blocks.get_by_id(%{id: “13191140260435645922”})

=> { success, block }

get_epoch()

Get RISE Blockchain epoch time.

Method: GET

RiseElixir.Blocks.get_epoch()

=> { success, epoch }

get_fee(args)

Get Blockchain transaction fee.

Method: GET

RiseElixir.Blocks.get_fee(%{height: 10})

=> { success, fee, fromHeight, toHeight, height }

get_fees(args)

Get RISE Blockchain fees.

Method: GET

RiseElixir.Blocks.get_fees(%{height: 10})

=> { success, %fees{}, fromHeight, toHeight, height }

get_height()

Get Blockchain height.

Method: GET

RiseElixir.Blocks.get_height()

=> { success, height }

get_milestone()

Get RISE Blockchain Milestone.

Method: GET

RiseElixir.Blocks.get_milestone()

=> { success, milestone }

get_nethash()

Get RISE Blockchain nethash.

Method: GET

RiseElixir.Blocks.get_nethash()

=> { success, nethash }

get_reward()

Get RISE Blockchain Reward.

Method: GET

RiseElixir.Blocks.get_reward()

=> { success, reward }

get_status()

Get RISE Blockchain Status.

Method: GET

RiseElixir.Blocks.get_status()

=> { success, broadhash, fee, height, milestone, nethash, reward, supply }

get_supply()

Get RISE Blockchain Supply.

Method: GET

RiseElixir.Blocks.get_supply()

=> { success, supply }