Transfer
Last updated
Last updated
The Transfer
entity represents a successful native token (CSPR) transfer on the Casper network. Transfers are tracked from the WriteTransfer
transforms found in the deploy execution results.
The Transfer
entity has the following properties:
Property | Type | Description |
---|---|---|
Example
Depending on the endpoint some of the following optional properties may be included in the Transfer
entity:
The Transfer
entity has the following relations with other entities:
The Transfer
entity has the following endpoints:
None
Property | Type | Description |
---|---|---|
Entity | Mapping property | Description |
---|---|---|
id
uint64
Transfer identifier provided by the deploy caller if the deploy is a native transfer. Default is 0
.
deploy_hash
string(64)
Deploy hash represented as a hexadecimal string
transform_key
string(64)
WriteTransfer
transform key represented as a hexademical string
initiator_account_hash
string(64)
Deploy caller account hash represented as a hexadecimal string
from_purse
string(73)
Source purse URef in the uref-dead...beef-007
format
to_purse
string(73)
Target purse URef in the uref-dead...beef-007
format
to_account_hash
string(64)
Transfer recipient account hash represetnted as a hexadecimal string
amount
string
Transfer amount in motes. The type is string
to avoid overflow in languages that don't support uint64, which is the correct type.
timestamp
string
Deploy creation timestmap in the ISO 8601 format
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
initiator_account_hash
, to_account_hash
Accounts can send and receive transfers
deploy_hash
Transfers are results of deploy execution