I am using esyBitcoin to call and pass asset information in php
This is my function that is returning invalid amount when i use the function. Please help me
public function addAssets($address,$asset_name){
$quantity = 1000.0;
$smallest_unit = 1;
$native_amount = 0.1;
$custom_fields = "{'Country','USA'}";
return $this->bitcoin->issue($address,$asset_name,$quantity,$smallest_unit,$native_amount,$custom_fields);
}