public function getTransactionHashes(
        int $blockCount,
        int $firstBlockIndex = null,
        string $blockHash = null,
        array $addresses = null,
        string $paymentId = null
    ):JsonResponse {
        $params = [
            'blockCount' => $blockCount,
        ];

        if (!is_null($firstBlockIndex)) $params['firstBlockIndex'] = $firstBlockIndex;
        if (!is_null($blockHash)) $params['blockHash'] = $blockHash;
        if (!is_null($addresses)) $params['addresses'] = $addresses;
        if (!is_null($paymentId)) $params['paymentId'] = $paymentId;

        return $this->rpcPost('getTransactionHashes', $params);
    }
public function getTransactionHashes(
        int $blockCount,
        int $firstBlockIndex = null,
        string $blockHash = null,
        array $addresses = null,
        string $paymentId = null
    ):JsonResponse {
        $params = [
            'blockCount' => $blockCount,
        ];

        if (!is_null($firstBlockIndex)) $params['firstBlockIndex'] = $firstBlockIndex;
        if (!is_null($blockHash)) $params['blockHash'] = $blockHash;
        if (!is_null($addresses)) $params['addresses'] = $addresses;
        if (!is_null($paymentId)) $params['paymentId'] = $paymentId;

        return $this->rpcPost('getTransactionHashes', $params);
    }
public function getTransactionHashes ( int $ blockCount , int $ firstBlockIndex = null , string $ blockHash = null , array $ addresses = null , string $ paymentId = null ) : JsonResponse { $ params = [ 'blockCount' => $ blockCount , ] ; if ( ! is_null ( $ firstBlockIndex ) ) $ params [ 'firstBlockIndex' ] = $ firstBlockIndex ; if ( ! is_null ( $ blockHash ) ) $ params [ 'blockHash' ] = $ blockHash ; if ( ! is_null ( $ addresses ) ) $ params [ 'addresses' ] = $ addresses ; if ( ! is_null ( $ paymentId ) ) $ params [ 'paymentId' ] = $ paymentId ; return $ this -> rpcPost ( 'getTransactionHashes' , $ params ) ; }
Returns an array of block and transaction hashes. Transaction consists of transfers.
Transfer is an amount-address pair. There could be several transfers in a single transaction.

@param int         $blockCount      Number of blocks to return transaction hashes from. Required.
@param int|null    $firstBlockIndex Starting height. Only allowed without $blockHash.
@param string|null $blockHash       Hash of the starting block. Only allowed without $firstBlockIndex.
@param array|null  $addresses       Array of strings, where each string is an address. Optional.
@param string|null $paymentId       Valid payment_id. Optional.
@return JsonResponse
Returns an array of block and transaction hashes . Transaction consists of transfers . Transfer is an amount - address pair . There could be several transfers in a single transaction .