UNPKG

@axiom-crypto/keystore-sdk

Version:

Keystore Rollup SDK

22 lines 697 B
import { AccountState, BlockTagOrNumber, Bytes32, Data, Hash, KeystoreAddress } from "../types"; export interface KeystoreAccount extends KeystoreAccountData, KeystoreAccountActions { } export interface KeystoreAccountData { address: KeystoreAddress; salt: Bytes32; dataHash: Hash; vkey: Data; } export interface KeystoreAccountActions { rlpEncode: () => Data; getNonce: (params?: { block?: BlockTagOrNumber; }) => Promise<bigint>; getBalance: (params?: { block?: BlockTagOrNumber; }) => Promise<bigint>; getState: (params?: { block?: BlockTagOrNumber; }) => Promise<AccountState>; } //# sourceMappingURL=keystoreAccount.d.ts.map