diff --git a/src/Chain33/Token/Client.php b/src/Chain33/Token/Client.php index 24c4bd9..b005088 100644 --- a/src/Chain33/Token/Client.php +++ b/src/Chain33/Token/Client.php @@ -165,7 +165,7 @@ public function tx(string $symbol, string $addr, int $count, int $flag = 0, int 'index' => $index, 'direction' => $direction, ], - ]); + ])['txInfos']; } /** diff --git a/src/Chain33/Transaction/Client.php b/src/Chain33/Transaction/Client.php index 8f3d262..439975f 100644 --- a/src/Chain33/Transaction/Client.php +++ b/src/Chain33/Transaction/Client.php @@ -195,7 +195,7 @@ public function getTx(string $addr, int $count, int $flag = 0, int $direction = 'direction' => $direction, 'height' => $height, 'index' => $index, - ]); + ])['txInfos']; } /**