Deprecated

This Splice documentation site is deprecated. Use the current Canton Network docs.

Open current docs

Token Standard APIs

API References

Refer to CIP-0056 for more context on the APIs.

Note

TODO(#4582): adjust the text here and below to reflect that there is a V2 version of the token standard APIs.

Token Metadata

Note that there is no V2 of the Token Metadata API, as the V1 API is reused across both V1 and V2 of the token standard.

Holding

This allows implementation of a Portfolio View.

Transfer Events

These are used by wallets to parse transfers from the Ledger API’s transaction history and display them in the wallet’s transaction history UI. They were newly added as part of the V2 token standard.

Transfer Instruction

This allows implementation of Direct Peer-to-Peer / Free of Payment (FOP) Transfers.

Allocation

This allows implementation of Delivery versus Payment (DVP) Transfer Workflows, jointly with the Allocation Instruction and Allocation Request APIs below.

Allocation Instruction

Allocation Request

Implementation Utilities

See the following package for converting between V1 and V2 API versions, and for default implementations of token standard choices.

Using token standard choices from custom Daml code

Comments