Cardano · Schema

Utils Addresses Xpub

BlockchainCryptocurrencyProof of StakeSmart ContractsWeb3

Properties

Name Type Description
xpub string Script hash
role integer Account role
index integer Address index
address string Derived address
View JSON Schema on GitHub

JSON Schema

utils-addresses-xpub.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://cardano.blockfrost.io/schema/utils_addresses_xpub",
  "title": "Utils Addresses Xpub",
  "type": "object",
  "properties": {
    "xpub": {
      "type": "string",
      "description": "Script hash"
    },
    "role": {
      "type": "integer",
      "description": "Account role"
    },
    "index": {
      "type": "integer",
      "description": "Address index"
    },
    "address": {
      "type": "string",
      "description": "Derived address"
    }
  },
  "required": [
    "xpub",
    "role",
    "index",
    "address"
  ],
  "example": [
    {
      "xpub": "d507c8f866691bd96e131334c355188b1a1d0b2fa0ab11545075aab332d77d9eb19657ad13ee581b56b0f8d744d66ca356b93d42fe176b3de007d53e9c4c4e7a",
      "role": 0,
      "index": 0,
      "address": "addr1q90sqnljxky88s0jsnps48jd872p7znzwym0jpzqnax6qs5nfrlkaatu28n0qzmqh7f2cpksxhpc9jefx3wrl0a2wu8q5amen7"
    }
  ]
}