Function: ethToSwarmAddress
Utils.ethToSwarmAddress
▸ ethToSwarmAddress(ethAddress
, networkId?
): OverlayAddress
Get swarm overlay address from public ethereum address and swarm network id
Parameters
Name | Type | Default value | Description |
---|---|---|---|
ethAddress | string | HexEthAddress | HexString <number > | undefined | Public ethereum address |
networkId | number | 1 | Swarm network id |
Returns
OverlayAddress
Swarm overlay address