Also, it’s important to note that Ad Select Module needs to be kept updated about payments received by Supply-Side Platform from various Demand-Side Platforms, as this information might affect its future decisions on choosing Creatives from a particular Demand-Side Platform.
Scan the blockchain for payments#
Scanning is done by retrieving an account’s log with the get_log command.
Take note of the following fields:
$transactionId = $logEntry[‘id’]
$amount = $logEntry[‘amount’]
$address = $logEntry[‘address’]
It’s recommended to store the timestamp of the last event in order to limit the log size during a subsequent call.
Retrieve blockchain data using the get_block command.
Fetch valid transaction data using the get_transaction command.
For more details, refer to this section of the documentation: How to check incoming transactions