New answers tagged

0

Try this example: $contract->at($contract_addr2)->estimateGas('transfer', $to_addr, 1 , function ($err, $gas) use (&$gasLimit) { if ($err !== null) { echo $err->getMessage(); return false; } else { $gasLimit = $gas; } });


Top 50 recent answers are included