Skip to content
RAGRAF

ragraf_contract_pin_sample

Edition: enterprise Capability: contract-pin Operation page: contract_pin_sample

What it does

Behaviour probe: what an operation actually returns, hashed without the volatile fields — the part a signature pin cannot see

What problem it solves

Takes an answer sample the contract is built from, instead of describing it from memory.

How to call it

ragraf_contract_pin_sample()
ragraf -p config/ragraf.yaml query contract_pin_sample

The ellipsis stands for a value the agent supplies; optional parameters can be omitted.

Parameters

Name Type Default
modestr'compare'
opstr''
limitint50
bystr''
notestr''
only_changedboolFalse
except_opsstr''

What it returns

mode, probes, scope, selected, state