code: func (r FutureExportWatchingWalletResult) Receive() ([]byte, []byte, error) {
  	res, err := receiveFuture(r)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	// Unmarshal result as a JSON object.
  	var obj map[string]interface{}
  	err = json.Unmarshal(res, &obj)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	// Check for the wallet and tx string fields in the object.
  	base64Wallet, ok := obj["wallet"].(string)
  	if !ok {
  		return nil, nil, fmt.Errorf("unexpected response type for "+
  			"exportwatchingwallet 'wallet' field: %T\n",
  			obj["wallet"])
  	}
  	base64TxStore, ok := obj["tx"].(string)
  	if !ok {
  		return nil, nil, fmt.Errorf("unexpected response type for "+
  			"exportwatchingwallet 'tx' field: %T\n",
  			obj["tx"])
  	}
  
  	walletBytes, err := base64.StdEncoding.DecodeString(base64Wallet)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	txStoreBytes, err := base64.StdEncoding.DecodeString(base64TxStore)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	return walletBytes, txStoreBytes, nil
  
  }
docs: // Receive waits for the response promised by the future and returns the
  // exported wallet.