Skip to content

getAccount

getAccount(baseState, skipFetchingFromFork?): (address) => Promise<undefined | EthjsAccount>

Gets the account corresponding to the provided address. Returns undefined if account does not exist

Parameters

baseState: BaseState

skipFetchingFromFork?: boolean

Returns

Function

Parameters

address: EthjsAddress

Returns

Promise<undefined | EthjsAccount>

Defined in

packages/state/src/actions/getAccount.js:9