Checkpoints

Handles all Security Token Checkpoints related functionality

Hierarchy

Index

Properties

Methods

Properties

Protected context

context: Context

Inherited from void

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


Protected parent

parent: SecurityToken

Inherited from void

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


schedules

schedules: Schedules

Defined in src/api/entities/SecurityToken/Checkpoints/index.ts:36arrow-up-right

Methods

create

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

Defined in src/api/entities/SecurityToken/Checkpoints/index.ts:60arrow-up-right

Create a snapshot of Security Token holders and their respective balances at this moment

note this method is of type ProcedureMethodarrow-up-right, which means you can call create.checkAuthorization on it to see whether the Current Account has the required permissions to run it

Parameters:

Name
Type

Returns: Promise‹TransactionQueueCheckpoint››


get

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

Defined in src/api/entities/SecurityToken/Checkpoints/index.ts:94arrow-up-right

Retrieve all Checkpoints created on this Security Token, 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/SecurityToken/Checkpoints/index.ts:69arrow-up-right

Retrieve a single Checkpoint for this Security Token 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?