Skip to content

getAccountFromProvider

private getAccountFromProvider(baseState): (address) => Promise<EthjsAccount>

Retrieves an account from the provider and stores in the local trie

Parameters

baseState: BaseState

Returns

Function

Parameters

address: `0x${string}`

Returns

Promise<EthjsAccount>

Source

packages/state/src/actions/getAccountFromProvider.js:11