Bitquery Tools
Bitquery Conditional Metrics
Aident Loadout के माध्यम से Bitquery Tools के साथ Bitquery Conditional Metrics का उपयोग करें। चलाने से पहले इनपुट, आउटपुट, सेटअप, मूल्य और जोखिम देखें।
राइट Actionजोखिम स्तर 2/5API कुंजी कनेक्शन
प्रदाता विवरण
Generate a Bitquery GraphQL metric snippet with an if condition for count, sum, avg, min, or max, for embedding in a query. The snippet can include a distinct field for counts, a post-aggregation filter, and an alias.
मूल्य और सीमाएँ
- मूल्य
- मुफ़्त Action
- एकीकृत भुगतान
- अभी समर्थित नहीं
इनपुट
- Conditional filter to apply to the metric via the 'if:' attribute. Uses nested object structure matching Bitquery GraphQL filter syntax. Example: {'Block': {'GasUsed': {'gt': '0'}}} or {'Transaction': {'Success': true}}.ifobjectआवश्यक
- GraphQL alias to prefix the metric output. Example: 'totalGas' produces 'totalGas: sum(...)'.aliasstring
- The field to aggregate using 'of:' in GraphQL. Required for 'sum', 'avg', 'min', 'max' operations. For 'count' operation, this field is ignored unless using distinct_field. Example: 'Block_GasUsed', 'Transaction_Value'.fieldstringआवश्यक
- Type of metric operation to apply. Options: 'count' (count rows), 'sum' (sum values), 'avg' (average), 'min' (minimum), 'max' (maximum).operationstringआवश्यक
- HAVING-style filter applied after aggregation via 'selectWhere:'. Useful for filtering aggregated results. Example: {'ge': '1000000'} to only include results >= 1000000.select_whereobject
- Field name for counting distinct values (only valid for 'count' operation). When provided, generates 'distinct: <field>' in the output. Example: 'Block_Number' to count distinct blocks.distinct_fieldstring
देखा जा सकने वाला आउटपुट
- Data from the action executiondataआवश्यक
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulbooleanआवश्यक
इस Action का उपयोग करने वाली Skills
संबंधित उपयोग के मामले
अभी कोई सत्यापित संबंधित उपयोग मामला लिंक नहीं है।