@exromany/lido-csm-sdk
Version:
[](https://github.com/lidofinance/lido-csm-sdk/blob/main/LICENSE.txt) [](h
41 lines • 1.58 kB
TypeScript
import { CsmSDKModule } from '../common/class-primitives/csm-sdk-module.js';
import { CurrentFrameInfo, FrameConfig, FrameInfo } from './types.js';
export declare class FrameSDK extends CsmSDKModule {
private get oracleContract();
private get consensusContract();
getLastProcessedRefSlot(): Promise<bigint>;
getLatestBlock(): Promise<{
number: bigint;
hash: `0x${string}`;
nonce: `0x${string}`;
stateRoot: import("viem").Hash;
timestamp: bigint;
logsBloom: `0x${string}`;
baseFeePerGas: bigint | null;
blobGasUsed: bigint;
difficulty: bigint;
excessBlobGas: bigint;
extraData: import("viem").Hex;
gasLimit: bigint;
gasUsed: bigint;
miner: import("abitype").Address;
mixHash: import("viem").Hash;
parentBeaconBlockRoot?: `0x${string}` | undefined;
parentHash: import("viem").Hash;
receiptsRoot: import("viem").Hex;
sealFields: import("viem").Hex[];
sha3Uncles: import("viem").Hash;
size: bigint;
totalDifficulty: bigint | null;
transactionsRoot: import("viem").Hash;
uncles: import("viem").Hash[];
withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
withdrawalsRoot?: `0x${string}` | undefined;
transactions: `0x${string}`[];
}>;
getConfig(): Promise<FrameConfig>;
getInfo(): Promise<FrameInfo>;
getCurrentEpoch(): Promise<bigint>;
getCurrentFrame(): Promise<CurrentFrameInfo>;
}
//# sourceMappingURL=frame-sdk.d.ts.map