rise_elixir v0.1.0 RiseElixir.Delegates

Functions for retrieving information about Delegate.

Summary

Functions

Disable forging on an account

Enable forging on an account

Get list of RISE Delegates

Get Delegates count

Get delegate details

Get delegate fee

Get forged details by account

Get delegate forging status

Get list of next forgers

Get voters for a delegate

Search delegate

Functions

disable_forging(args)

Disable forging on an account.

Method: POST

RiseElixir.Delegates.disable_forging(%{secret: string, publicKey: string})

=> { success, }

enable_forging(args)

Enable forging on an account.

Method: POST

RiseElixir.Delegates.enable_forging(%{secret: string, publicKey: string})

=> { success, }

get(args)

Get list of RISE Delegates.

Method: GET

RiseElixir.Delegates.get(%{orderBy: string, limit: number, offset: number, includeBanned: ‘true’|’false’})

=> { success, meta, links }

get_count()

Get Delegates count.

Method: GET

RiseElixir.Delegates.get_count()

=> { success, count }

get_delegate(args)

Get delegate details.

Method: GET

RiseElixir.Delegates.get_delegate(%{publicKey: publicKey, username: string })

=> { success, delegate }

get_fee(args)

Get delegate fee.

Method: GET

RiseElixir.Delegates.get_fee(%{height?: number})

=> { success, fees, forged, rewards }

get_forged_by_account(args)

Get forged details by account.

Method: GET

RiseElixir.Delegates.get_forged_by_account(%{generatorPublicKey: publicKey, start?: number, end?: number })

=> { success, fees, forged, rewards }

get_forging_status(args)

Get delegate forging status.

Method: GET

RiseElixir.Delegates.get_forging_status(%{publicKey: publicKey})

=> { success, delegates, enabled }

get_next_forgers(args)

Get list of next forgers.

Method: GET

RiseElixir.Delegates.get_next_forgers(%{})

=> { success, currentBlock, currentBlockSlot, currentSlot, delegates }

get_voters(args)

Get voters for a delegate.

Method: GET

RiseElixir.Delegates.get_voters(%{publicKey: publicKey})

=> { success, accounts }

search(args)

Search delegate.

Method: GET

RiseElixir.Delegates.search(%{q: string, limit?: number, orderBy?: string})

=> { success, delegates }