Transfer
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.
Properties
The Transfer
entity has the following properties:
Property | Type | Description |
---|---|---|
|
| Transfer identifier provided by the deploy caller if the deploy is a native transfer. Default is |
|
| Deploy hash represented as a hexadecimal string |
|
| Height of the block in which the transfer happened |
|
|
|
|
| Deploy caller account hash represented as a hexadecimal string |
|
| Source purse URef in the |
|
| Target purse URef in the |
|
| Transfer recipient account hash represetnted as a hexadecimal string |
|
| Transfer amount in motes. The type is |
|
| Deploy creation timestmap in the ISO 8601 format |
Example
Optional properties
Depending on the endpoint some of the following optional properties may be included in the Transfer
entity:
Property | Type | Description |
---|---|---|
|
| Initiator public key represented as a hexademical string |
|
| Transfer recipient public key represented as a hexademical string |
|
| 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 |
|
| 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 |
| Transfer recipient account info | |
| Transfer recipient centralized account info | |
| Account info of the account that owns the transfer source purse. null when the sender purse is not own by an account | |
| Centralized account info that owns the transfer source purse. null when the sender purse is not own by an account | |
| Account info of the account that owns the transfer target purse. null when the target purse is not own by an account | |
| Centralized account info of the account that owns the transfer target purse. null when the target purse is not own by an account | |
|
| Deploy caller public key represented as a hexadecimal string |
|
| CSPR rate for specified currency that was relevant at the moment of deploy creation |
|
| Primary CSPR.name of the initiator account |
|
| Primary CSPR.name of the recipient account |
|
| Primary CSPR.name of the account that owns the transfer source purse |
|
| Primary CSPR.name of the account that owns the transfer target purse |
Relations
The Transfer
entity has the following relations with other entities:
Entity | Mapping property | Description |
---|---|---|
| Accounts can send and receive transfers | |
| Transfers are results of deploy execution |
Endpoints
The Transfer
entity has the following endpoints:
Relation endpoints
None
Last updated