README.md
This commit is contained in:
parent
49dd1e9043
commit
aae85b1ec5
@ -176,6 +176,13 @@ $contract->bytecode($bytecode)->estimateGas($params, $callback);
|
|||||||
|
|
||||||
// estimate function gas
|
// estimate function gas
|
||||||
$contract->at($contractAddress)->estimateGas($functionName, $params, $callback);
|
$contract->at($contractAddress)->estimateGas($functionName, $params, $callback);
|
||||||
|
|
||||||
|
// get constructor data
|
||||||
|
$constructorData = $contract->bytecode($bytecode)->getData($params);
|
||||||
|
|
||||||
|
// get function data
|
||||||
|
$functionData = $contract->at($contractAddress)->getData($functionName, $params);
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# Assign value to outside scope(from callback scope to outside scope)
|
# Assign value to outside scope(from callback scope to outside scope)
|
||||||
|
Loading…
Reference in New Issue
Block a user