Inheritance diagram for Block:
Collaboration diagram for Block:Public Member Functions | |
| __construct (EthQ $number=null, EthD32 $hash=null, EthD32 $parentHash=null, EthD $nonce=null, EthD $sha3Uncles=null, EthD $logsBloom=null, EthD $transactionsRoot=null, EthD $stateRoot=null, EthD $receiptsRoot=null, EthD $miner=null, EthQ $difficulty=null, EthQ $totalDifficulty=null, EthD $extraData=null, EthQ $size=null, EthQ $gasLimit=null, EthQ $gasUsed=null, EthQ $timestamp=null, array $transactions=null, array $uncles=null) | |
| toArray () | |
Public Member Functions inherited from EthDataType | |
| getProperty (string $property='value', bool $returnHexVal=false) | |
| setValue ($val, array $params=[]) | |
| getClassName () | |
Static Public Member Functions | |
| static | getTypeArray () |
Static Public Member Functions inherited from EthDataType | |
| const static | getClassByAbi (string $abiType) |
| static | getDataLengthType () |
| static | isPrimitive () |
| static | getTypeClass (string $type, bool $typed_constructor=false) |
| static | getAllTypeClasses () |
Static Public Member Functions inherited from EthereumStatic | |
| static | getMethodSignature ($input) |
| static | phpKeccak256 ($string) |
| static | sha3 ($string) |
| static | isValidFunction ($input) |
| static | getDefinition () |
| static | isValidHexQuantity ($str) |
| static | isValidHexData ($str) |
| static | isValidAddress ($address, $throw=false) |
| static | hasHexPrefix ($str) |
| static | removeHexPrefix ($str) |
| static | ensureHexPrefix ($str) |
| static | convertCurrency (float $amount, string $from='wei', string $to='ether') |
Generated by scripts/generate-complex-datatypes.php based on resources/ethjs-schema.json.
| __construct | ( | EthQ | $number = null, |
| EthD32 | $hash = null, |
||
| EthD32 | $parentHash = null, |
||
| EthD | $nonce = null, |
||
| EthD | $sha3Uncles = null, |
||
| EthD | $logsBloom = null, |
||
| EthD | $transactionsRoot = null, |
||
| EthD | $stateRoot = null, |
||
| EthD | $receiptsRoot = null, |
||
| EthD | $miner = null, |
||
| EthQ | $difficulty = null, |
||
| EthQ | $totalDifficulty = null, |
||
| EthD | $extraData = null, |
||
| EthQ | $size = null, |
||
| EthQ | $gasLimit = null, |
||
| EthQ | $gasUsed = null, |
||
| EthQ | $timestamp = null, |
||
| array | $transactions = null, |
||
| array | $uncles = null |
||
| ) |
| EthQ | $number | |
| EthD32 | $hash | |
| EthD32 | $parentHash | |
| EthD | $nonce | |
| EthD | $sha3Uncles | |
| EthD | $logsBloom | |
| EthD | $transactionsRoot | |
| EthD | $stateRoot | |
| EthD | $receiptsRoot | |
| EthD | $miner | |
| EthQ | $difficulty | |
| EthQ | $totalDifficulty | |
| EthD | $extraData | |
| EthQ | $size | |
| EthQ | $gasLimit | |
| EthQ | $gasUsed | |
| EthQ | $timestamp | |
| array | $transactions | Array of Transaction |
| array | $uncles | Array of EthD |
Definition at line 136 of file Block.php.
References Block\$difficulty, Block\$extraData, Block\$gasLimit, Block\$gasUsed, Block\$hash, Block\$logsBloom, Block\$miner, Block\$nonce, Block\$number, Block\$parentHash, Block\$receiptsRoot, Block\$sha3Uncles, Block\$size, Block\$stateRoot, Block\$timestamp, Block\$totalDifficulty, Block\$transactions, Block\$transactionsRoot, and Block\$uncles.
|
static |
| toArray | ( | ) |
Returns array with values.
Implements EthDataTypeInterface.
Definition at line 188 of file Block.php.
References Ethereum\valueArray().
Here is the call graph for this function:| $difficulty |
| $extraData |
| $gasLimit |
| $gasUsed |
| $hash |
| $logsBloom |
| $miner |
| $nonce |
| $number |
| $parentHash |
| $receiptsRoot |
Value for 'receiptsRoot'.
Definition at line 63 of file Block.php.
Referenced by Block\__construct().
| $sha3Uncles |
| $size |
| $stateRoot |
| $timestamp |
| $totalDifficulty |
Value for 'totalDifficulty'.
Definition at line 78 of file Block.php.
Referenced by Block\__construct().
| $transactions |
Value for 'transactions'.
Definition at line 108 of file Block.php.
Referenced by Block\__construct().
| $transactionsRoot |
Value for 'transactionsRoot'.
Definition at line 53 of file Block.php.
Referenced by Block\__construct().
| $uncles |