# Integrate Embedded Wallets with the Polygon Blockchain in iOS/Swift Applications

> Integrate Embedded Wallets with the Polygon Blockchain in iOS/Swift Applications | Embedded Wallets

While using the Web3Auth iOS SDK, you get the private key within the user scope after successful authorization. This private key can be used to retrieve the user's address, and interact with [Polygon](https://polygon.technology/) to make any blockchain calls. We have highlighted a few here for getting you started quickly on that.

## Chain details for Polygon

<Tabs
 defaultValue="mainnet"
  values={[
    { label: "Mainnet", value: "mainnet" },
    { label: "Amoy Testnet", value: "amoy" },
  ]}
>
<TabItem value="mainnet">

- **Chain ID:** 0x89
- **RPC URL:** You can use our bundled RPC service from Infura, or your own choice of RPC service for production.
- **Display Name:** Polygon Mainnet
- **Block Explorer Link:** `https://polygonscan.com`
- **Ticker:** MATIC
- **Ticker Name:** Polygon

</TabItem>

<TabItem value="amoy">

- **Chain ID:** 0x13882
- **Public RPC URL:** `https://rpc-amoy.polygon.technology`
- **Display Name:** Polygon Amoy Testnet
- **Block Explorer Link:** `https://amoy.polygonscan.com`
- **Ticker:** MATIC
- **Ticker Name:** Polygon

</TabItem>
</Tabs>

## Prerequisites

- Project is set up in the MetaMask Developer Dashboard
- Web3Auth is [integrated in your iOS app](/embedded-wallets/sdk/ios/)

## Installation

<InstallationSnippet />

## Initialize

<InitialisationSnippet />

## Get account

<GetAccountSnippet />

## Get balance

<GetBalanceSnippet />

## Sign a message

<SignMessageSnippet />

## Send transaction

<SendTransactionSnippet />
