// Transfer moves crypto between wallets
// Returns an error if something goes wrong
//
// List of accepted Arguments:
//   - required: Address (string), Amount (string) , Currency (string)
//   - optional: Memo (string)
// https://developers.cryptomkt.com/#transferir
Transfer moves crypto between wallets
Returns an error if something goes wrong


// Transfer moves crypto between wallets // Returns an error if something goes wrong // // List of accepted Arguments : // - required : Address ( string ) Amount ( string ) Currency ( string ) // - optional : Memo ( string ) // https : // developers . cryptomkt . com / #transferir
func (client *Client) Transfer(arguments ...args.Argument) error {
	required := []string{"address", "amount", "currency"}
	resp, err := client.postReq("transfer", "Transfer", required, arguments...)
	if err != nil {
		return fmt.Errorf("error making the request: %s", err)
	}
	var iResp InstantResponse
	json.Unmarshal(resp, &iResp)
	if iResp.Status == "error" {
		return fmt.Errorf("error from the server side: %s", iResp.Message)
	}
	return nil
}
func ( client * Client ) Transfer ( arguments ... args . Argument ) error { required := [ ] string { " " , " " , " " } resp , err := client . postReq ( " " , " " , required , arguments ... ) if err != nil { return fmt . Errorf ( " " , err ) } var iResp InstantResponse json . Unmarshal ( resp , & iResp ) if iResp . Status == " " { return fmt . Errorf ( " " , iResp . Message ) } return nil }
Transfer moves crypto between wallets
Returns an error if something goes wrong
Transfer moves crypto between wallets Returns an error if something goes wrong