public function subscribeAddressTransactions($identifier, $address, $confirmations = 6) {
        $postData = [
            'event_type'    => 'address-transactions',
            'address'       => $address,
            'confirmations' => $confirmations,
        ];
        $response = $this->blocktrailClient->post("webhook/{$identifier}/events", null, $postData, RestClient::AUTH_HTTP_SIG);
        return self::jsonDecode($response->body(), true);
    }
public function subscribeAddressTransactions($identifier, $address, $confirmations = 6) {
        $postData = [
            'event_type'    => 'address-transactions',
            'address'       => $address,
            'confirmations' => $confirmations,
        ];
        $response = $this->blocktrailClient->post("webhook/{$identifier}/events", null, $postData, RestClient::AUTH_HTTP_SIG);
        return self::jsonDecode($response->body(), true);
    }
public function subscribeAddressTransactions ( $ identifier , $ address , $ confirmations = 6 ) { $ postData = [ 'event_type' => 'address-transactions' , 'address' => $ address , 'confirmations' => $ confirmations , ] ; $ response = $ this -> blocktrailClient -> post ( "webhook/{$identifier}/events" , null , $ postData , RestClient :: AUTH_HTTP_SIG ) ; return self :: jsonDecode ( $ response -> body ( ) , true ) ; }
subscribes a webhook to transaction events on a particular address
@param  string  $identifier      the unique identifier of the webhook to be triggered
@param  string  $address         the address hash
@param  integer $confirmations   the amount of confirmations to send.
@return array                    associative array containing the response
subscribes a webhook to transaction events on a particular address