Ethereum PHP
PHP interface to Ethereum JSON-RPC API.
Web3Interface Interface Reference
+ Inheritance diagram for Web3Interface:

Public Member Functions

 web3_clientVersion ()
 
 web3_sha3 (EthS $arg1)
 
 net_version ()
 
 net_peerCount ()
 
 net_listening ()
 
 personal_sign (EthD20 $arg1, EthD $arg2, EthS $arg3)
 
 personal_ecRecover (EthD $arg1, EthD $arg2)
 
 eth_protocolVersion ()
 
 eth_syncing ()
 
 eth_coinbase ()
 
 eth_mining ()
 
 eth_hashrate ()
 
 eth_gasPrice ()
 
 eth_accounts ()
 
 eth_blockNumber ()
 
 eth_getBalance (EthD20 $arg1, EthBlockParam $arg2)
 
 eth_getStorageAt (EthD20 $arg1, EthQ $arg2, EthBlockParam $arg3)
 
 eth_getTransactionCount (EthD20 $arg1, EthBlockParam $arg2)
 
 eth_getBlockTransactionCountByHash (EthD32 $arg1)
 
 eth_getBlockTransactionCountByNumber (EthBlockParam $arg1)
 
 eth_getUncleCountByBlockHash (EthD32 $arg1)
 
 eth_getUncleCountByBlockNumber (EthQ $arg1)
 
 eth_getCode (EthD20 $arg1, EthBlockParam $arg2)
 
 eth_sign (EthD20 $arg1, EthD32 $arg2)
 
 eth_sendTransaction (SendTransaction $arg1)
 
 eth_sendRawTransaction (EthD $arg1)
 
 eth_call (CallTransaction $arg1, EthBlockParam $arg2)
 
 eth_estimateGas (EstimateTransaction $arg1, EthBlockParam $arg2)
 
 eth_getBlockByHash (EthD32 $arg1, EthB $arg2)
 
 eth_getBlockByNumber (EthBlockParam $arg1, EthB $arg2)
 
 eth_getTransactionByHash (EthD32 $arg1)
 
 eth_getTransactionByBlockHashAndIndex (EthD32 $arg1, EthQ $arg2)
 
 eth_getTransactionByBlockNumberAndIndex (EthBlockParam $arg1, EthQ $arg2)
 
 eth_getTransactionReceipt (EthD32 $arg1)
 
 eth_getUncleByBlockHashAndIndex (EthD32 $arg1, EthQ $arg2)
 
 eth_getUncleByBlockNumberAndIndex (EthBlockParam $arg1, EthQ $arg2)
 
 eth_getCompilers ()
 
 eth_compileLLL (EthS $arg1)
 
 eth_compileSolidity (EthS $arg1)
 
 eth_compileSerpent (EthS $arg1)
 
 eth_newFilter (Filter $arg1)
 
 eth_newBlockFilter ()
 
 eth_newPendingTransactionFilter ()
 
 eth_uninstallFilter (EthQ $arg1)
 
 eth_getFilterChanges (EthQ $arg1)
 
 eth_getFilterLogs (EthQ $arg1)
 
 eth_getLogs (Filter $arg1)
 
 eth_getWork ()
 
 eth_submitWork (EthD $arg1, EthD32 $arg2, EthD32 $arg3)
 
 eth_submitHashrate (EthD $arg1, EthD $arg2)
 
 db_putString (EthS $arg1, EthS $arg2, EthS $arg3)
 
 db_getString (EthS $arg1, EthS $arg2)
 
 db_putHex (EthS $arg1, EthS $arg2, EthD $arg3)
 
 db_getHex (EthS $arg1, EthS $arg2)
 
 shh_post (SHHPost $arg1)
 
 shh_version ()
 
 shh_newIdentity ()
 
 shh_hasIdentity (EthD $arg1)
 
 shh_newGroup ()
 
 shh_addToGroup (EthD $arg1)
 
 shh_newFilter (SHHFilter $arg1)
 
 shh_uninstallFilter (EthQ $arg1)
 
 shh_getFilterChanges (EthQ $arg1)
 
 shh_getMessages (EthQ $arg1)
 

