LogoLogo
1.4.x
1.4.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
      • 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
  • 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
  • Optional properties
  • Query params
  • Events
  • Response
  • Example
Export as PDF
  1. Streaming API

Fungible token action

PreviousDeployNextNon-fungible token (NFT)

Last updated 3 months ago

The NFT action stream provides updates about standard fungible toekn actions like mint, burn, or transfer happening on the network. CSPR.cloud keeps track of fungible tokens compatible with the Casper Network standard.

GET /ft-token-actions

Optional properties

None

Query params

Property
Type
Description

contract_package_hash

string

Comma-separated list of contract package hashes

owner_hash

string

Comma-separated list of owner account hashes

Events

Event
Description

created

Notifies about new fungible token action happening on the network

Response

Example

wscat -c 'wss://streaming.testnet.cspr.cloud/ft-token-actions?contract_package_hash=570fccf5c7f86e9041bee2692a6b145f22bced6e4aac751124675e08814296ff' \
  -H 'authorization: 55f79117-fc4d-4d60-9956-65423f39a06a'
{
  "data": {
    "deploy_hash": "8aeb6ac06715e665ec1b5de73ca4738bc8a7418fde72455d711184c4b34112e2",
    "contract_package_hash": "570fccf5c7f86e9041bee2692a6b145f22bced6e4aac751124675e08814296ff",
    "transform_idx": -1,
    "from_type": 0,
    "from_hash": "dbaf573a6093ed8eedf21e87d424bd215ce99fa2af7a2b4148db8c1505ddc4ed",
    "to_type": 1,
    "to_hash": "39180a492ff3f0998911287074175a8868a8c70044721c1fd133483ded1a46b4",
    "ft_action_type_id": 2,
    "amount": "100000000000000",
    "timestamp": "2023-04-26T07:49:45.499Z"
  },
  "action": "created",
  "extra": null,
  "timestamp": "2024-02-15T10:58:43.070659995Z"
}
CEP-18
WebSocketMessage
<FTTokenAction>