ao-js-sdk - v0.0.9
    Preparing search index...

    Interface IGrantToken

    interface IGrantToken {
        grant(quantity: string, recipient?: string): Promise<boolean>;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Methods

    Methods

    • Grants tokens to a recipient address

      Parameters

      • quantity: string

        The amount of tokens to grant

      • Optionalrecipient: string

        The recipient address, defaults to the calling wallet address

      Returns Promise<boolean>

      Promise resolving to boolean indicating success