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
  • Query params
  • Sorting
  • Optional properties
  • Response
  • Example
  1. REST API
  2. Deploy

Get deploy

Get deploy by its hash.

GET /deploys/{deploy_hash}

Query params

None

Sorting

None

Optional properties

Property
Type
Description

account_info

centralized_account_info

Account information available for known accounts provided by CSPR.cloud team

contract_package

ContractPackage

ContractPackage entity.

contract

Contract

Contract entity.

contract_entrypoint

ContractEntrypoint

ContractEntrypoint entity.

rate

float32

CSPR rate for specified currency that was relevant at the moment of deploy creation.

transfers

List of Transfer entities.

nft_token_actions

List of NFTTokenAction entities.

ft_token_actions

List of Fungible token action entities.

Response

Example

curl -X 'GET' \
  'https://api.testnet.cspr.cloud/deploys/88461218a5e972fcda1d764d7cc4edb2e0c3a538123b97890d484f43c55935f5' \
  -H 'accept: application/json' \
  -H 'authorization: 55f79117-fc4d-4d60-9956-65423f39a06a'
{
  "data": {
    "deploy_hash": "88461218a5e972fcda1d764d7cc4edb2e0c3a538123b97890d484f43c55935f5",
    "block_hash": "d76b4ce5281f2306911a0e5e9ac0b29f1f4daf36f4636e78599ce64a7f7528a1",
    "block_height": 2404577,
    "caller_public_key": "020304811a7b142c32860cb1c114f23b0754215918d819f485b0a201af6cde70fa6c",
    "execution_type_id": 6,
    "contract_package_hash": null,
    "contract_hash": null,
    "entry_point_id": null,
    "args": {
      "amount": {
        "cl_type": "U512",
        "parsed": "2500000000"
      },
      "id": {
        "cl_type": {
          "Option": "U64"
        },
        "parsed": null
      },
      "target": {
        "cl_type": {
          "ByteArray": 32
        },
        "parsed": "536345751b7c6c6299d5ef10862d76736ed062bc32c1dabcd1179c06469d93ca"
      }
    },
    "payment_amount": "100000000",
    "cost": "100000000",
    "error_message": null,
    "status": "processed",
    "timestamp": "2024-01-08T15:24:47Z"
  }
}
PreviousDeployNextGet deploys

Last updated 10 months ago

provided by the deploy caller

[]

[]

[]

Deploy
AccountInfo
Account info
CentralizedAccountInfo
Transfer
NFTTokenAction
Fungible token action