public function getTransactionsByAddresses(
        $type, $addresses, $beforeTx = null
    ) {
        if (is_null($beforeTx)) {
            $array = [
                'type'      => $type,
                'addresses' => $addresses,
            ];
        } else {
            $array = [
                'type'      => $type,
                'addresses' => $addresses,
                'before_tx' => $beforeTx,
            ];
        }

        return $this->blockIo->get_transactions($array);
    }
public function getTransactionsByAddresses(
        $type, $addresses, $beforeTx = null
    ) {
        if (is_null($beforeTx)) {
            $array = [
                'type'      => $type,
                'addresses' => $addresses,
            ];
        } else {
            $array = [
                'type'      => $type,
                'addresses' => $addresses,
                'before_tx' => $beforeTx,
            ];
        }

        return $this->blockIo->get_transactions($array);
    }
public function getTransactionsByAddresses ( $ type , $ addresses , $ beforeTx = null ) { if ( is_null ( $ beforeTx ) ) { $ array = [ 'type' => $ type , 'addresses' => $ addresses , ] ; } else { $ array = [ 'type' => $ type , 'addresses' => $ addresses , 'before_tx' => $ beforeTx , ] ; } return $ this -> blockIo -> get_transactions ( $ array ) ; }
Returns various data for the last 25 transactions spent or received.
You can optionally specify a before_tx parameter to get earlier
transactions.

You can use this method to query for addresses that are not on your
account.

Each result provides a confidence rating that shows the network's belief
in the transaction's viability. This is useful if you need to validate
transactions quickly (for e.g., in retail store settings) without
waiting for confirmations. We recommend waiting for confidence
ratings to reach 0.90-0.99 for unconfirmed transactions if
you need to validate it. For unconfirmed transactions,
you are also provided with the number of nodes
(propagated_by_nodes) on the Network that
approve of the given unconfirmed
transaction (out of 150
sampled nodes).

If a double spend is detected for an unconfirmed transaction, its
confidence rating falls to 0.0.

@param $type string Containing the type 'sent' or 'received'
@param $addresses string Containing comma separated addresses values
@param $beforeTx string Containing transaction id

@return object Contains transactions details
Returns various data for the last 25 transactions spent or received . You can optionally specify a before_tx parameter to get earlier transactions .