Skip to content
Logo

useOutputs

Usage

import {  } from "@cartesi/wagmi";
 
function () {
  const { ,  } = ({
    : "0x...",
    : 50,
    : 0,
    // ...other filters
  });
  const { : ,  } =  || {};
  // render logic
}

Filters

The hook can filter results by:

  • application: Address | string
  • epochIndex?: bigitn
  • inputIndex?: bigint
  • outputType?: OutputType
  • voucherAddress?: Address
import { type  } from "@cartesi/viem"

Return Type

The data is an array of Output:

import type {
  ,
  ,
  ,
} from "@cartesi/viem";

For more information about pagination refer to the pagination section.