Inheritance diagram for EstimateTransaction:
Collaboration diagram for EstimateTransaction:Public Member Functions | |
| __construct (EthD20 $from=null, EthD20 $to=null, EthQ $gas=null, EthQ $gasPrice=null, EthQ $value=null, EthD $data=null, EthQ $nonce=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') |
Public Attributes | |
| $from | |
| $to | |
| $gas | |
| $gasPrice | |
| $value | |
| $data | |
| $nonce | |
Ethereum data type EstimateTransaction.
Generated by scripts/generate-complex-datatypes.php based on resources/ethjs-schema.json.
Definition at line 18 of file EstimateTransaction.php.
| __construct | ( | EthD20 | $from = null, |
| EthD20 | $to = null, |
||
| EthQ | $gas = null, |
||
| EthQ | $gasPrice = null, |
||
| EthQ | $value = null, |
||
| EthD | $data = null, |
||
| EthQ | $nonce = null |
||
| ) |
Definition at line 64 of file EstimateTransaction.php.
References EstimateTransaction\$data, EstimateTransaction\$from, EstimateTransaction\$gas, EstimateTransaction\$gasPrice, EstimateTransaction\$nonce, EstimateTransaction\$to, and EstimateTransaction\$value.
|
static |
Returns a name => type array.
Definition at line 77 of file EstimateTransaction.php.
| toArray | ( | ) |
Returns array with values.
Implements EthDataTypeInterface.
Definition at line 92 of file EstimateTransaction.php.
| $data |
Value for 'data'.
Definition at line 48 of file EstimateTransaction.php.
Referenced by EstimateTransaction\__construct().
| $from |
Value for 'from'.
Definition at line 23 of file EstimateTransaction.php.
Referenced by EstimateTransaction\__construct().
| $gas |
Value for 'gas'.
Definition at line 33 of file EstimateTransaction.php.
Referenced by EstimateTransaction\__construct().
| $gasPrice |
Value for 'gasPrice'.
Definition at line 38 of file EstimateTransaction.php.
Referenced by EstimateTransaction\__construct().
| $nonce |
Value for 'nonce'.
Definition at line 53 of file EstimateTransaction.php.
Referenced by EstimateTransaction\__construct().
| $to |
Value for 'to'.
Definition at line 28 of file EstimateTransaction.php.
Referenced by EstimateTransaction\__construct().
| $value |
Value for 'value'.
Definition at line 43 of file EstimateTransaction.php.
Referenced by EstimateTransaction\__construct().