Skip to content
Logo

listInputs

Usage

import {  } from "viem";
import {  } from "@cartesi/viem";
 
const  = ({
    : ("http://127.0.0.1:6751/rpc"),
});
 
const { ,  } = await .({
    : "0x...",
    : 10,
    : 0,
    // epochIndex, sender (optional)
});

Parameters

import type {  } from "@cartesi/viem";
// {
//   application: Address | string;
//   epochIndex?: bigint;
//   sender?: Address;
//   transactionHash?: Hash;
//   limit?: number;
//   offset?: number;
//   descending?: boolean;
// }

Return Type

import type { , ,  } from "@cartesi/viem";
// ListInputsReturnType = {
//   data: Input[];
//   pagination: Pagination;
// }