Skip to content

getAccount

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

Gets the code corresponding to the provided address.

Parameters

baseState: BaseState

skipFetchingFromFork?: boolean

Returns

Function

Parameters

address: EthjsAddress

Returns

Promise<undefined | EthjsAccount>

Source

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