Purse

A Purse is an entity that holds native tokens on the Casper network. It is represented by a special type of (URef. Every account is assigned a main purse by default. Smart contracts can also create additional purses to manage tokens as needed.

Starting with Casper 2.0, contracts are able to delegate the tokens they hold to validators and earn delegation rewards.

Properties

The Purse is not represented as a distinct object in the CSPR.cloud API. It is identified solely by its URef address.

Property
Type
Description

purse_uref

string(73)

Account main purse URef in the uref-dead...beef-007 format

Example

{
  "purse_uref": "uref-bb9f47c30ddbe192438fad10b7db8200247529d6592af7159d92c5f3aa7716a1-007"
}

Optional properties

None

Relations

The Purse entity has the following relations with other entities:

Entity
Description

All accounts have a main purse

Transfers happen between purses

Delegations to validators can be made directly from purses

Delegation rewards for purse delegations are distributed directly to the purses

Relation endpoints

The Purse entity has the following relation endpoints:

Last updated