Show / Hide Table of Contents

Blockchain.GetContract Method (byte[])

Returns the contract contents given a contract script hash.

Namespace: Neo.SmartContract.Framework.Services.Neo

Assembly: Neo.SmartContract.Framework

Syntax

public static extern Neo.SmartContract.Framework.Services.Neo.Contract GetContract(byte[] script_hash)

Parameters: Scripthash as a byte array of length 20.

Return Value: Contract .

Example


Back