> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Developer Actions

> Use the delegated materials to act on behalf of the user.

> [!NOTE]
>
> These actions run on your **server** using the decrypted delegated share and per‑wallet API key.

## Use the delegated wallet

Once you decrypt and store the delegated materials, you can perform allowed actions scoped to that wallet.

> [tab] EVM
>
> Use the EVM helper to act on behalf of the user. `walletApiKey` comes from decrypting `data.encryptedWalletApiKey`; `keyShare` comes from decrypting `data.encryptedDelegatedShare`.
>
> ```ts theme={"system"}
> const { createDelegatedEvmWalletClient, delegatedSignMessage } = import('@dynamic-labs-wallet/node-evm');
>
> const client = createDelegatedEvmWalletClient({
>   environmentId,
>   apiKey
> });
>
> const signature = await delegatedSignMessage(client, {
>   walletId,
>   walletApiKey,
>   keyShare,
>   message,
> });
> ```

> [tab] SVM
>
> Use the SVM helper to act on behalf of the user. `walletApiKey` comes from decrypting `data.encryptedWalletApiKey`; `keyShare` comes from decrypting `data.encryptedDelegatedShare`.
>
> ```ts theme={"system"}
> const { createDelegatedSvmWalletClient, delegatedSignMessage } = import('@dynamic-labs-wallet/node-svm');
>
> const client = createDelegatedSvmWalletClient({
>   environmentId,
>   apiKey
> });
>
> const signature = await delegatedSignMessage(client, {
>   walletId,
>   walletApiKey,
>   keyShare,
>   message,
> });
> ```

> [card] [What's next?](https://docs.dynamic.xyz/docs/kotlin/wallets/embedded-wallets/mpc/delegated-access/revoking-delegation.md)
>
> Learn how revoking delegation works

> [!TIP]
>
> Want to sponsor gas for delegated transactions from your server? See [Sponsor Gas for Server Wallets (EVM)](https://docs.dynamic.xyz/docs/node/wallets/server-wallets/gas-sponsorship.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.