/Legal/GetSignedContracts

Gets smart contracts the account has signed.

JSON

Request
{
	"offset":Optional(Int(0 <= POffset <= 2147483647)),
	"maxCount":Optional(Int(0 < PMaxCount <= 2147483647))
}
Response (if successful)
{
	"Signatures":
	{
		"contractId":Required(Str(PContractId)),
		"legalId":Required(Str(PLegalId))
	}?[]
}

XML

Request
<GetSignedContracts xmlns="https://waher.se/Schema/BrokerAgent.xsd"
                    offset=(Optional(Int(0 <= POffset <= 2147483647)))
                    maxCount=(Optional(Int(0 < PMaxCount <= 2147483647))) />
Response (if successful)
<ContractSignaturesResponse xmlns="https://waher.se/Schema/BrokerAgent.xsd">
	<Signatures>
		<[
		<ContractSignature contractId=(Required(Str(PContractId)))
		                   legalId=(Required(Str(PLegalId))) />?[]
		]>
	</Signatures>
</ContractSignaturesResponse>

Input Parameters

Parameter Description
POffset Offset into the list where response begins.
PMaxCount Maximum number of contracts to return.

Response Parameters

Parameter Description
PContractId Identifiers of contracts that the account has signed.
PLegalId Legal identities used by account when signing corresponding contract.

Javascript Library

Use the following asynchronous method in the Javascript Library, to call this resource.

var Response = await AgentAPI.Legal.GetSignedContracts(Offset,MaxCount);
Test



Request Payload:

   

Response Payload: