code: func GetChaincodeActionPayload(capBytes []byte) (*peer.ChaincodeActionPayload, error) {
  	cap := &peer.ChaincodeActionPayload{}
  	err := proto.Unmarshal(capBytes, cap)
  	return cap, errors.Wrap(err, "error unmarshaling ChaincodeActionPayload")
  }
docs: // GetChaincodeActionPayload Get ChaincodeActionPayload from bytes