getPoSAccount
Get the PoS account information
import { } from "./client";
const = await .({
: "0x...",
});import { , } from "cive";
import { } from "cive/chains";
export const = ({
: ,
: (),
});Returns
The PoS account information object.
Parameters
address
- Type:
HexAddress
const PoSAccount = await publicClient.getPoSAccount({
address: "0x...",
});blockNumber (optional)
- Type:
bigint
const PoSAccount = await publicClient.getPoSAccount({
address: "0x...",
blockNumber: 1n,
});