Detailed Description

Ethereum JsonRPC Methods.

Interface is generated by scripts/generate-methods.php based on resources/ethjs-schema.json. Methods are actually implemented with method overloading using __call().

Definition at line 37 of file Web3Interface.php.

Member Function Documentation

◆ db_getHex()

db_getHex ( EthS  $arg1,
EthS  $arg2 
)

Generated method db_getHex().

See Ethereum Wiki db_getHex

Parameters
EthS$arg1
EthS$arg2
Returns
null|EthD

◆ db_getString()

db_getString ( EthS  $arg1,
EthS  $arg2 
)

Generated method db_getString().

See Ethereum Wiki db_getString

Parameters
EthS$arg1
EthS$arg2
Returns
null|EthS

◆ db_putHex()

db_putHex ( EthS  $arg1,
EthS  $arg2,
EthD  $arg3 
)

Generated method db_putHex().

See Ethereum Wiki db_putHex

Parameters
EthS$arg1
EthS$arg2
EthD$arg3
Returns
null|EthB

◆ db_putString()

db_putString ( EthS  $arg1,
EthS  $arg2,
EthS  $arg3 
)

Generated method db_putString().

See Ethereum Wiki db_putString

Parameters
EthS$arg1
EthS$arg2
EthS$arg3
Returns
null|EthB

◆ eth_accounts()

eth_accounts ( )

Generated method eth_accounts().

See Ethereum Wiki eth_accounts

Returns
null|array Array of EthD20

◆ eth_blockNumber()

eth_blockNumber ( )

Generated method eth_blockNumber().

See Ethereum Wiki eth_blockNumber

Returns
null|EthQ

◆ eth_call()

eth_call ( CallTransaction  $arg1,
EthBlockParam  $arg2 
)

Generated method eth_call().

See Ethereum Wiki eth_call

Parameters
CallTransaction$arg1
EthBlockParam$arg2
Returns
null|EthD

◆ eth_coinbase()

eth_coinbase ( )

Generated method eth_coinbase().

See Ethereum Wiki eth_coinbase

Returns
null|EthD20

◆ eth_compileLLL()

eth_compileLLL ( EthS  $arg1)

Generated method eth_compileLLL().

See Ethereum Wiki eth_compileLLL

Parameters
EthS$arg1
Returns
null|EthD

◆ eth_compileSerpent()

eth_compileSerpent ( EthS  $arg1)

Generated method eth_compileSerpent().

See Ethereum Wiki eth_compileSerpent

Parameters
EthS$arg1
Returns
null|EthD

◆ eth_compileSolidity()

eth_compileSolidity ( EthS  $arg1)

Generated method eth_compileSolidity().

See Ethereum Wiki eth_compileSolidity

Parameters
EthS$arg1
Returns
null|EthD

◆ eth_estimateGas()

eth_estimateGas ( EstimateTransaction  $arg1,
EthBlockParam  $arg2 
)

Generated method eth_estimateGas().

See Ethereum Wiki eth_estimateGas

Parameters
EstimateTransaction$arg1
EthBlockParam$arg2
Returns
null|EthQ

◆ eth_gasPrice()

eth_gasPrice ( )

Generated method eth_gasPrice().

See Ethereum Wiki eth_gasPrice

Returns
null|EthQ

◆ eth_getBalance()

eth_getBalance ( EthD20  $arg1,
EthBlockParam  $arg2 
)

Generated method eth_getBalance().

See Ethereum Wiki eth_getBalance

Parameters
EthD20$arg1
EthBlockParam$arg2
Returns
null|EthQ

◆ eth_getBlockByHash()

eth_getBlockByHash ( EthD32  $arg1,
EthB  $arg2 
)

Generated method eth_getBlockByHash().

See Ethereum Wiki eth_getBlockByHash

Parameters
EthD32$arg1
EthB$arg2
Returns
null|Block

◆ eth_getBlockByNumber()

