Public Member Functions | |
__construct (EthD32 $transactionHash=null, EthQ $transactionIndex=null, EthD32 $blockHash=null, EthQ $blockNumber=null, EthQ $cumulativeGasUsed=null, EthQ $gasUsed=null, EthD20 $contractAddress=null, EthQ $status=null, array $logs=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 | |
$transactionHash | |
$transactionIndex | |
$blockHash | |
$blockNumber | |
$cumulativeGasUsed | |
$gasUsed | |
$contractAddress | |
$status | |
$logs | |
Generated by scripts/generate-complex-datatypes.php based on resources/ethjs-schema.json.
Definition at line 18 of file Receipt.php.
__construct | ( | EthD32 | $transactionHash = null , |
EthQ | $transactionIndex = null , |
||
EthD32 | $blockHash = null , |
||
EthQ | $blockNumber = null , |
||
EthQ | $cumulativeGasUsed = null , |
||
EthQ | $gasUsed = null , |
||
EthD20 | $contractAddress = null , |
||
EthQ | $status = null , |
||
array | $logs = null |
||
) |
EthD32 | $transactionHash | |
EthQ | $transactionIndex | |
EthD32 | $blockHash | |
EthQ | $blockNumber | |
EthQ | $cumulativeGasUsed | |
EthQ | $gasUsed | |
EthD20 | $contractAddress | |
EthQ | $status | |
array | $logs | Array of FilterChange |
Definition at line 76 of file Receipt.php.
References Receipt\$blockHash, Receipt\$blockNumber, Receipt\$contractAddress, Receipt\$cumulativeGasUsed, Receipt\$gasUsed, Receipt\$logs, Receipt\$status, Receipt\$transactionHash, Receipt\$transactionIndex, and status().
|
static |
Returns a name => type array.
Definition at line 91 of file Receipt.php.
toArray | ( | ) |
Returns array with values.
Implements EthDataTypeInterface.
Definition at line 108 of file Receipt.php.
References status(), and Ethereum\valueArray().
$blockHash |
Value for 'blockHash'.
Definition at line 33 of file Receipt.php.
Referenced by Receipt\__construct().
$blockNumber |
Value for 'blockNumber'.
Definition at line 38 of file Receipt.php.
Referenced by Receipt\__construct().
$contractAddress |
Value for 'contractAddress'.
Definition at line 53 of file Receipt.php.
Referenced by Receipt\__construct().
$cumulativeGasUsed |
Value for 'cumulativeGasUsed'.
Definition at line 43 of file Receipt.php.
Referenced by Receipt\__construct().
$gasUsed |
Value for 'gasUsed'.
Definition at line 48 of file Receipt.php.
Referenced by Receipt\__construct().
$logs |
$transactionHash |
Value for 'transactionHash'.
Definition at line 23 of file Receipt.php.
Referenced by Receipt\__construct().
$transactionIndex |
Value for 'transactionIndex'.
Definition at line 28 of file Receipt.php.
Referenced by Receipt\__construct().