new ContrOperation()
`ContrOperation` class represents [contrOperations] in Stellar network.
Use one of static methods to create contract operations:
* thuannd start
* `ContrOperation.check`
* `ContrOperation.invoke`
* `ContrOperation.query`
* `ContrOperation.transfer`
* thuannd end
- Source:
Methods
(static) fromXDRObject(contrOperation) → {ContrOperation}
Converts the XDR Contract Operation object to the opts object used to create the XDR
contract operation.
Parameters:
| Name | Type | Description |
|---|---|---|
contrOperation |
xdr.ContrOperation | An XDR contract operation. |
- Source:
Returns:
- Type
- ContrOperation