Function extractTransactionOutputTokenData

  • Given a transaction's outputs, extract all token data for token-aware validation. See CHIP-2022-02-CashTokens for details.

    Parameters

    • outputs: Output[]

      a list of transaction outputs

    Returns {
        outputImmutableTokens: ImmutableToken[];
        outputMintingCategories: string[];
        outputMutableTokensByCategory: MutableTokensByCategory;
        outputSumsByCategory: FungibleTokensByCategory;
    }

    an object containing outputImmutableTokens, outputMintingCategories, outputMutableTokensByCategory, and outputSumsByCategory. See CHIP-2022-02-CashTokens for details.

    • outputImmutableTokens: ImmutableToken[]
    • outputMintingCategories: string[]
    • outputMutableTokensByCategory: MutableTokensByCategory
    • outputSumsByCategory: FungibleTokensByCategory

Generated using TypeDoc