eth_getBlockByNumber ( EthBlockParam  $arg1,
EthB  $arg2 
)

Generated method eth_getBlockByNumber().

See Ethereum Wiki eth_getBlockByNumber

Parameters
EthBlockParam$arg1
EthB$arg2
Returns
null|Block

◆ eth_getBlockTransactionCountByHash()

eth_getBlockTransactionCountByHash ( EthD32  $arg1)

Generated method eth_getBlockTransactionCountByHash().

See Ethereum Wiki eth_getBlockTransactionCountByHash

Parameters
EthD32$arg1
Returns
null|EthQ

◆ eth_getBlockTransactionCountByNumber()

eth_getBlockTransactionCountByNumber ( EthBlockParam  $arg1)

Generated method eth_getBlockTransactionCountByNumber().

See Ethereum Wiki eth_getBlockTransactionCountByNumber

Parameters
EthBlockParam$arg1
Returns
null|EthQ

◆ eth_getCode()

eth_getCode ( EthD20  $arg1,
EthBlockParam  $arg2 
)

Generated method eth_getCode().

See Ethereum Wiki eth_getCode

Parameters
EthD20$arg1
EthBlockParam$arg2
Returns
null|EthD

◆ eth_getCompilers()

eth_getCompilers ( )

Generated method eth_getCompilers().

See Ethereum Wiki eth_getCompilers

Returns
null|array Array of EthS

◆ eth_getFilterChanges()

eth_getFilterChanges ( EthQ  $arg1)

Generated method eth_getFilterChanges().

See Ethereum Wiki eth_getFilterChanges

Parameters
EthQ$arg1
Returns
null|array Array of FilterChange

◆ eth_getFilterLogs()

eth_getFilterLogs ( EthQ  $arg1)

Generated method eth_getFilterLogs().

See Ethereum Wiki eth_getFilterLogs

Parameters
EthQ$arg1
Returns
null|array Array of FilterChange

◆ eth_getLogs()

eth_getLogs ( Filter  $arg1)

Generated method eth_getLogs().

See Ethereum Wiki eth_getLogs

Parameters
Filter$arg1
Returns
null|array Array of FilterChange

◆ eth_getStorageAt()

eth_getStorageAt ( EthD20  $arg1,
EthQ  $arg2,
EthBlockParam  $arg3 
)

Generated method eth_getStorageAt().

See Ethereum Wiki eth_getStorageAt

Parameters
EthD20$arg1
EthQ$arg2
EthBlockParam$arg3
Returns
null|EthD

◆ eth_getTransactionByBlockHashAndIndex()

eth_getTransactionByBlockHashAndIndex ( EthD32  $arg1,
EthQ  $arg2 
)

Generated method eth_getTransactionByBlockHashAndIndex().

See Ethereum Wiki eth_getTransactionByBlockHashAndIndex

Parameters
EthD32$arg1
EthQ$arg2
Returns
null|Transaction

◆ eth_getTransactionByBlockNumberAndIndex()

eth_getTransactionByBlockNumberAndIndex ( EthBlockParam  $arg1,
EthQ  $arg2 
)

Generated method eth_getTransactionByBlockNumberAndIndex().

See Ethereum Wiki eth_getTransactionByBlockNumberAndIndex

Parameters
EthBlockParam$arg1
EthQ$arg2
Returns
null|Transaction

◆ eth_getTransactionByHash()

eth_getTransactionByHash ( EthD32  $arg1)

Generated method eth_getTransactionByHash().

See Ethereum Wiki eth_getTransactionByHash

Parameters
EthD32$arg1
Returns
null|Transaction

◆ eth_getTransactionCount()

eth_getTransactionCount ( EthD20  $arg1,
EthBlockParam  $arg2 
)

Generated method eth_getTransactionCount().

See Ethereum Wiki eth_getTransactionCount

Parameters
EthD20$arg1
EthBlockParam$arg2
Returns
null|EthQ

◆ eth_getTransactionReceipt()

eth_getTransactionReceipt ( EthD32  $arg1)

