Stellar · Schema

CreateWalletRequest

BlockchainCryptocurrencyDecentralized ExchangeLedgerPaymentsSmart ContractsWeb3

Properties

Name Type Description
name string Human-readable name of the wallet provider
homepage string Homepage URL of the wallet provider
deep_link_schema string Deep link schema for the wallet application
sep_10_client_domain string SEP-10 client domain for authentication
enabled boolean Whether the wallet is enabled for use
assets array Array of asset references supported by this wallet
assets_ids array Legacy: Array of asset IDs (cannot be used with assets field)
View JSON Schema on GitHub

JSON Schema

stellar-sdp-createwalletrequest.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://developers.stellar.org/schemas/sdp/CreateWalletRequest.json",
  "title": "CreateWalletRequest",
  "type": "object",
  "required": [
    "name",
    "homepage",
    "deep_link_schema",
    "sep_10_client_domain"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Human-readable name of the wallet provider"
    },
    "homepage": {
      "type": "string",
      "description": "Homepage URL of the wallet provider"
    },
    "deep_link_schema": {
      "type": "string",
      "description": "Deep link schema for the wallet application"
    },
    "sep_10_client_domain": {
      "type": "string",
      "description": "SEP-10 client domain for authentication"
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether the wallet is enabled for use",
      "default": true
    },
    "assets": {
      "type": "array",
      "description": "Array of asset references supported by this wallet",
      "items": {
        "oneOf": [
          {
            "type": "object",
            "description": "Asset reference by ID",
            "properties": {
              "id": {
                "type": "string",
                "description": "Asset ID"
              }
            },
            "required": [
              "id"
            ]
          },
          {
            "type": "object",
            "description": "Classic asset reference",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "classic"
                ]
              },
              "code": {
                "type": "string",
                "description": "Asset code"
              },
              "issuer": {
                "type": "string",
                "description": "Asset issuer address"
              }
            },
            "required": [
              "type",
              "code",
              "issuer"
            ]
          },
          {
            "type": "object",
            "description": "Native XLM asset reference",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "native"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        ]
      }
    },
    "assets_ids": {
      "type": "array",
      "description": "Legacy: Array of asset IDs (cannot be used with assets field)\n",
      "items": {
        "type": "string"
      }
    }
  }
}