Checkpoints

Handles all Asset Checkpoints related functionality

Hierarchy

  • Namespace‹Asset

    Checkpoints

Index

Properties

Methods

Properties

Protected context

context: Context

Inherited from void

Defined in src/api/entities/Namespace.ts:11arrow-up-right


Protected parent

parent: Asset

Inherited from void

Defined in src/api/entities/Namespace.ts:9arrow-up-right


schedules

schedules: Schedules

Defined in src/api/entities/Asset/Checkpoints/index.ts:29arrow-up-right

Methods

create

create(opts?: ProcedureOptsarrow-up-right): Promise‹TransactionQueueCheckpoint››

Defined in src/api/entities/Asset/Checkpoints/index.ts:53arrow-up-right

Create a snapshot of Asset Holders and their respective balances at this moment

note this method is of type NoArgsProcedureMethodarrow-up-right, which means you can call create.checkAuthorizationarrow-up-right on it to see whether the signing Account and Identity have the required roles and permissions to run it

Parameters:

Returns: Promise‹TransactionQueueCheckpoint››


get

get(paginationOpts?: PaginationOptionsarrow-up-right): Promise‹ResultSetarrow-up-rightCheckpointWithDataarrow-up-right››

Defined in src/api/entities/Asset/Checkpoints/index.ts:87arrow-up-right

Retrieve all Checkpoints created on this Asset, together with their corresponding creation Date and Total Supply

note supports pagination

Parameters:

Name
Type

Returns: Promise‹ResultSetarrow-up-rightCheckpointWithDataarrow-up-right››


getOne

getOne(args: object): Promise‹Checkpoint

Defined in src/api/entities/Asset/Checkpoints/index.ts:62arrow-up-right

Retrieve a single Checkpoint for this Asset by its ID

throws if there is no Checkpoint with the passed ID

Parameters:

args: object

Name
Type

id

BigNumber

Returns: Promise‹Checkpoint

Last updated

Was this helpful?