parsePDPProviders
parsePDPProviders(
data):OutputType
Defined in: packages/synapse-core/src/sp-registry/get-pdp-providers.ts:139
Parse the contract output into a PDPProvider array
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
data | { hasMore: boolean; providers: readonly object[]; } | The contract output from the getPDPProviders function getPDPProviders.ContractOutputType |
data.hasMore | boolean | - |
data.providers | readonly object[] | - |
Returns
Section titled “Returns”The PDPProvider array getPDPProviders.OutputType