Skip to content

GetAccountHandler

GetAccountHandler: (params) => Promise<GetAccountResult>

Gets the state of a specific ethereum address

Example

const res = tevm.getAccount({address: '0x123...'})
console.log(res.deployedBytecode)
console.log(res.nonce)
console.log(res.balance)

Parameters

params: GetAccountParams

Returns

Promise<GetAccountResult>

Source

packages/actions/src/GetAccount/GetAccountHandlerType.ts:12