Generated method eth_getTransactionReceipt().

See Ethereum Wiki eth_getTransactionReceipt

Parameters
EthD32$arg1
Returns
null|Receipt

◆ eth_getUncleByBlockHashAndIndex()

eth_getUncleByBlockHashAndIndex ( EthD32  $arg1,
EthQ  $arg2 
)

Generated method eth_getUncleByBlockHashAndIndex().

See Ethereum Wiki eth_getUncleByBlockHashAndIndex

Parameters
EthD32$arg1
EthQ$arg2
Returns
null|Block

◆ eth_getUncleByBlockNumberAndIndex()

eth_getUncleByBlockNumberAndIndex ( EthBlockParam  $arg1,
EthQ  $arg2 
)

Generated method eth_getUncleByBlockNumberAndIndex().

See Ethereum Wiki eth_getUncleByBlockNumberAndIndex

Parameters
EthBlockParam$arg1
EthQ$arg2
Returns
null|Block

◆ eth_getUncleCountByBlockHash()

eth_getUncleCountByBlockHash ( EthD32  $arg1)

Generated method eth_getUncleCountByBlockHash().

See Ethereum Wiki eth_getUncleCountByBlockHash

Parameters
EthD32$arg1
Returns
null|EthQ

◆ eth_getUncleCountByBlockNumber()

eth_getUncleCountByBlockNumber ( EthQ  $arg1)

Generated method eth_getUncleCountByBlockNumber().

See Ethereum Wiki eth_getUncleCountByBlockNumber

Parameters
EthQ$arg1
Returns
null|EthQ

◆ eth_getWork()

eth_getWork ( )

Generated method eth_getWork().

See Ethereum Wiki eth_getWork

Returns
null|array Array of EthD

◆ eth_hashrate()

eth_hashrate ( )

Generated method eth_hashrate().

See Ethereum Wiki eth_hashrate

Returns
null|EthQ

◆ eth_mining()

eth_mining ( )

Generated method eth_mining().

See Ethereum Wiki eth_mining

Returns
null|EthB

◆ eth_newBlockFilter()

eth_newBlockFilter ( )

Generated method eth_newBlockFilter().

See Ethereum Wiki eth_newBlockFilter

Returns
null|EthQ

◆ eth_newFilter()

eth_newFilter ( Filter  $arg1)

Generated method eth_newFilter().

See Ethereum Wiki eth_newFilter

Parameters
Filter$arg1
Returns
null|EthQ

◆ eth_newPendingTransactionFilter()

eth_newPendingTransactionFilter ( )

◆ eth_protocolVersion()

eth_protocolVersion ( )

Generated method eth_protocolVersion().

See Ethereum Wiki eth_protocolVersion

Returns
null|EthS

◆ eth_sendRawTransaction()

eth_sendRawTransaction ( EthD  $arg1)

Generated method eth_sendRawTransaction().

See Ethereum Wiki eth_sendRawTransaction

Parameters
EthD$arg1
Returns
null|EthD32

◆ eth_sendTransaction()

eth_sendTransaction ( SendTransaction  $arg1)

Generated method eth_sendTransaction().

See Ethereum Wiki eth_sendTransaction

Parameters
SendTransaction$arg1
Returns
null|EthD

◆ eth_sign()

eth_sign ( EthD20  $arg1,
EthD32  $arg2 
)

Generated method eth_sign().

See Ethereum Wiki eth_sign

Parameters
EthD20$arg1
EthD32$arg2
Returns
null|EthD

◆ eth_submitHashrate()

eth_submitHashrate ( EthD  $arg1,
EthD  $arg2 
)

Generated method eth_submitHashrate().

See Ethereum Wiki eth_submitHashrate

Parameters
EthD$arg1
EthD$arg2
Returns
null|EthB

◆ eth_submitWork()

eth_submitWork ( EthD  $arg1,
EthD32  $arg2,
EthD32  $arg3 
)

Generated method eth_submitWork().

See Ethereum Wiki eth_submitWork

