web3p/web3.php

Please make sure you have put all function params and callback.

satriawisesa03 opened this issue · 0 comments

$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.