Skip to main content

vault.transfer(Transfer)

Transfer tokens between addresses, scaling the human-readable amount using the token’s decimals.

Transfer Type Parameters

Returns

Usage

TypeScript

JavaScript

Example outputs

Before you transfer:
  • The token must be unpaused. New vault tokens start paused; the Vault Factory owner unpauses with Unpause Token.
  • The sender pays a transfer fee in PEAQ (minimum 1 PEAQ). Set the allowance first with Ensure Transfer Fee Allowance.
  • The recipient must be verified in the token’s Identity Registry (an identity with a KYC claim, topic 666) and the transfer must pass the token’s compliance modules, otherwise the call reverts with Transfer not possible.