Skip to content

Error executing batch method #81

@hsfzmsn

Description

@hsfzmsn

$eth = $this->web3->eth;
$eth->batch(true);
$eth->gasPrice();
$eth->protocolVersion();
$eth->syncing();

  $eth->provider->execute(function ($err, $data2) {
    
      if ($err !== null) {
          throw $err;
      }
          echo "data:";
          var_dump($data2);
  });

# returns
data:
array(3) {
[0] => NULL
[1] => NULL
[2] => NULL
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions