Skip to content

putAccount

putAccount(baseState, skipFetchingFromFork?): (address, account?) => Promise<void>

Saves an account into state under the provided address.

Parameters

baseState: BaseState

skipFetchingFromFork?: boolean

Returns

Function

Parameters

address: EthjsAddress

account?: EthjsAccount

Returns

Promise<void>

Source

packages/state/src/actions/putAccount.js:5