Pocket Network · Arazzo Workflow

Pocket Network Shannon Supplier and Gateway Survey

Version 1.0.0

List suppliers, drill into the first supplier, then list gateways for network context.

1 workflow 1 source API 1 provider
View Spec View on GitHub Web3BlockchainRPCDecentralized InfrastructurePocket NetworkGrovePATHShannonCosmosPOKTArazzoWorkflows

Provider

pocket-network

Workflows

shannon-supplier-gateway-survey
List suppliers, detail the first one, and list gateways.
Lists the supplier set, fetches the detail record for the first supplier by operator address, then lists the gateway set for network context.
3 steps outputs: gateways, supplier
1
listSuppliers
listShannonSuppliers
List every Supplier module entry and capture the operator address of the first supplier for a detail lookup.
2
getSupplier
getShannonSupplier
Read the full Supplier record for the first supplier returned by the list.
3
listGateways
listShannonGateways
List every Gateway module entry to pair the supplier detail with the gateways authorized to proxy relays.

Source API Descriptions

Arazzo Workflow Specification

pocket-network-shannon-supplier-gateway-survey-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Pocket Network Shannon Supplier and Gateway Survey
  summary: List suppliers, drill into the first supplier, then list gateways for network context.
  description: >-
    Surveys the relay-serving side of the Shannon network. It lists every
    Supplier module entry, drills into the first returned supplier by its
    operator address for full detail, and then lists every Gateway module entry
    so a consumer can see the suppliers that serve relays alongside the gateways
    authorized to proxy them. 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-supplier-gateway-survey
  summary: List suppliers, detail the first one, and list gateways.
  description: >-
    Lists the supplier set, fetches the detail record for the first supplier by
    operator address, then lists the gateway set for network context.
  inputs:
    type: object
    properties: {}
  steps:
  - stepId: listSuppliers
    description: >-
      List every Supplier module entry and capture the operator address of the
      first supplier for a detail lookup.
    operationId: listShannonSuppliers
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      suppliers: $response.body#/supplier
      firstSupplierAddress: $response.body#/supplier/0/operator_address
  - stepId: getSupplier
    description: >-
      Read the full Supplier record for the first supplier returned by the list.
    operationId: getShannonSupplier
    parameters:
    - name: address
      in: path
      value: $steps.listSuppliers.outputs.firstSupplierAddress
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      supplier: $response.body#/supplier
  - stepId: listGateways
    description: >-
      List every Gateway module entry to pair the supplier detail with the
      gateways authorized to proxy relays.
    operationId: listShannonGateways
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      gateways: $response.body#/gateway
  outputs:
    supplier: $steps.getSupplier.outputs.supplier
    gateways: $steps.listGateways.outputs.gateways