> ## 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.

# Signing with a Business-Account Wallet

> Sign transactions and messages in Swift with a wallet owned by a business account.

> [!NOTE]
>
> Business Accounts are in **early access**. See [Business Accounts](https://docs.dynamic.xyz/docs/business-accounts/accounts.md) for the model.

A business-account wallet is a standard Dynamic embedded wallet. Once you are an active [signer](https://docs.dynamic.xyz/docs/swift/business-accounts/manage-signers.md) on it, you sign the same way as with any embedded wallet. There is no business-account-specific signing API.

## Sign with the wallet

Wallets you can sign for appear in `sdk.wallets.userWallets`. Match one against the account's wallets, then pass it to the standard signing calls.

```swift theme={"system"}
import DynamicSDKSwift

let sdk = DynamicSDK.instance()

let detail = try await sdk.businessAccounts.get(businessAccountId: account.id)
let accountWalletIds = Set((detail.wallets ?? []).map { $0.id })

guard let wallet = sdk.wallets.userWallets.first(where: { candidate in
    guard let id = candidate.id else { return false }
    return accountWalletIds.contains(id)
}) else { return }

let signature = try await sdk.wallets.signMessage(wallet: wallet, message: "gm")
```

For transactions, use the chain module that matches the wallet: [EVM](https://docs.dynamic.xyz/docs/swift/wallets/evm/send-eth.md) or [Solana](https://docs.dynamic.xyz/docs/swift/wallets/solana/send-transactions.md).

> [!NOTE]
>
> Only active signers can sign. Being an admin or viewer does not grant signing access. See [Members and roles](https://docs.dynamic.xyz/docs/swift/business-accounts/members-and-roles.md).

> [!TIP]
>
> If a newly linked wallet does not appear in `sdk.wallets.userWallets` yet, refresh authentication so the session picks it up before signing. You can observe `sdk.wallets.userWalletsChanges` to react when it arrives.

## Related

> [card] [Manage signers](https://docs.dynamic.xyz/docs/swift/business-accounts/manage-signers.md)
>
> Confirm the caller holds an active share.

> [card] [Message signing](https://docs.dynamic.xyz/docs/swift/wallets/evm/message-signing.md)
>
> The standard signing primitive, used unchanged here.

> [card] [Quorum policies](https://docs.dynamic.xyz/docs/swift/business-accounts/quorum-policies.md)
>
> Require member approvals before the wallet signs.


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