Skip to content
Logo

getWithdrawal

Usage

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

Parameters

import type {  } from "@cartesi/viem";
// {
//  application: string | Address;
//  accountIndex: bigint;
// }

Return Type

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