Trigger the constant of the smart contract, the transaction is off the blockchain. Returns the Transaction Object.
Usage
visionWeb.transactionBuilder.triggerConstantContract(
contractAddress,
functions,
options,
parameter,
issuerAddress
);
Parameters
| Parameter | Description | Type | Default |
|---|---|---|---|
| contractAddress | The smart contract address. | string | - |
| functions | Function call, must not leave a blank space. | string | - |
| options | Permission id,feeLimit,callValue. | object | - |
| parameter | The parameter passed to 'function'. | string | - |
| issuerAddress | Address that triggers the contract. | string | - |
Returns
Object.
Example
visionWeb.transactionBuilder.triggerConstantContract("46f151d2b560d0f0a983cdbfc85fff392bb8874258","name()",{},[]);
> vzz
