---
title: "Signed messages"
description: "Which EIP-712 message each signed call uses, and when to use each version."
---

Orders, transfers, withdrawals and wallet login carry a signature from your key (EIP-712). The SDKs sign for you; these pages are for signing by hand or for finding out why a signature is rejected. [Signing](../../guides/signing.md) walks through it step by step.

## Which message to sign

| Call | Message, and when to use each |
|---|---|
| [`set_derisk_mm_ratio`](../rpc/set_derisk_mm_ratio.md) | [`SetDeriskToMaintenanceMarginRatio`](SetDeriskToMaintenanceMarginRatio.md) |
| [`login_wallet`](../rpc/login_wallet.md) | [`WalletLogin`](WalletLogin.md) |
| [`bulk_orders`](../rpc/bulk_orders.md) | every element of `orders` separately, with its own nonce and expiration (the field tables' `order.` paths mean that element): [`Order`](Order.md) / [`OrderWithBuilderFee`](OrderWithBuilderFee.md). Each order is signed on its own, like create_order: OrderWithBuilderFee when that order's builder is set to a non-zero address, otherwise Order. The cancel lists and time_to_live_ms are not signed. |
| [`create_order`](../rpc/create_order.md) | [`Order`](Order.md) / [`OrderWithBuilderFee`](OrderWithBuilderFee.md). Use OrderWithBuilderFee when order.builder is set to a non-zero address, otherwise Order. |
| [`add_position_margin`](../rpc/add_position_margin.md) | [`AddIsolatedPositionMargin`](AddIsolatedPositionMargin.md) |
| [`set_position_config`](../rpc/set_position_config.md) | [`SetSubAccountPositionMarginConfig`](SetSubAccountPositionMarginConfig.md) |
| [`transfer`](../rpc/transfer.md) | [`Transfer`](Transfer.md) / [`TransferV2`](TransferV2.md) / [`TransferV3`](TransferV3.md). If from_wallet_type and to_wallet_type are both set: TransferV2 when the currency id fits uint8 (\<= 255), else TransferV3. If neither is set: Transfer (only for currency ids \<= 255). Setting only one is rejected. Sign TransferV3 only for currency ids above 255. |
| [`withdrawal`](../rpc/withdrawal.md) | [`Withdrawal`](Withdrawal.md) / [`WithdrawalV2`](WithdrawalV2.md). Withdrawal when the currency id fits uint8 (\<= 255), else WithdrawalV2. |
| [`vault_burn_tokens`](../rpc/vault_burn_tokens.md) | [`VaultBurnLpToken`](VaultBurnLpToken.md) |
| [`vault_invest`](../rpc/vault_invest.md) | [`VaultInvestV3`](VaultInvestV3.md) |
| [`vault_redeem`](../rpc/vault_redeem.md) | [`VaultRedeemV3`](VaultRedeemV3.md) |
