Ethereum PHP
PHP interface to Ethereum JSON-RPC API.
client-example.php File Reference

Go to the source code of this file.

Functions

foreach($hosts as $url) status ($eth)
 

Variables

const IS_PUBLIC TRUE
 
 $hosts
 

Function Documentation

◆ status()

foreach ( $hosts as $url) status (   $eth)

Displays the ethereum status report page.

This page provides a overview about Ethereum functions and usage.

Parameters
Ethereum$ethEtherum client instance.
Returns
array array of two HTML strings.

Definition at line 52 of file client-example.php.

References $address.

Referenced by Receipt\__construct(), and Receipt\toArray().

+ Here is the caller graph for this function:

Variable Documentation

◆ $hosts

$hosts
Initial value:
= [
'http://localhost:7545',
'https://kovan.infura.io/drupal'
]

Definition at line 18 of file client-example.php.

◆ IS_PUBLIC

const IS_PUBLIC TRUE

Definition at line 11 of file client-example.php.