Bitcoin Paymen php

General Tech Bugs & Fixes 2 years ago

9.32K 1 0 0 0

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

 

How to check when a address get paid in php . I m using this to get api into php and

 

    $rpcUser = "wallet1";

    $rpcPass = "12345";

    $url = "http://localhost:8888";

    $epic = new Bitcoin($url, $rpcUser, $rpcPass);

    $a = $epic->getreceivedbyaddress($address); 

this to get if it is paid and how much was paid.

 

So how i can do it to check if $a > 0 , and if $a > 0 { run some code} , and after close checking if $a > 0 ?

Please help me

0 views
0 shares

No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

Similar Forum