@midnight-ntwrk/onchain-runtime v0.2.2 • Readme | API
@midnight-ntwrk/onchain-runtime v0.2.2 / encodeContractAddress
Function: encodeContractAddress()
encodeContractAddress(addr): Uint8Array
Encode a ContractAddress into a Uint8Array
for use in Compact's
ContractAddress
type
Parameters
• addr: string
Returns
Uint8Array