cartesi_listWithdrawals
Usage
import { } from "@cartesi/rpc";
const = ({ : "http://127.0.0.1:6751/rpc" });
const { , } = await .("cartesi_listWithdrawals", {
: "0x0974CC873dF893B302f6be7ecf4F9D4b1A15C366",
: 50,
: 0,
});Filters
The request can filter results by:
account_index: HexNumber
import { type } from "@cartesi/rpc";Return Type
The data is an array of Withdrawal:
import { type , type } from "@cartesi/rpc";For more information about pagination refer to the pagination section.