Please make sure you have put all function params and callback.
satriawisesa03 opened this issue · 0 comments
satriawisesa03 commented
$contract->at($contractAddress)->send('createSertifikat',[$nama, $deskripsi, $base64Image], function ($err, $txHash) {
if ($err !== null) {
dd($err->getMessage());
}
echo 'Transaction Hash: ' . $txHash;
});
still got an error
InvalidArgumentException
Please make sure you have put all function params and callback.