Skip to content
Cive

getPoSAccount

Get the PoS account information

import {  } from "./client";
 
const  = await .({
  : "0x...",
});

Returns

PoSAccount

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,
});

JSON-RPC Method

pos_getAccount