aps_build_contributor_query
Build a contributor query from a signed SettlementRecord and contributor DID to return per-axis data and signed record, enabling third-party verification of contributor share without trusting the gateway.
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 | |
| gateway_jwks | No | Advisory JWKS URL; not part of the signed material | |
| contributor_did | Yes | Contributor DID (data source, compute provider, governance signer, or protocol module identifier) |