aps_build_contributor_query
Build a contributor query response from a signed settlement record and contributor DID, returning per-axis weights, contributions, merkle paths, and signed record for third-party verification.
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 | Yes | 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) |