@arkade-os/sdk Documentation - v0.4.54
    Preparing search index...

    Function isVirtualCoin

    • Narrow a settle input to a virtual output.

      Type Parameters

      • T

      Parameters

      • input: T

      Returns input is T & VirtualCoin

      Keyed on script: it is required on VirtualCoin (so legacy and canonical shapes both have it) and absent from ExtendedCoin, which the optional canonical facts cannot claim.

      The typeof guard is load-bearing — settle accepts arknote strings, and in throws a TypeError on a primitive rather than returning false.