@chorus-one/ethereum
Version:
All-in-one toolkit for building staking dApps on Ethereum network
9 lines (8 loc) • 388 B
TypeScript
import { PublicClient } from 'viem';
import { NetworkConfig } from './getNetworkConfig';
export type Queue = {
length: bigint;
fee: bigint;
};
export declare const getWithdrawalQueue: (ethPublicClient: PublicClient, config: NetworkConfig) => Promise<Queue>;
export declare const getWithdrawalQueueLength: (ethPublicClient: PublicClient, config: NetworkConfig) => Promise<bigint>;