Stablecoin Wrapper API Workflow

A stablecoin is a fungible token that represents digital currency with built-in compliance enforcement.

The stablecoin scenario enforces know your customer (KYC) and anti-money laundering (AML) policies, transfer restrictions, and multi-party approvals. The system supports direct transfers and hold-based transfers, which require approval before the transfer occurs.

  • Minter, burner, and notary roles are required.
  • The account policy enforces KYC/AML and restriction flags.
  • The approval policy defines thresholds and sequential approver requirements for hold-based transfers.
  • Transfer restrictions are optional and can be configured at any time.
  • Approval policy matching is used to determine whether approvals are required when the holdTokens API is used.
  • Transaction history APIs support auditing and monitoring.

The following diagram shows a typical process flow when using the sample stablecoin wrapper APIs.