Function rpcPool

  • Create new RpcPool with associated context, id and on chain primitive.

    Returns

    RpcPool

    Parameters

    • ctx: RpcContext<MetadataStorage<{
          __meta: "markets";
          categories: undefined | ({ name: string; img?: string | undefined; ticker?: string | undefined; color?: string | undefined; })[];
          confidentialId: undefined | string;
          description: string;
          img: undefined | string;
          question: string;
          scalarType: undefined | "number" | "date";
          slug: string;
          tags: undefined | string[];
      }>>

      RpcContext

    • poolId: number | u128

      number | u128

    • primitive: ZeitgeistPrimitivesPool

      ZeitgeistPrimitivesPool

    Returns RpcPool

Generated using TypeDoc