LogoLogo
CSPR.build Portal
1.2.x
1.2.x
  • 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
    • 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 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
  • 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
  • Endpoint
  • Query params
  • Sorting
  • Optional properties
  • Response
  • Example
  1. REST API
  2. Account Info

Get account info

PreviousAccount InfoNextGet account infos

Last updated 10 months ago

Get account info by account hash.

Endpoint

GET /account-info/{account_hash}

Query params

None

Sorting

None

Optional properties

None

Response

Example

curl -X 'GET' \
  'https://api.testnet.cspr.cloud/account-info/fa12d2dd5547714f8c2754d418aa8c9d59dc88780350cb4254d622e2d4ef7e69' \
  -H 'accept: application/json' \
  -H 'authorization: 55f79117-fc4d-4d60-9956-65423f39a06a'
{
  "data": {
    "account_hash": "fa12d2dd5547714f8c2754d418aa8c9d59dc88780350cb4254d622e2d4ef7e69",
    "url": "http://makestake.io",
    "is_active": true,
    "info": {
      "nodes": [
        {
          "location": {
            "name": "Ashburn, VA",
            "country": "US",
            "latitude": 39.04372,
            "longitude": -77.48749
          },
          "public_key": "0106ca7c39cd272dbf21a86eeb3b36b7c26e2e9b94af64292419f7862936bca2ca",
          "description": "MAKE's first Casper Testnet validator",
          "functionality": [
            "validator"
          ]
        },
        {
          "location": {
            "name": "Ashburn, VA",
            "country": "US",
            "latitude": 39.04372,
            "longitude": -77.48749
          },
          "public_key": "017d96b9a63abcb61c870a4f55187a0a7ac24096bdb5fc585c12a686a4d892009e",
          "description": "MAKE's second Casper Testnet validator",
          "functionality": [
            "validator"
          ]
        }
      ],
      "owner": {
        "name": "MAKE",
        "type": [
          "validator",
          "corporation"
        ],
        "email": "hello@makestake.io",
        "social": {
          "github": "make-software",
          "medium": "",
          "reddit": "",
          "wechat": "",
          "keybase": "",
          "twitter": "@WeAreTeamMAKE",
          "youtube": "",
          "facebook": "",
          "telegram": ""
        },
        "website": "https://makestake.io",
        "branding": {
          "logo": {
            "svg": "https://make.services/logo.svg",
            "png_256": "https://make.services/logo256.png",
            "png_1024": "https://make.services/logo1024.png"
          }
        },
        "identity": {
          "other": null,
          "ownership_disclosure_url": "https://makestake.io/ownership-disclosure",
          "casper_association_kyc_url": "",
          "casper_association_kyc_onchain": ""
        },
        "location": {
          "name": "Cheyenne, WY",
          "country": "US",
          "latitude": 41.14,
          "longitude": -104.820274
        },
        "resources": {
          "other": [],
          "privacy_policy_url": "https://makestake.io/privacy",
          "code_of_conduct_url": "",
          "terms_of_service_url": "https://makestake.io/tos"
        },
        "description": "MAKE is the leading technology provider for the Casper Network and creator of the CSPR Product Suite",
        "affiliated_accounts": [
          {
            "public_key": "017d96b9a63abcb61c870a4f55187a0a7ac24096bdb5fc585c12a686a4d892009e"
          },
          {
            "public_key": "0106ca7c39cd272dbf21a86eeb3b36b7c26e2e9b94af64292419f7862936bca2ca"
          },
          {
            "public_key": "0202859e04bab609744b291b54ef97b55cb3120c940cd620977f8d2687ca5bd0168c"
          },
          {
            "public_key": "01fc3b35c25fdce6fc6127fc5da32a828d51eaacab816e80611f23f4cf063bc319"
          }
        ]
      }
    },
    "deploy_hash": "5a9b3853d596243fd1b8f0a107ec7c7042ab226e628c7e742c455deab15e9719",
    "verified_account_hashes": [
      "21EAEA584903E79365BCB1F7607179CC118807033C8919CFF7489A91C3A822D1",
      "D3CCFD0DAF03E656CB4E86158E5F54BE686D9FAA91CAE3ED9310E167E65592E5",
      "FA12D2DD5547714F8C2754D418AA8C9D59DC88780350CB4254D622E2D4EF7E69"
    ],
    "created": "2021-09-17T20:24:35Z",
    "updated": "2023-09-12T00:00:01Z"
  }
}
AccountInfo