• Type Parameters

    • LockCodec extends Codec<any, any, any, any, LockCodec>

    • InputTypeCodec extends Codec<any, any, any, any, InputTypeCodec>

    • OutputTypeCodec extends Codec<any, any, any, any, OutputTypeCodec>

    Parameters

    • payload: {
          inputType: InputTypeCodec;
          lock: LockCodec;
          outputType: OutputTypeCodec;
      }
      • inputType: InputTypeCodec
      • lock: LockCodec
      • outputType: OutputTypeCodec

    Returns BytesCodec<{
        inputType?: UnpackResult<InputTypeCodec>;
        lock?: UnpackResult<LockCodec>;
        outputType?: UnpackResult<OutputTypeCodec>;
    }, {
        inputType?: PackParam<InputTypeCodec>;
        lock?: PackParam<LockCodec>;
        outputType?: PackParam<OutputTypeCodec>;
    }>

Generated using TypeDoc