Ethereum PHP
PHP interface to Ethereum JSON-RPC API.
Select version
EthDataTypeInterface.php
Go to the documentation of this file.
1
<?php
9
namespace
Ethereum\DataType
;
10
use
Exception
;
11
12
interface
EthDataTypeInterface
13
{
14
21
public
static
function
isPrimitive
();
22
23
30
public
static
function
getDataLengthType
();
31
46
public
function
getProperty
(
string
$property =
'value'
,
bool
$hex_val =
false
);
47
61
public
function
setValue
($val, array $params = []);
62
79
public
static
function
getTypeClass
(
string
$type,
bool
$typed_constructor =
false
);
80
87
public
function
toArray
();
88
89
}
Ethereum\DataType\EthDataTypeInterface
Definition:
EthDataTypeInterface.php:12
Ethereum\DataType\EthDataTypeInterface\getProperty
getProperty(string $property='value', bool $hex_val=false)
Exception
Ethereum\DataType\EthDataTypeInterface\setValue
setValue($val, array $params=[])
Ethereum\DataType
Definition:
Block.php:11
Ethereum\DataType\EthDataTypeInterface\toArray
toArray()
Ethereum\DataType\EthDataTypeInterface\getDataLengthType
static getDataLengthType()
Ethereum\DataType\EthDataTypeInterface\isPrimitive
static isPrimitive()
Ethereum\DataType\EthDataTypeInterface\getTypeClass
static getTypeClass(string $type, bool $typed_constructor=false)
src
DataType
EthDataTypeInterface.php
Generated by
1.8.13