aps_build_contributor_query
Generate per-axis proof data (total weight, contribution count, merkle path, axis root) from a signed SettlementRecord for a contributor DID, enabling third-party verification without trusting the gateway beyond its public key.
Instructions
Build a contributor-query response: given a signed SettlementRecord and a contributor DID, return per-axis (total_weight, contribution_count, merkle_path, axis_root) plus the full signed record so a third party can verify the contributor's share end-to-end without trusting the gateway beyond its public key. Returns null if the contributor has no share in the period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | No | A signed SettlementRecord | |
| contributor_did | Yes | Contributor DID (data source, compute provider, governance signer, or protocol module identifier) | |
| gateway_jwks | No | Advisory JWKS URL; not part of the signed material |