---
title: "VaultRedeemV3 (signed message)"
description: "EIP-712 type VaultRedeemV3: fields, type hash and how each field is built from the request JSON."
---

Signed by [`vault_redeem`](../rpc/vault_redeem.md). Step-by-step walkthrough: [Signing](../../guides/signing.md).

```text
VaultRedeemV3(uint64 vaultID,address accountID,uint64 numLpTokens,uint16 fromCurrency,uint16 toCurrency,uint64 exchangeRate,uint32 nonce,int64 expiration)
```

Type hash `0x0041a915dd4c05c7c4a826912cfd10269e6dd51bd2d89f24a5b4b575bb118f44`. Domain `{name: "GRVT Exchange", version: "0", chainId}`.

## Fields and where they come from

| EIP-712 field | Type | From request | Transform |
|---|---|---|---|
| `vaultID` | `uint64` | `vault_id` | `copy` |
| `accountID` | `address` | none: `result.main_account_id` of [`funding_account_summary`](../rpc/funding_account_summary.md) | `mainAccount`: your main account address, fetched once per session |
| `numLpTokens` | `uint64` | `num_tokens` | `scaled`: decimal × 10^6 |
| `fromCurrency` | `uint16` | `from_currency` | `currencyId`: `id` of the currency (get_currency) |
| `toCurrency` | `uint16` | `to_currency` | `currencyId`: `id` of the currency (get_currency) |
| `exchangeRate` | `uint64` | `exchange_rate` | `scaled`: decimal × 10^9 |
| `nonce` | `uint32` | `signature.nonce` | `sig.nonce` |
| `expiration` | `int64` | `signature.expiration` | `sig.expiration` |
| domain `chainId` | `uint256` | `signature.chain_id` | `sig.chainId` |

## Signing test cases

In [signing.json](../../downloads/signing.json), signed by the public test key:

- `vault_redeem` — Redeem 12.345678 shares (6 decimals) paid in USDT at 1.0001 USDT per USDC. accountID is the session's main account. Digest `0xa4b83096a74185b2cce4262757961859610ca0e54b18548e577014288144c9c2`.
