Function: brotherId()
brotherId():
StarknetPlugin<BrotherIdProviderMethods>
Defined in: src/plugins/brother-id/index.ts:180
BrotherId plugin - adds .brother domain resolution methods.
Returns
StarknetPlugin<BrotherIdProviderMethods>
Example
import { RpcProvider, brotherId } from 'starknet';
const provider = new RpcProvider({ plugins: [brotherId()] });
const name = await provider.getBrotherName('0x123...');