> For the complete documentation index, see [llms.txt](/llms.txt).

# Use deeplinks

Use deeplinks to directly route your users to specific, pre-configured functions inside the MetaMask mobile app. For example, create a deeplink that lets users make one-click payments with a preset token, recipient, and amount. Convert deeplinks to QR codes so users can scan them with a mobile device.

If a user doesn't have the mobile app installed, deeplinks route the user to a landing page where they can download the app.

tip

The [**Open a dapp in the in-app browser**](#open-a-dapp-inside-the-metamask-in-app-browser) deeplink works for any dapp regardless of ecosystem (EVM, Solana, or multichain). It opens a URL inside the MetaMask mobile app's built-in browser. The remaining deeplinks on this page (send, buy, sell) are EVM-specific.

## Open a dapp inside the MetaMask in-app browser[​](#open-a-dapp-inside-the-metamask-in-app-browser "Direct link to Open a dapp inside the MetaMask in-app browser")

- Deeplink
- Example

```
https://link.metamask.io/dapp/{dappUrl}

```

```
https://link.metamask.io/dapp/app.uniswap.org

```

This deeplink takes the user directly to the dapp URL in the MetaMask mobile in-app browser.

The example navigates to `app.uniswap.org` in the in-app browser.

### Path parameters[​](#path-parameters "Direct link to Path parameters")

- `dappUrl` - Dapp URL.

## Send native currency[​](#send-native-currency "Direct link to Send native currency")

- Deeplink
- Example

```
https://link.metamask.io/send/{recipient}@{chainId}

```

```
https://link.metamask.io/send/0x0000000@137?value=1e16

```

This deeplink starts the process of sending a transaction in the native currency. If the chain ID is specified, the MetaMask mobile app automatically switches to the correct network.

The example displays the confirmation screen to send 0.01 POL (`1e16` wei) in Polygon (chain ID `137`) to the recipient address `0x0000000`.

### Path parameters[​](#path-parameters-1 "Direct link to Path parameters")

- `recipient` - Address of the recipient.
- `chainId` - (Optional) Chain ID of the network to use.

### Query string parameters[​](#query-string-parameters "Direct link to Query string parameters")

- `value` - Amount to be transferred, in the native currency's smallest unit.

## Send an ERC-20 token[​](#send-an-erc-20-token "Direct link to Send an ERC-20 token")

- Deeplink
- Example

```
https://link.metamask.io/send/{contractAddress}@{chainId}/transfer

```

```
https://link.metamask.io/send/0x176211869cA2b568f2A7D4EE941E073a821EE1ff@59144/transfer?address=0x0000000&uint256=1e6

```

This deeplink starts the process of sending a transaction in an ERC-20 token. If the chain ID is specified, the MetaMask mobile app automatically switches to the correct network.

The example displays the confirmation screen to send 1 USDC (`1e6` units, contract address `0x176211869cA2b568f2A7D4EE941E073a821EE1ff`) on Linea (chain ID `59144`) to recipient address `0x0000000`.

### Path parameters[​](#path-parameters-2 "Direct link to Path parameters")

- `contractAddress` - Contract address of the ERC-20 token.
- `chainId` - (Optional) Chain ID of the network to use.

### Query string parameters[​](#query-string-parameters-1 "Direct link to Query string parameters")

- `address` - Address of the recipient.
- `uint256` - Amount to be transferred, in the token's smallest unit.

## Start the on-ramp process[​](#start-the-on-ramp-process "Direct link to Start the on-ramp process")

- Deeplink
- Example

```
https://link.metamask.io/buy

```

```
https://link.metamask.io/buy?chainId=59144&address=0x176211869cA2b568f2A7D4EE941E073a821EE1ff&amount=100

```

This deeplink starts the on-ramp process to buy native currency or ERC-20 tokens. If the chain ID is specified, the MetaMask mobile app automatically switches to the correct network.

The example starts the on-ramp process to buy $100 (`amount=100`) of USDC (contract address `0x176211869cA2b568f2A7D4EE941E073a821EE1ff`) on Linea (chain ID `59144`). The fiat currency depends on the onboarding status of the user and the region they select.

note

You can use the `/buy` or `/buy-crypto` path for this deeplink.

### Query string parameters[​](#query-string-parameters-2 "Direct link to Query string parameters")

- `chainId` - (Optional) Chain ID of the network to use.
- `address` - (Optional) Contract address of the ERC-20 token. If omitted, the native currency is used.
- `amount` - (Optional) Amount to buy, in the user's fiat currency.

## Start the off-ramp process[​](#start-the-off-ramp-process "Direct link to Start the off-ramp process")

- Deeplink
- Example

```
https://link.metamask.io/sell

```

```
https://link.metamask.io/sell?chainId=59144&amount=125

```

This deeplink starts the off-ramp process to sell native currency. If the chain ID is specified, the MetaMask mobile app automatically switches to the correct network.

The example starts the off-ramp process to sell 125 ETH (`amount=125`) on Linea (chain ID `59144`).

note

You can use the `/sell` or `/sell-crypto` path for this deeplink.

### Query string parameters[​](#query-string-parameters-3 "Direct link to Query string parameters")

- `chainId` - (Optional) Chain ID of the network to use.
- `amount` - (Optional) Amount to sell, in the native currency.

## Next steps[​](#next-steps "Direct link to Next steps")

- [Send transactions](/metamask-connect/evm/guides/send-transactions/)
- [Display tokens in MetaMask](/metamask-connect/evm/guides/metamask-exclusive/display-tokens/)
- [Supported platforms and connection methods](/metamask-connect/supported-platforms/)
