LogoLogo
CSPR.build PortalCSPR.cloud Website
1.5.2 (latest)
1.5.2 (latest)
  • Documentation
    • Introduction
    • Overview
      • Authorization
      • Rate limits and quotas
      • Pagination
      • Sorting
      • Filtering
      • Optional properties
      • Errors
    • Getting started
    • Highlights
      • Including related entities
      • Including CSPR rates
      • Including account info
      • Accessing auction data
      • Accessing token data
      • Accessing NFT data
      • De-anonymizing account hashes
      • De-anonymizing account purses
      • Receiving contract-level events
      • Resolving CSPR.name
    • Changelog
  • REST API
    • Reference
    • Account
      • Get account
      • Get accounts
    • Account Info
      • Get account info
      • Get account infos
    • Auction metrics
      • Get auction metrics
    • Awaiting deploy
      • Create Awaiting Deploy
      • Add Awaiting Deploy signatures
      • Get Awaiting Deploy
    • Block
      • Get block
      • Get blocks
      • Get validator blocks
    • Bidder
      • Get bidder
      • Get bidders
    • Centralized account info
      • Get centralized account info
      • Get centralized account infos
    • Contract
      • Get contract
      • Get contracts
      • Get contracts by contract package
      • Get contract types
    • Contract entry point
      • Get contract entry points
      • Get contract entry point costs
    • Contract package
      • Get contract package
      • Get contract packages
      • Get account contract packages
    • Delegation
      • Get account delegations
      • Get validator delegations
    • Delegator reward
      • Get account delegator rewards
      • Get total account delegation rewards
      • Get total validator delegators' rewards
    • Deploy
      • Get deploy
      • Get deploys
      • Get account deploys
      • Get block deploys
      • Get deploy execution types
    • Fungible token action
      • Get fungible token actions
      • Get fungible token action types
      • Get account fungible token actions
      • Get contract package fungible token actions
    • Fungible token ownership
      • Get account fungible token ownership
      • Get contract package fungible token ownership
    • Non-fungible token (NFT)
      • Get NFT
      • Get account NFTs
      • Get contract package NFTs
      • Get NFT standards
      • Get off-chain NFT metadata statuses
    • Non-fungible token (NFT) action
      • Get contract package NFT actions for a token
      • Get account NFT actions
      • Get contract package NFT actions
      • Get NFT action types
    • Non-fungible token (NFT) ownership
      • Get contract package NFT ownership
      • Get account NFT ownership
    • CSPR.name resolution
      • Get CSPR.name resolution
    • CSPR rate
      • Get the current currency rate
      • Get historical currency rates
      • Get currencies
    • CSPR supply
      • Get supply
    • Transfer
      • Get account transfers
      • Get deploy transfers
    • Validator
      • Get validator
      • Get validators
    • Validator performance
      • Get historical validator performance
      • Get historical average validator performance
      • Get historical average validators performance
    • Validator reward
      • Get validator rewards
      • Get validator total rewards
      • Get validator era rewards
  • Streaming API
    • Reference
    • Account balance
    • Block
    • Contract
    • Contract package
    • Contract-level events
    • Deploy
    • Fungible token action
    • Non-fungible token (NFT)
    • Non-fungible token (NFT) action
    • Transfer
  • Casper Node API
    • Connecting with an SDK
Powered by GitBook
On this page
  • Properties
  • Optional properties
  • Relations
  • Endpoints
  1. REST API

CSPR.name resolution

The CSPRNameResolution entity holds information about mapping between account hashes and CSPR.name names.

Properties

The CSPRNameResolution entity has the following properties:

Property
Type
Description

name_token_id

string

ID of the name token (NFT)

name

string

Name (e.g. cloud.cspr)

resolved_hash

string(64)

Account hash represented as a hexadecimal string

is_primary

boolean

Flag that indicates if CSPR.name is primary for a specific account (only single primary name of an account).

expires_at

string

Example

{
  "name_token_id": "0000000000000000000000000000000000000000000000000000000000000000",
  "name": "faucet.cspr",
  "resolved_hash": "b383c7cc23d18bc1b42406a1b2d29fc8dba86425197b6f553d7fd61375b5e446",
  "is_primary": true,
  "expires_at": "2124-08-27 12:00:00.00"
}

Optional properties

Depending on the endpoint, the following optional properties may be included in the CSPRNameResolution entity:

Property
Type
Description

resolved_public_key

string(68)

Public key of the resolved account

account

Account of the resolved account hash

account_info

Account info of the resolved account

centralized_account_info

Centralized Account info of the resolved account

name_token

NFT token that represents the ownership of the CSPR.name

Relations

The CSPRNameResolution entity has the following relations with other entities:

Entity
Mapping property
Description

resolved_hash

Names are resolved to accounts

name_token_id

Name ownership is granted by the corresponding CSPR.name NFT

Endpoints

The CSPRNameResolution entity has the following endpoints:

PreviousGet account NFT ownershipNextGet CSPR.name resolution

Last updated 6 months ago

Resolution expiration timestamp in the format

Get CSPR.name resolution
ISO 8601
Account
AccountInfo
CentralizedAccountInfo
NFTToken
Account
NFT