Fungible token action
Last updated
Last updated
The FTTokenAction
entity describes standard actions that can be performed on fungible tokens, such as mint, transfer, or burn. CSPR.cloud supports fungible tokens compatible with the CEP-18 Casper Network standard.
The FTTokenAction
entity has the following properties:
Property | Type | Description |
---|---|---|
Example
Depending on the endpoint some of the following optional properties may be included in the FTTokenAction
entity:
The FTTokenAction
entity has the following endpoints:
The FTTokenAction
entity has the following relation endpoints:
Property | Type | Description |
---|---|---|
Entity | Mapping property | Description |
---|---|---|
deploy_hash
string(64)
Deploy hash in which the token action occurred. First part of token action identifier, represented as a hexadecimal string
block_height
uint64
Height of the block in which the token action occurred.
transform_idx
int
ID of the transform in the deploy execution result containing performed token action in deploy execution. Second part of token action identifier
contract_package_hash
string(64)
Contract package hash of fungible token contract, represented as a hexadecimal string
from_hash
string(64)
Action source account or contract hash, represented as a hexadecimal string
from_type
uint8
Action source hash type: 0
for account, 1
for contract
to_hash
string(64)
Action target account or contract hash, represented as a hexadecimal string
to_type
uint8
Action target hash type: 0
for account, 1
for contract
ft_action_type_id
uint8
Fungible token action type type identifier
amount
string
Tokens amount value used during the token action
timestamp
uint16
The timestamp of performed token action
contract_package
Fungible contract package
deploy
Deploy in which the token action occurred
from_public_key
string(68)
Action source public key if it's an account
to_public_key
string(68)
Action target public key if it's an account
to_account_info
Action source account info if it's an account
from_account_info
Action target account info if it's an account
to_centralized_account_info
Action target centralized account info if it's an account
from_centralized_account_info
Action target centralized account info if it's an account
from_cspr_name
string
Primary CSPR.name of the source account, if it is an account
to_cspr_name
string
Primary CSPR.name of the destination account, if it is an account
contract_package_hash
Fungible tokens actions belong to a contract package
from_hash, to_hash
Fungible token actions could have accounts as the action source and target