Parameters
EthD$arg1
EthD32$arg2
EthD32$arg3
Returns
null|EthB

◆ eth_syncing()

eth_syncing ( )

Generated method eth_syncing().

See Ethereum Wiki eth_syncing

Returns
null|EthB

◆ eth_uninstallFilter()

eth_uninstallFilter ( EthQ  $arg1)

Generated method eth_uninstallFilter().

See Ethereum Wiki eth_uninstallFilter

Parameters
EthQ$arg1
Returns
null|EthB

◆ net_listening()

net_listening ( )

Generated method net_listening().

See Ethereum Wiki net_listening

Returns
null|EthB

◆ net_peerCount()

net_peerCount ( )

Generated method net_peerCount().

See Ethereum Wiki net_peerCount

Returns
null|EthQ

◆ net_version()

net_version ( )

Generated method net_version().

See Ethereum Wiki net_version

Returns
null|EthS

◆ personal_ecRecover()

personal_ecRecover ( EthD  $arg1,
EthD  $arg2 
)

Generated method personal_ecRecover().

See Ethereum Wiki personal_ecRecover

Parameters
EthD$arg1
EthD$arg2
Returns
null|EthD20

◆ personal_sign()

personal_sign ( EthD20  $arg1,
EthD  $arg2,
EthS  $arg3 
)

Generated method personal_sign().

See Ethereum Wiki personal_sign

Parameters
EthD20$arg1
EthD$arg2
EthS$arg3
Returns
null|EthD

◆ shh_addToGroup()

shh_addToGroup ( EthD  $arg1)

Generated method shh_addToGroup().

See Ethereum Wiki shh_addToGroup

Parameters
EthD$arg1
Returns
null|EthB

◆ shh_getFilterChanges()

shh_getFilterChanges ( EthQ  $arg1)

Generated method shh_getFilterChanges().

See Ethereum Wiki shh_getFilterChanges

Parameters
EthQ$arg1
Returns
null|array Array of SHHFilterChange

◆ shh_getMessages()

shh_getMessages ( EthQ  $arg1)

Generated method shh_getMessages().

See Ethereum Wiki shh_getMessages

Parameters
EthQ$arg1
Returns
null|array Array of SHHFilterChange

◆ shh_hasIdentity()

shh_hasIdentity ( EthD  $arg1)

Generated method shh_hasIdentity().

See Ethereum Wiki shh_hasIdentity

Parameters
EthD$arg1
Returns
null|EthB

◆ shh_newFilter()

shh_newFilter ( SHHFilter  $arg1)

Generated method shh_newFilter().

See Ethereum Wiki shh_newFilter

Parameters
SHHFilter$arg1
Returns
null|EthQ

◆ shh_newGroup()

shh_newGroup ( )

Generated method shh_newGroup().

See Ethereum Wiki shh_newGroup

Returns
null|EthD

◆ shh_newIdentity()

shh_newIdentity ( )

Generated method shh_newIdentity().

See Ethereum Wiki shh_newIdentity

Returns
null|EthD

◆ shh_post()

shh_post ( SHHPost  $arg1)

Generated method shh_post().

See Ethereum Wiki shh_post

Parameters
SHHPost$arg1
Returns
null|EthB

◆ shh_uninstallFilter()

shh_uninstallFilter ( EthQ  $arg1)

Generated method shh_uninstallFilter().

See Ethereum Wiki shh_uninstallFilter

Parameters
EthQ$arg1
Returns
null|EthB

◆ shh_version()

shh_version ( )

Generated method shh_version().

See Ethereum Wiki shh_version

Returns
null|EthS

◆ web3_clientVersion()

web3_clientVersion ( )

Generated method web3_clientVersion().

See Ethereum Wiki web3_clientVersion

Returns
null|EthS

◆ web3_sha3()

web3_sha3 ( EthS  $arg1)

Generated method web3_sha3().

See Ethereum Wiki web3_sha3

Parameters
EthS$arg1
Returns
null|EthD

The documentation for this interface was generated from the following file: