scriptHashToAddress

Function
Converts a Hash160 script hash into a base58 encoded NEO Address.
export function scriptHashToAddress(scriptHash: string): AddressString 

Parameters

scriptHash
string
Hash160 string, a hex encoded string prefixed by '0x'.

Returns

base58 encoded string that represents a NEO address.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE