LogoLogo
CSPR.build Portal
1.0.x
1.0.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
    • 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 delegator total 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
  • Sorting
  • Optional properties
  • Response
  • Example
  1. REST API
  2. Transfer

Get deploy transfers

Get transfers by deploy hash.

GET /deploys/{deploy_hash}/transfers

Sorting

Property
Description

timestamp

Sort transfers by timestamp

Default sorting is timestamp DESC

Optional properties

Property
Type
Description

initiator_public_key

string(68)

Initiator public key represented as a hexademical string

to_public_key

string(68)

Transfer recipient public key represented as a hexademical string

from_purse_public_key

string(68)

Public key of the account that owns the transfer source purse represented as a hexademical string. null when the sender purse is not own by an account

to_purse_public_key

string(68)

Public key of the account that owns the transfer target purse represented as a hexademical string. null when the target purse is not own by an account

to_account_info

Transfer recipient account info

from_purse_account_info

Account info of the account that owns the transfer source purse. null when the sender purse is not own by an account

to_purse_account_info

Account info of the account that owns the transfer target purse. null when the target purse is not own by an account

initiator_public_key

string(68)

Deploy caller public key represented as a hexadecimal string

rate

float32

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

Response

Example

curl -X 'GET' \
  'https://api.testnet.cspr.cloud/deploys/0005f1e53afa9799a66a389a90caab84ab3cbd000ab7741e55e09f80c75002b6/transfers' \
  -H 'accept: application/json' \
  -H 'authorization: 55f79117-fc4d-4d60-9956-65423f39a06a'
{
  "data": [
    {
      "amount": "24928248069",
      "deploy_hash": "0005f1e53afa9799a66a389a90caab84ab3cbd000ab7741e55e09f80c75002b6",
      "from_purse": "uref-63ccc0c7a7369acd9fcaa0c5223bce572a6d033473acdc08fbd8f4e06a49d27c-007",
      "id": null,
      "initiator_account_hash": "f41cc7553d271e7ac70899ead4d3584c72ca2e119f2a86fbb4641ca95f3ba9e7",
      "timestamp": "2023-02-09T19:16:21Z",
      "to_account_hash": null,
      "to_purse": "uref-50d2abfd212c60c9d51a1418b5bb2e4b19fdaeee8d56366fff0270b7e597e192-007",
      "transform_key": "4f13ec50361b95c75ddf204e5f0a09b702d33a2e8d8d4d9fc34b0bb157c2b06c"
    },
    {
      "amount": "24928248070",
      "deploy_hash": "0005f1e53afa9799a66a389a90caab84ab3cbd000ab7741e55e09f80c75002b6",
      "from_purse": "uref-60cc83844483f5f09ea111bc9ca2f15441cd7453e70d15e3eddd3b8c433e6ea8-007",
      "id": null,
      "initiator_account_hash": "f41cc7553d271e7ac70899ead4d3584c72ca2e119f2a86fbb4641ca95f3ba9e7",
      "timestamp": "2023-02-09T19:16:21Z",
      "to_account_hash": null,
      "to_purse": "uref-c18ba5de1642d021febeb7ddc9d493f1a59b9da104aa1eed03f721e68bb902f7-007",
      "transform_key": "6c19355f1bd6cb9b5de9688ccc796a4e14f37cff3191ff11d216e9cb090e935f"
    },
    {
      "amount": "24928248069",
      "deploy_hash": "0005f1e53afa9799a66a389a90caab84ab3cbd000ab7741e55e09f80c75002b6",
      "from_purse": "uref-c18ba5de1642d021febeb7ddc9d493f1a59b9da104aa1eed03f721e68bb902f7-007",
      "id": null,
      "initiator_account_hash": "f41cc7553d271e7ac70899ead4d3584c72ca2e119f2a86fbb4641ca95f3ba9e7",
      "timestamp": "2023-02-09T19:16:21Z",
      "to_account_hash": null,
      "to_purse": "uref-63ccc0c7a7369acd9fcaa0c5223bce572a6d033473acdc08fbd8f4e06a49d27c-007",
      "transform_key": "b77ea4429328a09e0dea3613d7ad5dc266e7d04d727c6fb907a543b1014643ff"
    }
  ],
  "item_count": 3,
  "page_count": 1
}
PreviousGet account transfersNextValidator

Last updated 1 year ago

PaginatedResponse
<Transfer>
AccountInfo
AccountInfo
AccountInfo