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 on an account.
Method: POST
RiseElixir.Delegates.disable_forging(%{secret: string, publicKey: string})
=> { success, }
Enable forging on an account.
Method: POST
RiseElixir.Delegates.enable_forging(%{secret: string, publicKey: string})
=> { success, }
Get list of RISE Delegates.
Method: GET
RiseElixir.Delegates.get(%{orderBy: string, limit: number, offset: number, includeBanned: ‘true’|’false’})
=> { success, meta, links }
Get delegate details.
Method: GET
RiseElixir.Delegates.get_delegate(%{publicKey: publicKey, username: string })
=> { success, delegate }
Get delegate fee.
Method: GET
RiseElixir.Delegates.get_fee(%{height?: number})
=> { success, fees, forged, rewards }
Get forged details by account.
Method: GET
RiseElixir.Delegates.get_forged_by_account(%{generatorPublicKey: publicKey, start?: number, end?: number })
=> { success, fees, forged, rewards }
Get delegate forging status.
Method: GET
RiseElixir.Delegates.get_forging_status(%{publicKey: publicKey})
=> { success, delegates, enabled }
Get list of next forgers.
Method: GET
RiseElixir.Delegates.get_next_forgers(%{})
=> { success, currentBlock, currentBlockSlot, currentSlot, delegates }
Get voters for a delegate.
Method: GET
RiseElixir.Delegates.get_voters(%{publicKey: publicKey})