getPoSAccount
Get the PoS account information
example.ts
import { publicClient } from "./client";
const PoSAccount = await publicClient.getPoSAccount({
address: "0x...",
});
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,
});