ComputeQueryClient..::..ContractsByCode Method

Get all contracts that were instantiated from a code id.

Namespace:  SecretNET.Query
Assembly:  SecretNET (in SecretNET.dll)

Syntax


public Task<List<SecretContractInfo>> ContractsByCode(
	ulong codeId,
	Metadata metadata
)

Parameters

codeId
Type: UInt64
The code identifier.
metadata
Type: Metadata
The metadata.

Return Value

List<SecretContractInfo>.