Scan card

Getting the card's data.

This command should always be executed on the first step in order to retrieve all open information from the card, including public keys of the wallets and all settings that have been pre-configured during production.

Once the command is executed, an NFC session will be opened and the user will be prompted to tap the card against the phone. User will see an animation showing how to properly tap the card.

Unlike iPhones in which the NFC antenna is always on the top edge of the phone, in Android devices its position is mostly different. To help users to tap the card right, Tangem SDK will show one of more that 300 animations for specific devices. Even if the phone is new and there is no NFC position information in the SDK, the user will be prompted for a short tutorial on how to find the antenna using the card.

Request parameters

initialMessage <Message> [optional] This message will be shown in the NFC session dialog. Default: "Tap the card to your phone exactly as it shown above".


This command will return the Card (click to see more) object in response.


private lazy var tangemSdk: TangemSdk = .init()

tangemSdk.scanCard() { result in
    switch result {
      case .success(let card):
      case .failure(let error):

Last updated