Docs
chromia.com

Function

getTransferStrategyRulesGroupedByStrategy

  • getTransferStrategyRulesGroupedByStrategy(
        queryable: Queryable,
    ): Promise<Map<string, Map<string, TransferStrategyRuleAmount[]>>>

    Fetches all transfer strategy rules, configured on the chain, grouped by strategies and assets

    The return type can be read as:

    Plain text
    Map<
        strategyName: string,
        Map<assetId: string, TransferStrategyRuleAmount[]>
    >

    where assetId will be "all" if a certain strategy accepts all assets

    Parameters

    • queryable: Queryable

      object to use when querying the blockchain

    Returns Promise<Map<string, Map<string, TransferStrategyRuleAmount[]>>>

    a map of transfer strategy rules grouped by strategies and assets.