Skip to main content

silverP2shAddress

@hardkas/core


@hardkas/core / silverP2shAddress

Function: silverP2shAddress()

silverP2shAddress(bytecodeHex, network): string

Defined in: packages/core/src/silverscript-abi.ts:46

The P2SH address of a contract's bytecode on a network ("simnet", "testnet-10", "mainnet"), from the SDK.

Parameters​

bytecodeHex​

string

network​

string

Returns​

string