web3p / web3.php

A php interface for interacting with the Ethereum blockchain and ecosystem. Native ABI parsing and smart contract interactions.
MIT License
1.17k stars 555 forks source link

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

Open satriawisesa03 opened 7 months ago

satriawisesa03 commented 7 months ago
$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.