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

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

```text
Transfer(address fromAccount,uint64 fromSubAccount,address toAccount,uint64 toSubAccount,uint8 tokenCurrency,uint64 numTokens,uint32 nonce,int64 expiration)
```

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

## Fields and where they come from

| EIP-712 field | Type | From request | Transform |
|---|---|---|---|
| `fromAccount` | `address` | `from_account_id` | `address` |
| `fromSubAccount` | `uint64` | `from_sub_account_id` | `copy`; absent = `0` |
| `toAccount` | `address` | `to_account_id` | `address` |
| `toSubAccount` | `uint64` | `to_sub_account_id` | `copy`; absent = `0` |
| `tokenCurrency` | `uint8` | `currency` | `currencyId`: `id` of the currency (get_currency) |
| `numTokens` | `uint64` | `num_tokens` | `scaled`: decimal × 10^`balance_decimals` of the currency |
| `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:

- `transfer` — Main account to sub account, no wallet types, so the Transfer type. Digest `0xf17ba792652522b4285c6c96b89d4aeb3eeffc817f7037cb89fa4f2a655a7781`.
