README.md
This commit is contained in:
parent
24e5074722
commit
e7f2a2d3c0
@ -167,6 +167,12 @@ $contract->at($contractAddress)->call($functionName, $params, $callback);
|
|||||||
|
|
||||||
// change function state
|
// change function state
|
||||||
$contract->at($contractAddress)->send($functionName, $params, $callback);
|
$contract->at($contractAddress)->send($functionName, $params, $callback);
|
||||||
|
|
||||||
|
// estimate deploy contract gas
|
||||||
|
$contract->bytecode($bytecode)->estimateGas($params, $callback);
|
||||||
|
|
||||||
|
// estimate function gas
|
||||||
|
$contract->bytecode($bytecode)->estimateGas($functionName, $params, $callback);
|
||||||
```
|
```
|
||||||
|
|
||||||
# Examples
|
# Examples
|
||||||
|
Loading…
Reference in New Issue
Block a user