GET
/
2022-06-09
/
wallets
/
{walletLocator}
curl --request GET \
  --url https://staging.crossmint.com/api/2022-06-09/wallets/{walletLocator} \
  --header 'X-API-KEY: <x-api-key>'
{
  "type": "evm-smart-wallet",
  "linkedUser": "email:user@example.com",
  "address": "0x1234567890123456789012345678901234567890",
  "config": {
    "adminSigner": {
      "type": "evm-keypair",
      "address": "0x1234567890123456789012345678901234567890",
      "locator": "evm-keypair:0x1234567890123456789012345678901234567890"
    }
  }
}

Headers

X-API-KEY
string
required

API key required for authentication

Path Parameters

walletLocator
string
required

A wallet locator can be of the format:

  • <walletAddress>
  • email:<email>:<walletType>
  • userId:<userId>:<walletType>
  • userId:<userId>:<walletType> (white label user example)
  • phoneNumber:<phoneNumber>:<walletType>
  • twitter:<handle>:<walletType>
  • x:<handle>:<walletType>

Response

200
application/json
The record has been successfully retreived.

Complete wallet configuration including type-specific settings

type
enum<string>
required

The type of wallet configuration

Available options:
evm-smart-wallet
config
object
required

EVM smart wallet type specific configuration settings

address
string
required

The onchain address of the wallet

Example:

"0x1234567890123456789012345678901234567890"

linkedUser
string

The user that is linked to this wallet in format <locatorType>:<value>

Example:

"email:test@test.com"

createdAt
number

ISO timestamp of when the wallet was created

Example:

"2024-01-01T00:00:00.000Z"