Stellar · Schema

UpdateWalletRequest

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
View JSON Schema on GitHub

JSON Schema

stellar-sdp-updatewalletrequest.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://developers.stellar.org/schemas/sdp/UpdateWalletRequest.json",
  "title": "UpdateWalletRequest",
  "type": "object",
  "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"
    },
    "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"
            ]
          }
        ]
      }
    }
  },
  "minProperties": 1
}