> For the complete documentation index, see [llms.txt](https://docs.chainvine.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chainvine.xyz/developers/sdk/classes-and-functions/chainvineclient/syncuser-walletaddress.md).

# syncUser(walletAddress)

In addition to creating a [ChaivineUser](/developers/sdk/classes-and-functions/chainvineuser.md) instance from your [ChainvineClient](/developers/sdk/classes-and-functions/chainvineclient.md), this method will sync the wallet to the database and return the wallet's ChainVine User Id.

## EVM Wallet Addresses

<pre class="language-typescript"><code class="lang-typescript">import { ChainvineClient } from '@chainvine/sdk';

const client = new ChainvineClient({
    apiKey: '9dj022didj', //your api key
});

<strong>//Get a user's wallet address by id
</strong>const userClient = await client.syncUser(
    '0x0384093304u83', // your user's wallet address
);

</code></pre>

### Params

<table><thead><tr><th width="180">Param</th><th width="141">Required</th><th>Description</th></tr></thead><tbody><tr><td>walletAddress</td><td>required</td><td>the wallet of the user to general a referral link for</td></tr></tbody></table>

### **Response**

A ChainvineUser client instance
