new Query(chaincodeId, channel)
Construct a Proposal object.
Parameters:
Name | Type | Description |
---|---|---|
chaincodeId |
string | The chaincode this proposal will execute |
channel |
Channel | The channel of this proposal |
Returns:
The Proposal instance.
- Type
- Proposal
Methods
-
<async> send(request)
-
Send a signed transaction query proposal
Parameters:
Name Type Description request
SendProposalRequest options Returns:
The results of sending- Type
- ProposalResponse
-
toString()
-
return a printable representation of this object