|
|
@ -3,6 +3,15 @@ defmodule EthereumJSONRPC.FetchedBeneficiary do |
|
|
|
A single balance request params for the beneficiary of a block. |
|
|
|
A single balance request params for the beneficiary of a block. |
|
|
|
""" |
|
|
|
""" |
|
|
|
|
|
|
|
|
|
|
|
@type params :: %{address_hash: EthereumJSONRPC.hash(), block_number: non_neg_integer()} |
|
|
|
alias Explorer.Chain.Block.Reward.AddressType |
|
|
|
|
|
|
|
alias Explorer.Chain.Hash |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@type params :: %{ |
|
|
|
|
|
|
|
address_hash: EthereumJSONRPC.hash(), |
|
|
|
|
|
|
|
address_type: AddressType.t(), |
|
|
|
|
|
|
|
block_hash: Hash.Full.t(), |
|
|
|
|
|
|
|
block_number: non_neg_integer(), |
|
|
|
|
|
|
|
reward: String.t() |
|
|
|
|
|
|
|
} |
|
|
|
@type error :: %{code: integer(), message: String.t(), data: %{block_number: non_neg_integer()}} |
|
|
|
@type error :: %{code: integer(), message: String.t(), data: %{block_number: non_neg_integer()}} |
|
|
|
end |
|
|
|
end |
|
|
|