# Call up Nabox App to open DApp/Transfer

## URI Scheme Basic Format

```
nabox://com.wallet.nabox?parameter1=xxx&parameter2=xxx...
```

* **Protocol Header**：`nabox://com.wallet.nabox`
* **Parameter**：Provide different parameters based on the type of operation.
* **Notice**：The link parameters need to be **URI-encoded (escaped)** to prevent parsing errors caused by special characters.

### 1. Open the DApp page

### Example

```
nabox://com.wallet.nabox?type=1&nativeId=1&url=https%3A%2F%2Fwww.n.com
```

### Parameter Description

<table><thead><tr><th width="162.7578125">Parameter name</th><th width="94.07421875">Type</th><th width="111.22265625">Required</th><th width="143.56640625">Example Value</th><th>Describe</th></tr></thead><tbody><tr><td>type</td><td>string</td><td>yes</td><td><code>1</code></td><td>Operation type, <code>1</code> means opening a DApp</td></tr><tr><td>nativeId</td><td>string</td><td>yes</td><td><code>1</code></td><td>Chain ID, indicating the network of the current transfer</td></tr><tr><td>url</td><td>string</td><td>yes</td><td><code>https%3A%2F%2Fwww.baidu.com</code></td><td>DApp's web address, <strong>URI encoding</strong> required</td></tr></tbody></table>

{% columns %}
{% column %}

{% endcolumn %}

{% column %}

{% endcolumn %}
{% endcolumns %}

### 2. Initiate a transfer request

### Example

`nabox://com.wallet.nabox?type=2&nativeId=1&assertName=USDT&contractAddress=0x12312311&amount=1.123&toAddress=0x1234564789794&memo='helllo nabox'`

### Parameter Description

<table><thead><tr><th width="162.7578125">Parameter name</th><th width="94.07421875">Type</th><th width="111.22265625">Required</th><th width="143.56640625">Example Value</th><th>Describe</th></tr></thead><tbody><tr><td>type</td><td>string</td><td>yes</td><td><code>2</code></td><td>Operation type, <code>2</code> means transfer</td></tr><tr><td>nativeId</td><td>string</td><td>yes</td><td><code>1</code></td><td>Chain ID</td></tr><tr><td>assertName</td><td>string</td><td>yes</td><td><code>usdt</code></td><td>Asset name (e.g. USDT)</td></tr><tr><td>contractAddress</td><td>string</td><td>yes</td><td><code>0x1da...3f76</code></td><td>Contract Address</td></tr><tr><td>amount</td><td>string</td><td>yes</td><td><code>1</code></td><td>Transfer amount</td></tr><tr><td>toAddress</td><td>string</td><td>yes</td><td><code>0x3b....9794</code></td><td>Receiving Address</td></tr><tr><td>memo</td><td>string</td><td>no</td><td><code>hello nabox</code></td><td>Transfer Notes</td></tr></tbody></table>
