pub fn append_request_endorser(
    request_json: &str,
    endorser_did: &str
) -> Box<dyn Future<Item = String, Error = IndyError>>
Expand description

Append Endorser to an existing request.

An author of request still is a DID used as a submitter_did parameter for the building of the request. But it is expecting that the transaction will be sent by the specified Endorser.

Note: Both Transaction Author and Endorser must sign output request after that.

More about Transaction Endorser: https://github.com/hyperledger/indy-node/blob/master/design/transaction_endorser.md https://github.com/hyperledger/indy-sdk/blob/master/docs/configuration.md

Arguments

  • request_json: original request data json.
  • endorser_did: DID of the Endorser that will submit the transaction. The Endorser’s DID must be present on the ledger.

Returns

Updated request result as json.