Skip to content
Logo

useInputs

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?: bigint
  • sender?: Address
  • transactionHash?: Hash
import type {  } from "@cartesi/viem";

Return Type

The data is an array of Input:

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

For more information about pagination refer to the pagination section.