Atomic Transfer
All platform transactions are carried out through Atomic Transfer involving the various stakeholders.
Here is an example of the application:
//Transaction 1 : payment to platform
$transactions = array();
$transactions[] = array(
"txn" => array(
"aamt" => $platformFee,
"type" => "axfer", //Tx Type
"fee" => 1000, //Fee
..............................//Transaction 2 : payment to hotspot owner
$transactions[] = array(
"txn" => array(
"aamt" => $hotspotFee,
"type" => "axfer", //Tx Type
"fee" => 1000, //Fee
..............................//Transaction 3 : payment to reserve address
$transactions[] = array(
"txn" => array(
"aamt" => $reserveFee,
"type" => "axfer", //Tx Type
"fee" => 1000, //Fee
...............................Last updated