Documentation ¶
Index ¶
Constants ¶
View Source
const ( DymEvmBlockExplorerNamespace = "evm" ApiVersion = "1.0" )
RPC namespaces and API version
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API is the EVM Block Explorer JSON-RPC.
func NewEvmBeAPI ¶
func NewEvmBeAPI( ctx *server.Context, backend ieberpcbackend.EvmBackendI, ) *API
NewEvmBeAPI creates an instance of the EVM Block Explorer API.
func (*API) GetErc20Balance ¶
func (api *API) GetErc20Balance(accountAddress common.Address, contractAddresses []common.Address) (berpctypes.GenericBackendResponse, error)
func (*API) GetErc20ContractInfo ¶
func (api *API) GetErc20ContractInfo(contractAddress common.Address) (berpctypes.GenericBackendResponse, error)
Click to show internal directories.
Click to hide internal directories.