Skip to content

setCoinbase

Sets the coinbase address to be used in new blocks.

Usage

import { testClient } from './client'
 
await testClient.setCoinbase({ 
  address: '0xe846c6fcf817734ca4527b28ccb4aea2b6663c79',
})

Parameters

address

The coinbase address.

await testClient.setCoinbase({
  address: '0xe846c6fcf817734ca4527b28ccb4aea2b6663c79', 
})