arazzo: 1.0.1 info: title: Pocket Network Shannon Service Economics summary: Read a service definition, the network tokenomics parameters, and total supply. description: >- Assembles the economic context around a single Shannon service. It reads the service definition (including its compute-unit pricing), then reads the global tokenomics parameters that govern mint and reward allocation, and finally reads the total POKT supply across every denom. Together these give a consumer the per-service pricing alongside the network-wide minting and supply figures needed to reason about relay economics. Each step spells out its request inline so the flow can be read and executed without opening the underlying OpenAPI description. version: 1.0.0 sourceDescriptions: - name: shannonRpcApi url: ../openapi/pocket-network-shannon-rpc-api-openapi.yml type: openapi workflows: - workflowId: shannon-service-economics summary: Chain a service definition with tokenomics parameters and total supply. description: >- Reads the service definition, then the global tokenomics parameters, then the total POKT supply to build the economic context for the service. inputs: type: object required: - serviceId properties: serviceId: type: string description: Service identifier (e.g. "eth", "solana", "base"). steps: - stepId: getService description: >- Read the service definition, including its compute-unit pricing. operationId: getShannonService parameters: - name: serviceId in: path value: $inputs.serviceId successCriteria: - condition: $statusCode == 200 outputs: service: $response.body#/service - stepId: getTokenomics description: >- Read the global tokenomics parameters governing mint ratio and reward allocation. operationId: getShannonTokenomicsParameters successCriteria: - condition: $statusCode == 200 outputs: tokenomicsParams: $response.body#/params - stepId: getSupply description: >- Read the total POKT supply across every denom for network-wide context. operationId: getShannonTotalSupply successCriteria: - condition: $statusCode == 200 outputs: supply: $response.body#/supply outputs: service: $steps.getService.outputs.service tokenomicsParams: $steps.getTokenomics.outputs.tokenomicsParams supply: $steps.getSupply.outputs.supply