Documentation

Transaction extends Model
in package

Table of Contents

$block  : string
$blockHash  : string
$callInfo  : ContractCallInfo|null
$contractAddress  : string|null
$cumulativeGasUsed  : string|null
$data  : string
$from  : string
$gas  : string
$gasPrice  : string
$gasUsed  : string|null
$hash  : string|null
$logs  : array<string|int, mixed>|null
$logsBloom  : string|null
$nonce  : string
$r  : string
$s  : string
$status  : bool|null
$to  : string
$transactionIndex  : string|null
$type  : string|null
$v  : string
$value  : string
mapFrom()  : array<string|int, mixed>
toArray()  : array<string|int, mixed>
toJson()  : string
toObject()  : object

Properties

$contractAddress

public string|null $contractAddress

$cumulativeGasUsed

public string|null $cumulativeGasUsed

$transactionIndex

public string|null $transactionIndex

Methods

mapFrom()

public mapFrom() : array<string|int, mixed>
Return values
array<string|int, mixed>

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

toJson()

public toJson() : string
Return values
string

toObject()

public toObject() : object
Return values
object

Search results