CEP_Account.getTransaction()
With this method you can search a specific transaction by the blockID and the TxID.
Function Signature
public function getTransaction(int $blockNum, string $txID): arrayParameters
Parameter Name
Datatype
$blockNum
String
$txID
String
Example
//...
$status = $account->getTransaction($blockID, $txID);
if ($status == 200) {
echo "Transaction Status: " .
$status["Response"]["Status"] .
"\n";
//...
} else {
echo "Error on retrieving transaction";
}
//...Expected Result
Last updated